Skip to content

fix(journal): raise event ceiling with bounded runtime reads - #672

Open
solomonneas wants to merge 6 commits into
mainfrom
work/653-journal-ceiling
Open

fix(journal): raise event ceiling with bounded runtime reads#672
solomonneas wants to merge 6 commits into
mainfrom
work/653-journal-ceiling

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Summary

  • raise the lifecycle journal ceiling from 512 to 2048 events while keeping the 8 MiB byte bound
  • warn at 75% event usage and allow runs stopped at the old ceiling to recover and append from sequence 513
  • route runtime mutation and control paths through the shared bounded reader
  • store the measurement artifact, correct its headroom arithmetic, and fail closed on unreadable or incomplete inputs

Why

Measurements showed that event count reaches the old ceiling well before journal bytes become binding. Raising the shared event bound preserves the current single-file journal design while the 75% warning gives operators time to react before append refuses a transition.

Verification

  • journal, measurement, lifecycle, and shadow suites: 193 passed on the code-equivalent tree before the documentation-only docs(contributing): document enforced merge grading gate #667 merge, receipt 20260802-013725-work-verify-512672
  • ./scripts/verify: passed on that tree, receipt 20260802-013803-work-verify-1820ab
  • independent review reported no blocking findings and identified 2 test-hardening changes that are included in the final branch

Closes #653
Closes #635

@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 0067e422-7025-4d5f-af97-8e295485a264

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@solomonneas solomonneas self-assigned this Aug 2, 2026
Co-authored-by: Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant