Skip to content

fix(release): match generated prompt fixture EOF - #1261

Merged
Gajesh2007 merged 1 commit into
masterfrom
fix/release-prompt-fixture-newline
Sep 30, 2026
Merged

Gajesh2007 merged 1 commit into
masterfrom
fix/release-prompt-fixture-newline

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

The 0.9.12 release stopped in verify-prompt-parity.sh: cmp reached EOF in the regenerated production_vectors.json before reaching EOF in the checked-in fixture. Remove the fixture's single trailing LF to match the existing prompt-fixtures generator 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 failed
Loading

After

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 passed
Loading

Blue: generated and committed inputs. Red/green: qualification control flow.

Validation

  • Regenerated all seven pinned manifests through cmd/promptfixtureinput and the source-matching Rust prompt-fixtures binary.
  • Verified that the original file equals the generated bytes plus exactly one LF; parsed JSON is identical.
  • cmp against the regenerated fixture and git 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/master and make 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.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 30, 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 30, 2026 12:31am UTC
d-inference-console-ui-dev Ready Ready Preview Sep 30, 2026 12:31am UTC
d-inference-landing Ready Ready Preview Sep 30, 2026 12:31am UTC
eigen-homepages-darkbloom Ready Ready Preview Sep 30, 2026 12:31am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 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-30T00:33:13.662489Z b7906e5 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
Gajesh2007 merged commit 0c17ce6 into master Sep 30, 2026
23 of 25 checks passed
@Gajesh2007
Gajesh2007 deleted the fix/release-prompt-fixture-newline branch September 30, 2026 00:31

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

This branch was successfully deployed

4 active deployments
Preview – d-inference — b7906e53 Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — b7906e53 Deployed Sep 30, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — b7906e53 Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference-landing — b7906e53 Deployed Sep 30, 2026 by vercel[bot]
benchmarks — b7906e53 Deployed Sep 30, 2026 by Gajesh2007 via E2E Benchmarks #1932
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.

2 participants