Skip to content

Remove handling of legacy Session deletion markers - #799

Merged
SaladDay merged 1 commit into
mainfrom
remove-legacy-session-deletion-markers
Oct 20, 2026
Merged

SaladDay merged 1 commit into
mainfrom
remove-legacy-session-deletion-markers

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Session deletion is idle-only. DeleteSession holds the Session row lock and refuses a Session with queued, in-progress or waiting Turns or pending input. Admission takes the same lock and checks visibility. So no current path leaves a deleted Session with pending work, and that state could only come from markers committed by older releases.

  • Drop the ListExecutionWork clause that exempted non-queued Turns of deleted Sessions.
  • Delete the commitLegacyDeletion test helper and the tests or cases that only exercised such markers. The current path stays covered by the existing deletion and worker tests.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@SaladDay
SaladDay force-pushed the remove-legacy-session-deletion-markers branch from 4ec3199 to dfd1208 Compare October 20, 2026 07:04
@SaladDay
SaladDay merged commit d180cab into main Oct 20, 2026
19 checks passed
@SaladDay
SaladDay deleted the remove-legacy-session-deletion-markers branch October 20, 2026 07:08
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