Fix pool session accounting drift#2076
Conversation
quad341
left a comment
There was a problem hiding this comment.
Thanks again @julianknutsen — nothing has changed on your end. The first rebase attempt hit a transient infrastructure hiccup on our side (the fix bot dropped its connection mid-run), not anything to do with the patch. The plan is identical: I'll rebase onto fresh main, preserve all three behavior fixes and the five regression tests exactly as you wrote them, re-run your targeted selector plus the full cmd/gc package and go vet, and ship it. No action needed from you — the accounting fixes and the test coverage are dialed in.
Review coverage:
- completed:
qwen codex - unavailable:
claude
e7783af to
66c7c34
Compare
Maintainer Adoption ReviewThanks for the contribution, @julianknutsen! This PR fixes pool session accounting drift in the reconciler, which matters because stale slot, alias, and template metadata should not cause Gas City to resume the wrong pool session or keep assigned work stuck behind inconsistent identity state. This PR was reviewed and adopted with maintainer fixes pushed directly to the PR branch. Original PR ReviewDecision: request_changes resolved to approve. Specific gaps fixed:
Review findings addressed:
Remaining non-gating notes:
Maintainer ChangesMaintainer fixes were pushed directly to the PR branch as the final reviewed stack:
Short diff stat: 7 files changed, 318 insertions(+), 19 deletions(-). Final Review StatusReady for the merge queue: final head CI: https://github.com/gastownhall/gascity/actions/runs/25909252933 Review Iterations2 review passes performed: the first pass requested changes for pool slot bounds and explicit route mismatch behavior, and the second pass validated those fixes plus the concrete identity, duplicate-slot, and alias drift guards. Adopted via |
Summary
This PR includes the prerequisite alias-consistency patch plus the three deployed reconciler accounting fixes from the integrated branch.
Verification
Runtime check