Repository navigation
test(contracts): update request ID in ignore-unmatched 404 fixture - #2511
Conversation
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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
- Build each object fragment as a zero-filled Uint8Array instead of spreading 36 MB through number arrays, which was slow enough to time out on busy CI runners - Patch the segment header length to cover the zero-filled payload
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Main's Silo-Server#2511 regenerated contracts/api/v2/fixtures/ignore_unmatched_item_not_found.json, which was stale on main and failed TestContractFixtures here. Main's Silo-Server#2522 also lints new code more widely; its nestif check flagged episodeSeries, so the scope check moves into markInScope, unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Problem
Related issue: N/A
Validation tasks: none
The v2 contract fixture test fails on
mainfor the "ignore unmatched item not found" case. The fixture's expectedinstancerequest ID is out of date. The contract run gives requests sequential IDs, so when fixtures run before this one add requests, this fixture's ID changes. This most likely happened when #2438 and #2440 merged close together. This change updates the expected ID so CI passes again.Approach
Change the fixture's
instancefromurn:silo:request:0000000000000000000002fetourn:silo:request:000000000000000000000302, which is the ID the test run now produces. The problem body is otherwise unchanged. This affects test data only: no runtime code and no API contract change.Validation
Evidence
Evidence: none, no user-visible change
Risks
None identified. Because the fixture's ID depends on how many requests run before it, it will need updating again whenever earlier fixtures add or remove requests.
Checklist
AI Disclosure
Note
Update 404 fixture request ID and rebuild PGS large-object-budget test input
0002feto the value ending in0302PGSStreamParserlarge object-budget test in pgs.test.ts to build its input withUint8Arraychunks instead of spreading tens of megabytes into number arrays0302Macroscope summarized b926eb2.