Repository navigation
fix(harness-ops): make plugins sync other-path updates opt-in - #12538
Conversation
Step 3a made one serial `claude plugin update` per lagging record in every other present path, which took a fleet with many checkouts from seconds to tens of minutes. It now runs only with --update-other-paths or the new update_other_paths option, default false. Off, the report counts the records and names the remedy, and they are not counted for converge. Calls stay serial: parallel calls lost records in a sandbox probe. The journal records each CLI call's duration, timings carry an other_paths step instead of folding it into user_sweep, and the report names a catalog that moved during the run. Refs #12525 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz
Restores sync-run.sh's case indentation, so the diff holds only the behavior change, and regenerates the README options table. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz
Codex Review SummaryThis 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. |
|
claude-security-review reviewed Security review: PR #12538, head
|
|
claude-review reviewed claude-review: no new findings on I read every hunk of all 9 changed files. I also read the head versions of Prior findings: all four are fixed at this head, so none is re-raised.
Checks on the new code:
Closing issue #12525:
Manifest:
Not verified: I did not run Spend: none. With the default off, sync makes fewer CLI calls, and no billing setting changes. |
Runs the digest computation with a catalog that changes during the run and with one that does not, where the earlier test only rendered a planted value. Raises the fragment to a minor bump under Added and Changed, since this adds an option and a flag and changes a default, and restores the base's indentation on the inserted lines. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=12538 -f activity=resolve-conflicts |
Takes main's `# elapsed` journal line, which also carries the exit code and feeds the digest's cli totals. Times the mid read with the other_paths step so it stays under a named step, and brings the timings list, the user_home_records contract and the serial-calls record in line with the change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz
Closes #12525
Summary
/harness-ops:plugins syncno longer updates every other present path by default. A real run went from about 27 minutes projected to 16.7 s on the same fleet. Updating other paths is now opt-in through theupdate_other_pathsoption or--update-other-paths.This reverses the default set by #7458, on the owner's decision in the session that filed #12525.
Fix
Behind in other paths: N record(s) in M path(s)with the remedy, and those records stay out of theconvergecount and the user-home row.xargs -P 8left 5 of 29 records moved on a full-sizeinstalled_plugins.jsonand 17 of 29 on a small one, with nothing on stderr.timingshas another_pathsstep instead of folding that time intouser_sweep.Verification
sync-run.test.sh: 0 FAIL, run from inside the repository, with new cases for the default-off path and for a catalog that moves during a run.shellcheck sync-run.shis clean.other_pathstook 0.043 s.The new skill text and the
--update-other-pathsroute through the skill body were not run through a released build. The real run called the branch'ssync-run.shdirectly.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9PzQ9BSguFLNuXtTPBz