Repository navigation
fix(native-chat): a message is accepted, then delivered #22821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
c867bd2
refactor(native-chat): remove the unused terminal handoff
brennanb2025 eab4ef1
fix(native-chat): never let the pre-stop snapshot hold a chat's stop
brennanb2025 abafbbc
refactor(native-chat): drop helpers only the terminal handoff called
brennanb2025 3cbf6b5
docs(native-chat): stop citing the removed handoff in lifecycle comments
brennanb2025 e048579
test(native-chat): type the stalled snapshot drain without a cast
brennanb2025 b50c574
test(native-chat): pin that a start dead before proving owes no settl…
brennanb2025 12efdef
fix(native-chat): keep the owner-status read behind an in-flight attach
brennanb2025 42d10ee
refactor(terminal): remove the agent-session PTY write gate
brennanb2025 0483915
refactor(native-chat): drop the transcript helpers only the handoff c…
brennanb2025 d0f4dae
fix(native-chat): stop calling a starting chat "mid-handoff"
brennanb2025 faecece
test(native-chat): type the stand-in roster decoder without a cast
brennanb2025 250250e
refactor(codex): name the pinned rollout lookup for what it does
brennanb2025 b588185
refactor(native-chat): type the owner-status reply as the host sends it
brennanb2025 35742fd
refactor(native-chat): normalize terminal-handoff lease values once a…
brennanb2025 54ce5fc
refactor(native-chat): stop threading the owner kind through a reserv…
brennanb2025 713b126
test(native-chat): pin the legacy-lease rewrite with a transaction th…
brennanb2025 44d7977
fix(native-chat): name a chat write by its target, not the owner gene…
brennanb2025 6dad39a
fix(native-chat): every journal append reaches the chats that are open
brennanb2025 97bf3bb
test(native-chat): an epoch replacement reaches the open chat
brennanb2025 427dc8d
test(native-chat): each row reaches an open chat once, and a live han…
brennanb2025 2bd44f5
test(native-chat): give the legacy-lease store test a tab id so the b…
brennanb2025 f79eb9b
test(worktree-activation): restore the OMP surfaced-agent resume test
brennanb2025 50d2e33
perf(native-chat): a publish behind a delivered commit reads nothing
brennanb2025 bd72b13
test(native-chat): state why the teardown test's fake journal is safe…
brennanb2025 fa9b76a
docs(native-chat): say mutation admission checks only the writer lease
brennanb2025 5435973
docs(native-chat): drop the send rebase from comments that still desc…
brennanb2025 8fd4558
Merge #22811 into the PR 1 base
brennanb2025 12dde37
Merge #22812 into the PR 1 base
brennanb2025 c753e8a
fix(native-chat): a message is accepted, then delivered
brennanb2025 82f9bfd
fix(native-chat): settle queued messages only for the child that ended
brennanb2025 f3e52d2
fix(native-chat): an adoption that fails to import keeps the conversa…
brennanb2025 29a340b
perf(native-chat): the recovering open reads the journal once
brennanb2025 c7a652f
fix(native-chat): an attach that fails after indexing its child leave…
brennanb2025 34d0bb0
fix(native-chat): a withdrawn message shows no error, and a rejection…
brennanb2025 46b6472
fix(orchestration): a structured worker whose agent outlasts the prea…
brennanb2025 283819d
fix(native-chat): a message rejected while its chat was closed reads …
brennanb2025 40dabe8
test(orchestration): name why the readiness settlement fakes are cast
brennanb2025 31444bf
fix(native-chat): keep each pane's own fence on frames so a failed re…
brennanb2025 494d8c7
docs(native-chat): drop the fence from the admission the send effects…
brennanb2025 0e74529
docs(native-chat): give the fence move on release the reason that sti…
brennanb2025 6c16f35
docs(native-chat): stop citing a write fence check in launch and mail…
brennanb2025 d2f646b
refactor(native-chat): the provider child is its own record
brennanb2025 25fa38a
Merge remote-tracking branch 'origin/main' into brennanb2025/chat-wri…
brennanb2025 aa56b50
fix(native-chat): the delivery loop alone settles a message its start…
brennanb2025 d23cca4
Merge #22812 and main into PR 1
brennanb2025 4993696
refactor(native-chat): a stopped child ends on the one reading of its…
brennanb2025 a2ad8f2
feat(native-chat): the host says it accepts a send before any agent h…
brennanb2025 48def96
refactor(native-chat): an attach never opens a journal of its own
brennanb2025 da65d57
fix(native-chat): a moved fence resends nothing on a host that accept…
brennanb2025 0184a3d
refactor(native-chat): a child's end says whether the user or the hos…
brennanb2025 12577d8
fix(native-chat): a chat whose only work is a queued message is not o…
brennanb2025 a59eed9
test(native-chat): type the queued-message fixtures in the resume-off…
brennanb2025 ccaf412
fix(native-chat): a start that dies while a message waits on it is th…
brennanb2025 0efca93
docs(native-chat): say what an attach's open conversation and unconfi…
brennanb2025 74d6506
test(native-chat): pin what a failed start settles, and what a resume…
brennanb2025 9c671f1
test(native-chat): the failed-start pins fail on what the message bec…
brennanb2025 80ccb33
test(orchestration): the preamble's host stub is typed, not cast
brennanb2025 e6dadd1
Merge main into PR 1
brennanb2025 6374f35
Merge main into PR 1
brennanb2025 724b961
Merge main into PR 1
brennanb2025 c39151d
fix(native-chat): a view never restarts a chat whose last start failed
brennanb2025 9613178
test(native-chat): start the child the loop waits on with an attach, …
brennanb2025 0224459
fix(native-chat): settle a gone generation's turn wherever a conversa…
brennanb2025 2276cef
test(native-chat): prove the next child's start settles the turn an e…
brennanb2025 9275869
test(native-chat): count a failed start's rows by row, not by text
brennanb2025 158ca0a
test(native-chat): give the failed-start and stale-turn waits a loade…
brennanb2025 8f66a25
test(native-chat): pin the open's and the send's start and row counts…
brennanb2025 ad04c3b
fix(native-chat): settle a gone generation's turn at every open but a…
brennanb2025 05b8b93
test(native-chat): hold the create's start open until the views bind
brennanb2025 d5716f3
Merge main into PR 1
brennanb2025 740ed1f
Merge main into PR 1
brennanb2025 7002b1b
refactor(native-chat): drop the composer's second error formatter
brennanb2025 cb5ce82
test(native-chat): pin the reason on a message rejected while its cha…
brennanb2025 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: stablyai/orca
Length of output: 45664
🤖 get_repo_knowledge executed:
get_repo_knowledge stablyai/orca /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/conventions /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/learningsLength of output: 10855
🏁 Script executed:
Repository: stablyai/orca
Length of output: 45668
🏁 Script executed:
Repository: stablyai/orca
Length of output: 43493
🏁 Script executed:
Repository: stablyai/orca
Length of output: 41727
🏁 Script executed:
Repository: stablyai/orca
Length of output: 42365
<verification_comment>Preserve cancellation for direct startup dispatches.
ClaudeStructuredSessionAdapter.dispatchcan calldispatchClaudeTurnbeforeawaitStarted. Acquisition publishes the session while startup is pending, anddispatchClaudeTurncan write the message before startup settles. This branch then returns{ cancelled: false }without reaching the interrupt path.Route a pending direct dispatch through the cancellation and admission checks. Return
falseearly only when startup is pending and no dispatch has been armed or sent. Ensure the direct caller's dispatch sequence identifies that pending dispatch.</verification_comment>