Skip to content

Record a CLI run in history after the LAVA file is written - #233

Merged
abrignoni merged 1 commit into
mainfrom
fix/record-recent-run-after-lava-finalize
Sep 20, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/record-recent-run-after-lava-finalize

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Records a CLI run in the recent-run history after the LAVA file exists.

record_recent_run returns early when the .lava file is not on disk. The CLI called it inside crunch_artifacts, which runs before lava_finalize_output writes that file, so no CLI run was ever recorded. GUI runs were recorded, because vleappGUI.py already does it in the right order.

Captures the crunch result, records after finalize, and gates on success, matching the GUI.

Measured with an isolated HOME on a real run: 0 runs recorded before, 1 after.

Found by @JamesHabben in abrignoni/iLEAPP#2232.

🤖 Generated with Claude Code

record_recent_run returns early when the .lava file is not on disk. The
CLI called it inside crunch_artifacts, which runs before
lava_finalize_output writes that file, so no CLI run was ever recorded.
GUI runs were recorded, because vleappGUI.py already does it in the right
order.

Capture the crunch result, record after finalize, and gate on success,
matching the GUI.

Measured with an isolated HOME on a real run: 0 runs recorded before,
1 after.

Found by James Habben in abrignoni/iLEAPP#2232.

Co-Authored-By: James Habben <6327329+JamesHabben@users.noreply.github.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit be7db41 into main Sep 20, 2026
7 checks passed
@abrignoni
abrignoni deleted the fix/record-recent-run-after-lava-finalize branch September 20, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant