Skip to content

Share provider release signing checks and safely encode tag metadata - #924

Closed
Gajesh2007 wants to merge 2 commits into
masterfrom
refactor/release-validation
Closed

Gajesh2007 wants to merge 2 commits into
masterfrom
refactor/release-validation

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

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]
  end
Loading

Validation: 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.

@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Sep 11, 2026 11:51pm UTC
d-inference-console-ui-dev Ready Ready Preview Sep 11, 2026 11:51pm UTC
d-inference-landing Ready Ready Preview Sep 11, 2026 11:51pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-11T23:54:02.222316Z 35d8c5a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Gajesh2007

Copy link
Copy Markdown
Member Author

Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head 35d8c5ae64c4b95edfd70792cdc5ca014d4cd17a is preserved in aggregate 9d2160bb370e8a0dbf3810e61a5e48fe66345651, along with the relevant review fixes. Continue review and merge at #1096 (after provider #1094 and web #1095). Closing this duplicate merge path; the source branch and review history are retained.

@Gajesh2007 Gajesh2007 closed this Sep 16, 2026

This branch had an error being deployed

1 failed and 3 active deployments
Preview – d-inference — 35d8c5ae Deployed Sep 11, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 35d8c5ae Deployed Sep 11, 2026 by vercel[bot]
Preview – d-inference-landing — 35d8c5ae Deployed Sep 11, 2026 by vercel[bot]
benchmarks — 35d8c5ae Deployed Sep 11, 2026 by Gajesh2007 via E2E Benchmarks #989
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant