Skip to content

fix(runtime): recycle session locks and harden nil maps#4

Merged
phantom5099 merged 1 commit into
mainfrom
fork-pr-244-1776069116
Apr 13, 2026
Merged

fix(runtime): recycle session locks and harden nil maps#4
phantom5099 merged 1 commit into
mainfrom
fork-pr-244-1776069116

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 13, 2026

Copy link
Copy Markdown

Requested by @phantom5099

Summary

  • Add lazy initialization for runtime run-cancel map to avoid nil-map panic in startRun
  • Refactor session lock management to reference-counted entries and reclaim lock records when no longer used
  • Update Run/Compact lock lifecycle and runtime tests, including lock cleanup regression coverage

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: phantom5099 <245659304+phantom5099@users.noreply.github.com>
@phantom5099 phantom5099 merged commit f4b99db into main Apr 13, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-244-1776069116 branch April 13, 2026 08:39
phantom5099 pushed a commit that referenced this pull request Apr 20, 2026
test: raise patch coverage for gateway runtime migration
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