Repository navigation
Conversation
…the shared 500 MB one live_lifecycle_tests started sessions on the process-wide LIVE_BUDGET (67 MB each), and exhausted_live_par_budget_does_not_block_an_ordinary_article_write drained all of it, so 'cargo test live_' at full parallelism failed with StreamingMemoryLimit in tens of tests (lifecycle, capture, artwritercore, articledl, parlive). parlive::live_pool() now honours a test thread's own pool (parchecker::TEST_BUDGET_POOL, installed by the lifecycle Fixture and by the draining test). Test-only; production still uses LIVE_BUDGET. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
Codex Review Summary: ✅ CompletedThis 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. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
xbmc4lyfe
added a commit
that referenced
this pull request
Nov 27, 2026
…the shared 500 MB one (#742) live_lifecycle_tests started sessions on the process-wide LIVE_BUDGET (67 MB each), and two tests drained all of it (exhausted_live_par_budget_does_not_block_an_ordinary_article_write, exhausted_live_budget_does_not_bypass_a_foreign_certified_source), so 'cargo test live_' at full parallelism failed with StreamingMemoryLimit in tens of tests. parlive::live_pool() now honours a test thread's own pool (parchecker::TEST_BUDGET_POOL). Test-only; production still uses LIVE_BUDGET. Farm e4ed39e (same tree): x86_64 and arm64 cargo 0 / daemon 0; live_ x40 at 32 cores: 0 failures (before: 40 of 40). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM
Collaborator
Author
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.
Follow-up to #741:
cargo test live_at full parallelism failed withStreamingMemoryLimit("shared live PAR reservation") in tens of tests.Cause
parchecker::live_lifecycle_testsstart sessions on the process-wide 500 MBLIVE_BUDGET(67 MB each), so more than seven at once exhaust it.articledl::tests::exhausted_live_par_budget_does_not_block_an_ordinary_article_writedeliberately drains the whole shared pool, starving every other live test (capture, artwritercore, articledl, parlive write tests) while it runs. Its name containslive_, so it ran in the same filter.Change (test-only behaviour; production still uses
LIVE_BUDGET)parlive::live_pool()returns the shared pool, or in a test the pool installed for that thread (parchecker::TEST_BUDGET_POOL, acfg(test)thread-local).acquire_session_budgetandreserve_controldraw fromlive_pool().Fixtureinstalls a private 500 MB pool per test (cleared on drop); the draining test drains its own pool of the effective size.Evidence
live_filter, 40 runs): 40 of 40 runs failed, with 965 lifecycle failures in total plus capture, artwritercore, articledl and parlive failures. Moving only the lifecycle tests left the draining test's victims failing (37 of 40 runs).Deployment
Test-only change, no deployable artifact: no 6790 deploy applies.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LG44gYUGuwLMB2hw7HQGbM