Repository navigation
fix(release): match generated prompt fixture EOF - #1261
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7906e5302
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| ] | ||
| } | ||
| } No newline at end of file |
There was a problem hiding this comment.
Sign the commit before submitting it
When 4262dcb283c2e39f20becfb47744a5bf0f809ab8 is submitted as a PR commit, it will fail the required Commit Signatures policy because the commit object has no gpgsig header. Recreate this change in a signed commit and confirm GitHub displays it as Verified before merge.
AGENTS.md reference: AGENTS.md:L320-L323
Useful? React with 👍 / 👎.
The 0.9.12 release stopped in
verify-prompt-parity.sh:cmpreached EOF in the regeneratedproduction_vectors.jsonbefore reaching EOF in the checked-in fixture. Remove the fixture's single trailing LF to match the existingprompt-fixturesgenerator byte for byte.The seven pinned model manifests regenerate identical JSON values. The fixture changes from 1,735,980 to 1,735,979 bytes and now has SHA-256
ab9e5b090a66ce998454fa9720424d948fdb7e58bb4038d224018cdbe3dca293, matching the regenerated file. The strict comparison and every subsequent qualification gate remain in place.Failed release: https://github.com/Layr-Labs/d-inference/actions/runs/36649783805/job/109681100856
Before
flowchart LR G["prompt-fixtures: JSON without trailing LF"] --> C{"verify-prompt-parity.sh: cmp"} F["Committed fixture: JSON plus LF"] --> C C --> S["Qualification stops before provider tests"] classDef source fill:#dbeafe,stroke:#1d4ed8,color:#172554 classDef failed fill:#fee2e2,stroke:#b91c1c,color:#450a0a class G,F source class C,S failedAfter
flowchart LR G["prompt-fixtures: JSON without trailing LF"] --> C{"verify-prompt-parity.sh: cmp"} F["Committed fixture: identical bytes"] --> C C --> S["Continue to Swift, Go, Rust and load gates"] classDef source fill:#dbeafe,stroke:#1d4ed8,color:#172554 classDef passed fill:#dcfce7,stroke:#15803d,color:#14532d class G,F source class C,S passedBlue: generated and committed inputs. Red/green: qualification control flow.
Validation
cmd/promptfixtureinputand the source-matching Rustprompt-fixturesbinary.cmpagainst the regenerated fixture andgit diff --check: passed after the correction.go test ./coordinator/promptcontract -run '^TestProductionPlansConsumeSharedTokenVectors$' -count=1: passed.cargo +1.88.0 test --locked --manifest-path coordinator/promptsidecar/Cargo.toml --test shared_vectors production_plans_match_shared_token_vectors: passed (one test, zero ignored).make docs-impact-check BASE=origin/masterandmake docs-check: passed (324 documents).Documentation impact: fixture serialization only; no runtime, protocol, schema or configuration change. Full provider qualification and release publication remain separate gates. This PR does not move the existing release tag.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.