Skip to content

fix(session): release task slots before cleanup on session reset (#33)#49

Merged
randomm merged 1 commit intodevfrom
fix/issue-33-orphaned-task-slots
Jan 26, 2026
Merged

fix(session): release task slots before cleanup on session reset (#33)#49
randomm merged 1 commit intodevfrom
fix/issue-33-orphaned-task-slots

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Jan 26, 2026

Summary

  • Release all task slots before deleting reservedTaskSlots map during cleanup
  • Use snapshot of pendingTaskMetadata to avoid race conditions during iteration
  • Add error logging for slot cleanup failures

Fixes #33

@github-actions
Copy link

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@randomm randomm merged commit b7f410c into dev Jan 26, 2026
1 of 3 checks passed
@randomm randomm deleted the fix/issue-33-orphaned-task-slots branch January 26, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant