Skip to content

settleMergedSession

settleMergedSession(s, deps): Promise<void>

Defined in: src/merge-teardown.ts:23

Settle a session whose PR has merged (out-of-band OR by the merge train): close its backlog issue, archive the session, drop the pr-cache, and emit archived. Best-effort: the merge is already done, so a close failure must not block teardown — instead we RETAIN the claim (issue still open → its label is what stops a re-spawn). Manual sessions (no issue) skip the close/claim entirely.

Session

MergeTeardownDeps

Promise<void>