Repository navigation
Give codec-native-build's release compile a 6 GiB bound (#781) - #782
Merged
Merged
Conversation
The bounded optimized build for deadline health ran in a 4 GiB container. Its comment said the compile peaks near 2 GiB; measured with CI's flags in an exact 4 GiB container it peaks at 3.99 GB on main before #776 and 4.06 GB after, within about 6% of the cap, and attempt 1 of #776's exact-head run lost rustc to SIGKILL. The bound becomes 6 GiB, still one job at a time, and build.json records it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Member
Author
|
Security review: clear at exact head 7e3b1dd (tree f486727e366a8a20e9c3440afcdb6e7d8fbbb7e3).
No product/runtime source, credential, access-control, or secret-handling surface changed. No Security hold remains on this exact head. |
Member
Author
|
Merge receipt.
🤖 Generated with Claude Code |
This was referenced Oct 26, 2026
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.



Addresses #781.
codec-native-buildbuilds the bounded optimized server artifact for deadline health. It ran in a container capped at 4 GiB with no swap (--cpus=1 --memory=4g --memory-swap=4g, one cargo job).Measured. I ran local release builds with CI's flags (
--release --locked, jobs 1, incremental off, release debug 0) in an exact 4 GiB container on the same compiler image. Both builds completed:memory.peakwas 3,994,550,272 B.That is within about 6% of the cap. Attempt 1 of #776's exact-head run (40321678938) lost this job's final rustc to signal 9, with no compiler diagnostic; its single rerun passed. The script's comment ("peaks near 2 GiB") was stale.
Change. The bound becomes 6 GiB, still with no swap and one job at a time, so it still means one rustc.
build.jsonrecords the newmemory_bytes. The standard hosted runner has 16 GB, and this job runs only this container. Nothing else reads the recorded bound.This is a CI script change only; product source is untouched.
🤖 Generated with Claude Code