Skip to content

test: the model-switch test runs without scheduled backups - #343

Merged
varun369 merged 2 commits into
mainfrom
fix/switch-test-no-backups
Nov 20, 2026
Merged

varun369 merged 2 commits into
mainfrom
fix/switch-test-no-backups

Conversation

@varun369

Copy link
Copy Markdown
Member

The model-switch end-to-end test erases a memory mid-switch. When the daemon's first scheduled backup lands before that erase, the snapshot still holds the memory and the delete answers "busy, retry" (#342), so the test fails depending on timing. The test is about model switching, so its daemon now runs with scheduled backups off. #342 tracks the delete behaviour itself.

Test plan

  • Full suite on rc/4.2.32-ci is green

🤖 Generated with Claude Code

varun369 and others added 2 commits November 21, 2026 00:54
… follows the runner's own idle time

slm tool quiets the superlocalmemory logger for its process; run in-process
by a test, the WARNING level stayed for later tests in the worker, so a
caplog INFO assertion failed depending on test order (PR #343 shard 1).
An autouse fixture now restores root and superlocalmemory levels.

The health-pane load test failed at 6.31 s against a fixed 6 s on a slow
runner without any request queuing. Each request is now bounded by 3x its
idle time on the same machine plus 1 s, between 6 s and the 9 s the
queuing bug took.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@varun369
varun369 merged commit 87e80e9 into main Nov 20, 2026
7 checks passed
@varun369
varun369 deleted the fix/switch-test-no-backups branch November 20, 2026 20:49
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