Skip to content

test(cli): reset session export eligibility after tests - #13228

Merged
marius-kilocode merged 1 commit into
mainfrom
stabilize-flaky-test
Aug 19, 2026
Merged

test(cli): reset session export eligibility after tests#13228
marius-kilocode merged 1 commit into
mainfrom
stabilize-flaky-test

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

The session export eligibility tests mutate a process-wide kill switch. The final kill-switch case left that state enabled, so later tests in the shared fast-tier process rejected eligible capture requests and waited for baseline events that could never be emitted.

Reset eligibility after every test that can mutate it. The suite still resets before each case for a known starting state, while teardown now ensures the test file does not leak its state to other files. This keeps session export tests safe to run together in one process without increasing timeouts or making unrelated tests compensate for foreign state.

@kilo-code-bot

This comment has been minimized.

@marius-kilocode
marius-kilocode merged commit 276527f into main Aug 19, 2026
30 checks passed
@marius-kilocode
marius-kilocode deleted the stabilize-flaky-test branch August 19, 2026 10:13
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.

2 participants