Repository navigation
[release/11.0.1xx] Address reviewed PoliCheck terminology findings - #27089
rolfbjarne merged 1 commit into
Conversation
## Summary - Update 14 editable comments/XML documentation sentences with country/region, Bangla/Odia and block-list terminology, including the directly associated wording corrections. - Remove only the optional nickname from two certificate attribution comments. Keep Quinn's attribution, the original links and all quoted technical text. - Rename 25 exact `AssemblyDefinition` identifier tokens from `ass` to `assembly` in internal `mono-api-info` helpers. Preserve all other tokens, whitespace, literals and XML output. - Add exactly 30 observed, fingerprint-specific false-positive records to the existing `tools/devops/governance/suppress.gdnsuppress`. Each full fingerprint has its own API/technical-context justification; every new `alternativeSignatures` list is empty and every new record belongs to the existing default set. ## Why the 30 fingerprint-specific records retain their original text The individual justifications are included beside each fingerprint in the suppression file: | API or technical context | Records | Reason to retain the text | | --- | ---: | --- | | Address/metadata selectors, properties, enum members, dictionary keys and documentation/sample references | 13 | Preserve the existing Apple bindings, public names, key mappings and resolvable documentation/code references. | | Established deprecated or native-backed block/allow-list-related API names | 6 | Preserve the exact native selectors/constants, managed identifiers, getter bindings, numeric enum values and flags. Editable narrative terminology is changed separately. | | SpriteKit path orientation and WebKit overflow orientation | 6 | `orient` describes positioning/overflow, not geography. Existing selectors, public parameter names, properties and XML parameter references remain compatible. | | NaturalLanguage language/script identifiers | 2 | Preserve `Bengali`/`Oriya` public members and Apple's corresponding native language/script constants while using Bangla/Odia in editable language summaries. | | CoreText typography descriptions | 2 | “Capitals” and “capital numbers” refer to uppercase/decorated glyphs and numeral case, not geographic capitals. | | Shell permission syntax | 1 | “Capital X” distinguishes the uppercase `chmod u+wX` flag and accurately explains directory traversal versus file executability. | No broad rule, term or path exclusions are added, and no alternative fingerprints are invented. ## Compatibility and preservation - Public APIs, native attributes/selectors/constants, enum values/order, parameter names, `cref`/`altmember` targets and sample-code references are unchanged. - All 14 existing suppression records, including the four prior Severity 1 records, are preserved. Existing record-object bytes, root metadata and suppression-set configuration are unchanged. - The separate secure-RNG change already on current `main` is retained; this PR changes only the reviewed terminology/identifier/suppression scope. ## Validation Static checks against the freshly fetched `main` baseline verified: - The exact 14 intended prose edits, with the rest of those files unchanged relative to the new baseline; native mappings, documentation references, attribution, links and technical quotations preserved. - Complete lexical equivalence for the helper file except for the 25 intended identifier tokens, with no naming collisions in the reviewed internal scopes. - JSON parsing with duplicate-key rejection; the exact 30 reviewed added fingerprints and individual record contents; all baseline records and metadata preserved. - Exactly 12 changed files, 307 additions and 37 deletions; working-tree, staged and committed whitespace checks passed. No builds, compilation, tests, PoliCheck/Guardian scans, or manual CI queue/reruns were performed. This is targeted cleanup, not a fresh-clean-scan or full-compliance assertion. > [!NOTE] > Generated with GitHub Copilot. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: ae5d539e-066a-48db-a7ab-feb2d684ab54
There was a problem hiding this comment.
🟢 Approval recommended
The narrow changes preserve behavior and API compatibility; the remaining description mismatch is a non-blocking documentation correction.
1 open issue
What changed in this PR
Backports #26962’s targeted PoliCheck cleanup to the release branch while preserving public Apple bindings and runtime behavior.
Changes:
- Updates 12 documentation/comment passages with revised terminology and wording.
- Renames 25 internal
AssemblyDefinitionidentifier tokens without changing behavior or XML output. - Adds 32 fingerprint-specific suppressions, including two for retained certificate attributions.
| File | Description |
|---|---|
tools/devops/governance/suppress.gdnsuppress |
Adds narrowly scoped, individually justified suppressions. |
tools/api-tools/mono-api-info/mono-api-info.cs |
Renames internal assembly identifiers. |
src/uikit.cs |
Corrects text-field documentation wording. |
src/passkit.cs |
Updates geographic and block-list terminology. |
src/NaturalLanguage/Enums.cs |
Uses Bangla/Odia in language summaries. |
src/corespotlight.cs |
Updates geographic terminology and corrects a typo. |
src/corelocation.cs |
Updates placemark summary terminology. |
src/AddressBookUI/ABAddressFormatting.cs |
Updates parameter documentation terminology. |
src/AddressBook/ABPerson.cs |
Updates address-property summary wording. |
src/addressbook.cs |
Updates address-key summaries. |
runtime/xamarin-support.m |
Updates a locale fallback comment only. |
Review effort: Balanced
| "memberOf": [ | ||
| "default" | ||
| ], | ||
| "justification": "PoliCheck 79647 contextual false positive: the PKCS#12 bug-confirmation attribution in src/Security/Certificate.cs preserves Quinn's self-chosen Apple Developer Forums signature, as used in the linked reply (https://forums.developer.apple.com/forums/thread/31711). This is a proper-name attribution, not a reference to an ethnic group; retain the original name and technical quotation.", |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #444c5b5] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 269 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |

Summary
AssemblyDefinitionidentifier tokens fromasstoassemblyin internalmono-api-infohelpers. Preserve all other tokens, whitespace, literals and XML output.tools/devops/governance/suppress.gdnsuppress. Each full fingerprint has its own API/technical/attribution-context justification; every newalternativeSignatureslist is empty and every new record belongs to the existing default set.Why the 32 fingerprint-specific records retain their original text
The individual justifications are included beside each fingerprint in the suppression file:
orientdescribes positioning/overflow, not geography. Existing selectors, public parameter names, properties and XML parameter references remain compatible.Bengali/Oriyapublic members and Apple's corresponding native language/script constants while using Bangla/Odia in editable language summaries.chmod u+wXflag and accurately explains directory traversal versus file executability.No broad rule, term or path exclusions are added, and no alternative fingerprints are invented.
Compatibility and preservation
cref/altmembertargets and sample-code references are unchanged.mainis retained; this PR changes only the reviewed terminology/identifier/suppression scope.Validation
Static checks against the
mainbaseline and the attribution follow-up verified:No builds, compilation, tests, PoliCheck/Guardian scans, or manual CI queue/reruns were performed. This is targeted cleanup, not a fresh-clean-scan or full-compliance assertion. Matching of the restored attributions still needs confirmation in the next scan.
Note
Generated with GitHub Copilot.
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com
Copilot-Session: ae5d539e-066a-48db-a7ab-feb2d684ab54
Backport of #26962.