fix(session): verify live messages clear before commit#1673
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Fixed the failing Root cause: the new regression test in I pushed a formatter-only follow-up commit:
Local validation:
Waiting for CI to rerun. |
|
Updated this PR to cover the remaining archive completion guard from issue #1487. What changed:
Local validation:
I also tried the targeted pytest selection locally, but this machine cannot load/build the native RAGFS/OpenViking artifacts ( |
d80ab03 to
e2d7cf9
Compare
|
Updated this branch again after Current head: What is preserved/fixed:
Local validation:
Local environment notes:
|
e2d7cf9 to
f113b69
Compare
|
Fixed the Root cause: the PR touched Follow-up changes:
Validation:
|
|
Fixed the remaining Root cause: the changed-file CI job runs Follow-up:
Validation:
|
|
Closing this from my side as superseded by the current main branch. The session commit path now already includes the live-message durability guard helpers such as live_message_count / _read_live_message_count and the schema cleanup, so this older branch is stale and conflicted against the current implementation. |
Summary
messages.jsonlimmediately after clearing it during commitValidation
./.venv/bin/python -m py_compile openviking/session/session.py tests/session/test_session_commit.pycommit_async()now raises and restores state when the livemessages.jsonlstays non-emptyragfs_python, and rebuilding it currently fails with anxcrunCommandLineTools architecture mismatch on this machineCloses #1487.