Repository navigation
fix(biometrics): reject oversized bundle entries before writing and bad --jobs values before replaying - #841
Merged
Merged
Conversation
…ad --jobs values before replaying
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
7 tasks done
ng
enabled auto-merge
October 18, 2026 01:36
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CodeRabbit reviewed #837 directly once its base became
dev, and the review landed just after #837 merged. Three findings are valid; this PR fixes them.What
extractBundlechecks size limits before writing. It now applies the per-role size limit (RAW 256 MiB, text 16 MiB) before streaming an entry to disk. Previously a schema-valid tar could fill the disk beforeverifyBundlerejected it (CodeRabbit: Major).--jobsis validated first. It must be a positive whole number and is checked before any extraction. Previously--jobs fourproduced zero worker slots and a confusing "Missing replay output" error.--include-holdout, but the parity refusal and thefitCandidatesdoc comment still said they never were.Declined: moving
exportDatasetto the coordinator'sworklane. That lane also runs backtest replays, which last up to hours on Pod 5, so an export would wait behind them. The export's hash pass holds the read lane only for seconds (about 430 MB), and the HTTP route already allows one export at a time.Test plan
--jobsvaluesfour,4x,0and1.5are rejected before extraction; parity holdout messagevitest scripts/biometrics-local-fit(17),tsc --noEmit, eslint🤖 Generated with Claude Code
🛏️ Beam this PR onto a sleepypod ✨
Pick the snippet that matches your pod. Already-installed pods can't use the curl bootstraps below — sleepypod's egress firewall DROPs github.com, and the script that knows how to unblock WAN is the very file curl is trying to fetch. Use
sp-updateinstead; it's on disk and opens WAN as its first step.🔄 Already on a sleepypod (most common — review a PR on a running pod):
🚀 Fresh pod / first install — bootstraps from GitHub, rebuilds every push:
curl -fsSL https://raw.githubusercontent.com/sleepypod/core/fix/local-fit-review-followups/scripts/install \ | sudo bash -s -- --branch fix/local-fit-review-followups🎯 Pin to this exact build (run 39087121147 ·
251683a) — fresh-pod path, locked to one CI artifact for reproducible review:🧊 Artifact:
sleepypod-core· self-destructs in 30 days 💥