Repository navigation
feat(relay): tell an agent when a merged pull request conflicts with its work - #1268
Merged
Merged
Conversation
…rry the note Dropping it asserted an order the contract never promised: 7 failures in 9000 runs of each case, 0 after.
…ands The read of the second panel was skipped while the first ran, and the first's answer was dropped, so the second stayed on Loading. The macos runner was slow enough to hit it in TestPermissionsOpenOnTheAllowRules.
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.
When the pull request of one session's checkout merges, the live agents in the repository's other checkouts whose work conflicts with it now get a note naming the files.
git merge-treeagainst the fetched base, uncommitted and untracked work included), kept to the files that pull request changed. Sharing a file is not enough: of 299 neighbouring merges of this repository, 75% shared a file and 30% conflicted.AnnounceMergeonly records the merge. It is read when the session next writes or runs a command, so an idle session is not woken and the answer is about its work as it is then.session-touchedreport, the channel of the edit-overlap note, as anoticeenvelope with the new topicmerge-conflict. The read fetches, which outlasts the hook's timeout, so it runs behind the first report and a later one carries the note. lich-plugin needs no change.docs/ceilings.mdand in every README's provider table.The text an agent reads, in every prompt language:
No text was added to a screen.
Test plan
internal/project: real repositories merged by squash, merge commit and fast-forward, against committed, uncommitted, untracked, identical and already pulled work; the checkout and its stash list stay as they were.internal/relay: a table over every provider, for hooks that answer and hooks that hold.Also here
A chat panel opened while another's read was running (
/permissionsright after/mcp) stayed on Loading: its read was skipped and the first one's answer dropped. The macOS runner hit it inTestPermissionsOpenOnTheAllowRules. The panel now reads once the running read lands, with a test that reproduces it.