Repository navigation
feat(environment): simplify skill sync conflicts - #1412
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 28, 2026 09:15
The replacement dials during start. If the other listener is still closed, both sides can enter the 30-second reconnect backoff and exhaust the test’s 20-second wait. Bring the listener up first and keep the existing checks for reachability and mirror catch-up.
nixuuu
added a commit
that referenced
this pull request
Nov 29, 2026
## Changes - Scope diagnostics assertions to their own SQL operations. Wait for the gateway to record the active turn before exercising bot connector rules. - Keep the checkout-alias lock fixture running through the rejection assertion. Track unique start commands and their acknowledgements after a worker restart, including when the link redelivers a command. - Preinstall and cache the pinned Electron binary before the native window test. Retry the install step on failure. Use the artifact downloader with interrupted-transfer retry and digest validation for native binaries. - List the first failed step and Bun test names from attempt 1. Report missing log downloads explicitly. The old skill-preview and linked-mirror failures already have fixes on `dev`. The earlier notch timeout also has separate launch and behavior budgets. This PR moves the Electron download out of that test's setup. #1341, #1412, #1347 ## Verification - `check:tmp` on the four affected integration files and the recovery script test passed all 36 tests. The four flaky cases and two recovery cases also passed 12 consecutive runs each. - Focused lint, formatting, Bash syntax and diff checks passed. Replaying the reporter against a real failed test and a real artifact failure produced the expected entries without posting comments. - PR CI covers the full gate and the native macOS/Windows checks. The automatic recovery workflow itself runs after Push CI on protected branches. Closes #1346
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.
Skill conflict resolution
A single computer can report a conflict for every CLI and every Canopy agent home. The Skills dialog now asks which copy to use and which computers should sync the skill. Paths, backups and individual computer actions are available on demand.
Grouped installs claim the reviewed tokens from the current worker connection before dispatch. Each worker checks the local copy again before moving it. The dialog reports pending, successful and partial outcomes. Linked exclusions use the home gateway’s assignment revision and preserve its version pin.
Verification
The thread-mirror handshake test timed out in shard 3 and locally. Its replacement gateway dialed while the peer listener was closed, triggering the reconnect backoff. The fixture now opens the listener before starting the replacement. All 20 tests in
thread-mirrors.test.tspassed locally withcheck:tmp.Copy audit
Reviewed the ten checks in docs/copy.md §8. The opening list replaces per-directory instructions and repeated buttons with verb-led choices and one consequence each. The removal confirmation distinguishes user-installed folders from Canopy installations. Diagnostic paths, file lists and recovery locations appear after a deliberate choice or disclosure. Names wrap on narrow screens, and all choices and sync outcomes have text labels.
Related: #1314