Skip to content

fix(frontdoor): find a supervised session without blocking the door - #622

Merged
Mearman merged 1 commit into
mainfrom
fix/door-account-moves-nonblocking
Oct 27, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/door-account-moves-nonblocking

Conversation

@Mearman

@Mearman Mearman commented Oct 27, 2026

Copy link
Copy Markdown
Member

An acct: model move calls supervisedSessionOf from the door's route resolver with realIsProcessRunning, whose zombie check is a synchronous ps that refuseToBlockInRole rejects inside the door. For any live supervised session the request therefore threw instead of leaving a move request for the supervisor.

supervisedSessionOf now takes runningAmong and lists every pool's entries before one non-blocking liveness read, pruning dead entries as liveSupervised does; accountMoves resolves to a promise and the route awaits it. The new in-door test fails against the synchronous check. Same class as #621.

An `acct:` model move looked up the session's supervisor registry entry
with a synchronous `ps` liveness check, which the door refuses by design,
so the request threw for any live supervised session instead of leaving
the move for its supervisor.

The lookup now reads liveness once without blocking, across every pool,
and the route's `accountMoves` port resolves asynchronously.
@Mearman
Mearman marked this pull request as ready for review October 27, 2026 19:16
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-27T19:16:49.573778Z
We couldn’t complete this review. Comment @codex security review to try again.
fa46db3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 8b467e8 into main Oct 27, 2026
32 checks passed
@Mearman
Mearman deleted the fix/door-account-moves-nonblocking branch October 27, 2026 19:23
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.

1 participant