Skip to content

fix(gateway): reclaim orphan task pins on each node - #2235

Merged
deeeed merged 2 commits into
mainfrom
fix/node-orphan-pin-retention
Nov 15, 2026
Merged

deeeed merged 2 commits into
mainfrom
fix/node-orphan-pin-retention

Conversation

@abretonc7s

@abretonc7s abretonc7s commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Node-created task pins were absent from the gateway-only retention sweep, leaving 48 GiB of orphan inputs on one node.

Extend hourly retention to each node with the shared eligibility predicate. Inspect at most 32 pins and remove at most 8 per pass, rotating the cursor. Keep existing task directories, unarchived/replayable owners, parked work and unreadable provenance. Fence staging against admission/replay; purge outside the fence and preserve interrupted staging.

Validation: 42 focused Node 22 tests, five affected boundary suites, gateway typecheck and quality gates passed. Cancelled/done ownership regressions fail before the fix and pass after it. Private run 81fe8e6b-f3f3-4b14-808a-ee449bf0d067 passed write-task, prepare and dispatch, then was cancelled and archived. Post-deploy proof will compare two nodes' pin inventories and verify zero active/parked pins removed.

@abretonc7s
abretonc7s marked this pull request as ready for review November 15, 2026 19:40
@abretonc7s
abretonc7s requested a review from deeeed as a code owner November 15, 2026 19:40
@deeeed
deeeed merged commit 9c0510c into main Nov 15, 2026
21 checks passed
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