Repository navigation
Share provider release signing checks and safely encode tag metadata - #924
Gajesh2007 wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
The release workflow duplicated weaker versions of the signing-validation checks: it accepted unrelated app identifiers, ignored the macOS identifier key, and only warned about missing profile expiry. Both workflows now use the existing parsed profile and signed CLI entitlement validators. Release registration also reads tag text as environment data when encoding JSON, so quotes, backslashes and multiline notes retain their values.
This removes 99 lines from the release workflow while preserving its build, signature verification, runtime smoke, notarization and publication order. Invalid profile identities and missing expiry now stop the release path before signing; both debug-task entitlement spellings are checked on the signed CLI. No release was dispatched or published.
flowchart LR subgraph Before P[Decoded profile] --> W[Inline release validator: weaker identity and expiry checks] S[Signed CLI] --> G[Separate grep and PlistBuddy checks] T[Tag text] --> I[Interpolate into Python source] I --> F[Quoted notes can break JSON generation] end subgraph After P2[Decoded profile] --> V[provider-signing-validation.py profile] S2[Signed CLI] --> C[provider-signing-validation.py cli-entitlements] V --> N[Existing signing and notarization sequence] C --> N T2[Tag text] --> E[Environment values and json.dumps] E --> R[Valid registration JSON with original note text] endValidation: nine signing-helper tests and two workflow fixture tests pass. The workflow fixtures exercise seven profile scenarios and two tag-text scenarios; five assertions fail against master and pass with this change. They execute only profile/payload steps with local CMS fixtures, with no signing, model execution, network request or publication. YAML and changed shell steps parse; docs lint passes (278 pages). Release Integrity CI now runs these checks.