Conversation
Retire replaced spinner timers and hosted status handles, suspend new owners across queued input, and hand back only to the current phase. Abort and drain adapter prompts on completion/stop, and finish the agent spinner even without validation. Adapted from Nick Nisi's PR #216, commit 1953bed. Extends that work to cover the paused clear/start review finding and the newer hosted Ink lifecycle. Refs AUTH-6732.
Let the facade borrow the current spinner line for output instead of letting logAboveSpinner resurrect an obsolete adapter phase. Keep hosted agent logs in their original transcript window. Includes a real-facade regression that fails when a stale adapter handle replaces a newer owner.
Exercise the real inquirer and hosted Ink adapters with synthetic events, queued answers, Ctrl-C and teardown at 100x30. Deny credential/network access, use a temporary local home, enforce bounded subprocess cleanup, and document deterministic/fake-stream/PTY evidence plus the reproduced baseline skills-test flake.
Record one detached /bin/sh reproduction of the exact required check with piped output and ignored stdin. All local stages exited zero in 11.834 seconds, including typecheck in 2.727 seconds, but the supervisor's 600-second timeout remains authoritative and unexplained without its process/environment evidence. Preserve implementation and PTY evidence; make no speculative compiler or infrastructure changes.
nicknisi
marked this pull request as ready for review
September 28, 2026 20:08
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete AUTH-6732 by fixing current workos install spinner/prompt coordination across CLI and hosted TUI paths, adapting the existing PR216 work and adding deterministic regression plus interactive-terminal evidence where feasible. Ensure prompts remain visible/answerable and no orphan/stale spinner can erase or animate over them.
Riker's check
bun run test && bun run typecheck && bun run lint && bun run format:checkpassed.Opened as a draft by Riker (job 13).