Refactor snapshot bookkeeping into wrapper; add test output .gitignore#108
Merged
Conversation
Owner
Author
|
@codex review Focus on bugs, correctness issues, and edge cases. Do not check adherence to a spec or plan. |
|
Codex Review: Didn't find any major issues. Another round soon, please! ℹ️ 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". |
…nore Extract paired pop_snapshot/snapshot_ch calls from close_tree into a with_snapshot_bookkeeping wrapper, making the save/restore boundary structural rather than positional. This prevents future regressions of the class of bug fixed in PR #104 (snapshot_ch placed between main output and TOC output). Also add .gitignore patterns for generated test debug output files (debugger_*_debug*, *.raw) that were showing up as untracked. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
521b06e to
ee44932
Compare
Owner
Author
Retrospective — task-45c21e19What went well
What I'd do differently next time
Possible follow-up improvements
|
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.
Summary
pop_snapshot()/snapshot_ch()calls fromclose_treeinto awith_snapshot_bookkeepingwrapper in the PrintBox functor, making the save/restore boundary structural rather than positional (prevents regressions of the PR Fix toc file truncation during snapshot_every_sec #104 bug class).gitignorepatterns (debugger_*_debug*,*.raw) for generated test debug output files that were showing up as untrackedTest plan
dune buildcompiles successfullydune runtestpasses — all existing tests confirm behavior is preserved🤖 Generated with Claude Code