Repository navigation
Alert on a turn failure only when the turn itself failed - #374
Merged
Merged
Conversation
"Turn failed" came from the transcript's sticky error banner, so a turn that completed or was stopped while an unrelated request or an older turn left an error still raised a failure alert. Decide from the outcome recorded for the finished turn instead. A child thread's failed turn is delivered to its parent agent as a tool result, and a worker that reports to a parent agent likewise hands its result to the agent. Neither raises a failure alert now; the parent's own turn outcome is what the operator hears about. Host-raised synthetic worker notices are unchanged, and whether such threads raise Finished is unchanged. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Collaborator
Author
|
/queue 8f4cec3 |
Codex Review Summary: ✅ CompletedThis 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. |
Collaborator
Author
|
In line to merge. Commit 8f4cec3 is reviewed with nothing blocking; it has entered the merge queue. |
This was referenced Dec 3, 2026
n0rpan
added a commit
that referenced
this pull request
Dec 3, 2026
…-actions # Conflicts: # desktop/ox-desk-core/src/store/projection.rs
n0rpan
added a commit
that referenced
this pull request
Dec 3, 2026
Main now carries the terminal-only failed alert (#374). Keep this branch's version of the finished and failed alert, which adds the detail line to the same decision. Co-Authored-By: Claude Mythos 5.2 <[email protected]>
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.
A "Turn failed" alert should mean the turn the user is waiting on ended in a failure nobody is handling, such as running out of tokens. It also fired for things the agent recovers from by itself.
What changes
observe_worker_notices: a worker, not started by the operator, with a linked job or a parent session.Unchanged: whether these threads raise Finished, the host-raised worker alerts in
deliver_worker_notices(a job with no session, cancelled, interrupted), the push policy, and the wire protocol.Verification
cargo fmt --check,cargo clippy -p ox-desk-core -p ox-host --all-targets -- -D warnings,cargo test -p ox-desk-core(268 passed) andcargo test -p ox-host(170 passed) on Linux x86_64.process_scoperun.Checked against
mainatb918f44.🤖 Generated with Claude Code