Repository navigation
mawsd unit flakes: cli-prompt's shell outlives its tail; process.test's teardown retries ENOTEMPTY - #438
Merged
Conversation
… Linux's pty cannot drop the output's tail at its exit (the provision pipe case timed out with EXIT=0 and stty read but no DONE, 41346408018); process.test's teardown retries rmSync on ENOTEMPTY (tracker row of 2026-10-28) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 1, 2026
…rge e48e270: the teardown's rmSync retries ENOTEMPTY while the killed engine host finishes writing) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 1, 2026
…432, O12 M11 #431, O7 M3 #433, O17's document #430, O7 M5 re-plan #434 and #436, #437, #438) into p5-o16 The WIRE retake: master is at WIRE_MINOR 19, so O16 takes 20. The comment keeps master's entries through (19); O16's additions (M2, M5, M3b, M3c fix wave 2), named under (16) on the branch, now follow under (20). WIRE_CAPABILITIES is master's list plus host.holder. The manifest is master's (minor 19) regenerated with pnpm wire:manifest at 20: against master it adds commands.daemon.restartEngineHost, commands.host.handover and events.daemon.engineHandover, changes O16's additive status and supervisor fields, and lists host.holder. routes.json auto-merged and its pin holds. Conflicts, each resolved keeping both sides: - src/shared/ipc/wire.ts: WIRE_MINOR 20 as above. - src/shared/ipc/wire-manifest.json: master's, regenerated (above). - src/shared/host/detached-transport.ts: O16's report() (the status ask before the link is reported) keeps its shape; O5 M5's socketFd joins the port it reports. - src/shared/host/op-ledger.ts: the orphanAtOpen comment names the services', the endpoint's (O12 M11) and the engine host's (O16 M3c) ledgers; none opens without it now. - src/mawsd/daemon.ts: O5 M5's session.removed listener and O16's tellEngineHandover side by side; at the stop, O5's cua socket close and cache watch end, then engineHandover.stop(). - src/mawsd/front.ts: FRONT_COMMANDS holds daemon.restartEngineHost and session.capabilities. - src/mawsd/cli.ts: O16's sessionHostsLine and O5 M6's renderText. - src/engine-host/launch.ts: O12 M11's MAWS_LAUNCHED_BY and O16's MAWS_HOLDER_SOCKET. - src/services/spine-root.test.ts: FRONT_EVENTS holds session.capabilitiesChanged and daemon.engineHandover. - test/support/mawsd-scene.ts: the stand-in's events hold O5 M5's session.status and O16's maws.pane.show and host.supervisorStatus. - scripts/mawsd-pack.test.mjs: O16's two session host pack tests and O5 M6's two --render tests. - devenv/validate.sh: the header names the session host check and the render runtime check; both run. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.
Two test-only fixes for
src/mawsdunit flakes that keep failing unit 3/4. In 41346408018 (O7's p5-o7-m6) they cost two of its four attempts.cli-prompt.test.ts. The provision pipe case timed out waiting forDONE. The output already heldenrolled,EXIT=0and the wholestty -adump, so the command had finished. The only missing piece was the shell's lastecho DONE. Linux's pty drops a child's last output at its exit (gate-offload Decision Log 20, the same fact behind the pty table's flood cases). Now the shell runsread -r _afterDONE, and a newfinish()waits forDONE, sends a line and only then awaits the exit. The shell can no longer exit before its tail is read. All four cases usefinish(), and assertions are unchanged.process.test.ts.afterEach'srmSync(scratch, { recursive, force })met ENOTEMPTY while a killed child was still writing in the directory. It now passesmaxRetries: 10, retryDelay: 100, which Node'srmSyncuses to retry ENOTEMPTY, EBUSY and EPERM. That meets the tech-debt tracker row of 2026-10-28's exit, and the row closes at landing.Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)