fix: harden bounded bulk cold reads - #466
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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Relayfile Eval ReviewRun: Passed: 4 | Needs human: 0 | Reviewable: 0 | Missing output: 0 | Failed: 0 | Skipped: 0 Human Review CasesNo reviewable human-review cases captured Relayfile output. |
There was a problem hiding this comment.
💡 Codex Review
relayfile/internal/mountsync/syncer.go
Lines 7346 to 7348 in cf5c0ea
On a mixed bootstrap page containing both a declared-over-32-MiB file and a smaller file, an older server returning 501 bulk_read_unsupported reaches this branch only after the oversized pointJobs have already been downloaded. Falling back with the complete jobs slice downloads those large files a second time, potentially doubling substantial bootstrap bandwidth and latency; retain the completed point results and point-read only bulkJobs here.
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
All reported issues were addressed
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
Fresh review fix pushed as |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 163852adc0
ℹ️ 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".
|
@codex review |
|
Follow-up review fixes pushed: |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1197045b85
ℹ️ 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".
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b40d03b11a
ℹ️ 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".
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 653c4c427f
ℹ️ 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".
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f42bb4fbbb
ℹ️ 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".
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 14b127cb19
ℹ️ 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".
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
|
@codex review |
|
@cubic-dev-ai review |
@khaliqgant I have started the AI code review. It will take a few minutes to complete. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Final exact-head evidence: Relayfile 0b80548 and Cloud PR #186 49529fa5bbc33a819826dd356cd08133e84ed908 were validated locally. Relayfile full Go tests, focused/race mountsync tests, HTTP ACL regression, contract, and diff checks passed. Cloud tests passed: 58 files / 1052 tests, typecheck, and 6 targeted ACL target/ancestor tests. Clean Workerd candidate qualification was GREEN for 851 files / 454 directories / 270532608 bytes (258 MiB), manifest SHA256 905968a14268ec5e8ec38ae1d6b24749e855cac035976a87a65ef43f6612a55a; standard/concurrent/retry/unsupported-path hashes verified and cleanupVerified=true. Fresh Daytona retry created no sandbox: provider rejected creation before allocation with exact Total CPU limit exceeded. Maximum allowed: 250. Generated name relayfile-cold-mount-qual-20260905T230008Z-27553 was verified Not Found afterward; no sandbox ID or unrelated resources were deleted. |
|
Fresh exact-head Daytona qualification (Relayfile abcc063 + Cloud PR #186 49529fa5bbc33a819826dd356cd08133e84ed908) is GREEN. Sandbox 5e504b9a-e2c4-40a5-9032-76982c55eeaf (relayfile-cold-mount-qual-20260906T001802Z-92930) used mount linux-amd64 artifact SHA256 573a1595f7014d85e8e23bf3df214da0205dbd8cf31156f5bdfebef4d959f007 and cloud npm-pack SHA256 04a7e9365cda1b702fc22aac96012e24bb8df33b0d6844e7b1a812d5c68db1af. Fixture exactly 851 files / 454 directories / 270532608 bytes, manifest SHA256 905968a14268ec5e8ec38ae1d6b24749e855cac035976a87a65ef43f6612a55a. Initial standard: 32 requests (28 bulk, 0 point), all 3 mount hashes verified; wall 15780ms, CPU 7000ms. Suite: wall 150492ms, CPU 77000ms, peak RSS 1791627264 bytes. Injected 429/503/reset retries all succeeded with verified hashes; malformed response was expected-failure; 501 unsupported fallback succeeded with 851 point reads and verified hashes. Exact cleanup verified: daytona info returned Not Found for the ID, inventory (154 entries, no matching ID/name) had no target, and local build scratch cleanup was verified. |
Repairs review findings for #465 / #464.
Evidence: go test ./..., go test -race ./internal/mountsync ./internal/httpapi, go vet ./..., ./scripts/check-contract-surface.sh, git diff --check, and Daytona candidate qualification green.
Does not merge #465; merge remains operator-gated.