Repository navigation
fix(goose): update backend and report provider and worker failures - #446
Conversation
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
Signed-off-by: John Matthew Tennant <[email protected]>
morgmart
left a comment
There was a problem hiding this comment.
🤖 Automated code review
Request changes. The new default Goose pin ships the provider-failure implementation from a contributor fork rather than the supported upstream backend, creating an unsupported release and upgrade path. The supplied checks for the exact head SHA passed. The opt-in real-Goose Playwright project also activates from an incomplete environment guard.
Deterministic publication result: 1 blocking and 1 non-blocking inline finding(s) publishable; 0 duplicate(s) suppressed; 0 blocking screenshot-evidence requirement(s) in this review body.
morgmart
left a comment
There was a problem hiding this comment.
🤖 Automated code review
Comment. The complete PR comparison fixes the previously reported integration-environment guard, but its new regression test is not connected to any repository test command or supplied CI check, so the guard can regress without detection. The supplied check evidence is structurally valid; eight checks passed and two checks were still in progress at capture time.
Deterministic publication result: 0 blocking and 1 non-blocking inline finding(s) publishable; 1 duplicate(s) suppressed; 0 blocking screenshot-evidence requirement(s) in this review body.
morgmart
left a comment
There was a problem hiding this comment.
🤖 Automated code review
Comment. The previously reported project-selection and test-gate defects are fixed, and all supplied checks for the exact head SHA passed. One test-honesty gap remains: the real-Goose fixture verifies the source checkout's commit but never verifies that the executable under test was built from that checkout.
Deterministic publication result: 0 blocking and 1 non-blocking inline finding(s) publishable; 1 duplicate(s) suppressed; 0 blocking screenshot-evidence requirement(s) in this review body.
Signed-off-by: John Matthew Tennant <[email protected]>
## Summary Public Berd builds goose from upstream [aaif-goose `361003ea`](aaif-goose/goose@361003e) again, instead of the personal fork pinned in [#446](#446). `361003ea` is that fork's base, so public Berd keeps everything else in the update. The fork's provider stream and worker failure fixes move to internal Berd as goose source patches. Goose is mainly used internally; public users mostly run Codex and Claude. Internal drops each patch when [aaif-goose/goose#13226](aaif-goose/goose#13226) and [#13227](aaif-goose/goose#13227) land. The real-goose capacity-error suite from #446 stays opt-in: it runs only when `GOOSE_BIN`, `GOOSE_SOURCE_DIR`, `GOOSE_EXPECTED_COMMIT` and `GOOSE_EXPECTED_SHA256` are set, and it expects the patched backend. ### Testing CI builds goose from the new pin. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: John Matthew Tennant <[email protected]> Co-authored-by: Henry <a0d9f90f86da5f023099d22b8e3599af162d9423a422d8f385a12815de879cf2@buzz.block.builderlab.xyz>
Summary
Fixes provider failures that silently end chats and subagent failures hidden by an earlier saved result. Pins the combined Goose backend on upstream
361003ea3263587f4241a0f906affdcc0d5c9c1f, in a public maintained fork. Manual-compaction failures report errors without replacing context.Responses and Anthropic stream errors reject the turn instead of appearing successful. Partial text remains visible and the same chat can recover. Failed responses cannot release executable buffered tool calls. Foreground subagents check failure before accepting saved structured output. Managed checkouts on Unix and Windows follow the repository URL recorded in the lockfile.
Subagents use foreground delegation.
Related issue
Upstream fixes: provider streams and worker failure precedence.
Testing
Focused regressions on the pinned composed source verify permission, billing, and oversized-request stream classifications; failed-output resume; current-attempt worker output; and saved context errors reaching the worker state machine. Provider, worker outcome, and compaction checks pass.
The real-Goose browser suite exercises this Berd head with the pinned Goose commit above: normal completion, HTTP 503, three streaming overload payload shapes, early EOF, and EOF after partial text. Each case observes native ACP WebSocket traffic, requires the actual prompt outcome, then verifies a new visible reply to a second prompt in the same session. Errors and partial output remain visible after recovery. Goose and its WebSocket transport are real; the HTTP provider is a deterministic local fixture, and Tauri/OS IPC is mocked.
Before each launch, the fixture checks the source commit and independently recorded executable SHA-256
378ed1ecc2c43f07c8b63088cd885644caa4aeae770f484bbb28f06deed7ee28. The backend uses the pinned lockfile and default Cargo features.Screenshots
Interrupted response retains partial text and an error, followed by a successful reply in the same chat, using the pinned backend.