8000 fix(spec-sync): pin snapshots to the selected commit by dominicnunez · Pull Request #324 · dominicnunez/codex-sdk-go · GitHub
[go: up one dir, main page]

Skip to content
8000

fix(spec-sync): pin snapshots to the selected commit - #324

Merged
dominicnunez merged 2 commits into
mainfrom
fix/spec-sync-immutable-snapshot
Nov 4, 2026
Merged

dominicnunez merged 2 commits into
mainfrom
fix/spec-sync-immutable-snapshot

Conversation

@dominicnunez
@dominicnunez dominicnunez commented Nov 4, 2026 •
Copy link
Copy Markdown
Owner

Spec sync selected a commit for its baseline but fetched mutable directory inventories and download URLs. An upstream advance could therefore publish different or mixed file versions under the earlier commit marker. All root/v1/v2 inventory requests now use the selected full commit SHA as their ref, and invalid selection values stop before inventory or publication. The returned commit-specific download URLs and existing baseline/PR metadata describe one snapshot.

The actual-workflow fixture executes the complete workflow from a private script file and covers a stable upstream and advances after commit selection, after inventory selection and between file downloads. Each revision has changed common files and distinct added/deleted files in all three directories. It verifies all API refs, six downloaded files and their contents, the baseline and PR metadata. Invalid commit values must leave the baseline and existing proposal intact without inventory or publication calls. Existing download-failure, pruning and line-ending coverage is retained.

Validation: all nine new cases failed before the fix while the 23 download-admission controls passed; all now pass. Formatting, module tidiness, build, vet, lint, ordinary/race suites, focused workflow tests and parsed workflow/shell/Python checks passed. Read-only queries using the real directory API operation verified commit-specific URLs for all 320 checked-in schema files. Independent review found no actionable issues. No live spec-sync workflow was run.

Closes #249

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Nov 4, 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-11-04T05:21:16.348644Z a873db7 New commits
🔒 Security Review ✅ Completed 2026-11-04T05:25:55.073104Z a873db7 Manual request
ℹ️ 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.

@dominicnunez
Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector
Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: a873db74e6

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@dominicnunez
dominicnunez merged commit 73be43f into main Nov 4, 2026
4 checks passed
@dominicnunez
dominicnunez deleted the fix/spec-sync-immutable-snapshot branch November 4, 2026 05:28
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.

fix: pin spec-sync inventories and downloads to the recorded commit

1 participant

0