Repository navigation
perf(harness-ops): skip the marketplace re-clone in plugins sync when the remote commit is unchanged - #12559
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
claude-security-review reviewed Security review (incremental): PR #12559, changes since da400aeI found no security issues. This review covers the one file changed since the last round, What changed. The change edits only the prose in the "A refresh that would land the same commit is skipped" paragraph:
What I checked:
Spend: none. critical-findings: 0 |
|
claude-review reviewed Code review (incremental): PR #12559,
|
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6y60FE
|
pr-unblock / address-feedback finished round 1 of max 4 on e771abc. |
Post-merge mutation testingKilled 4, survived 3, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Closes #12544
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
timings.marketplace_updateon a real fleet needs a host run with the claude CLI and a git-backed marketplace. The issue's parent asks for this measurement, and this lane cannot make it.marketplace updatethat lands the same commit does other work besides rewritinglastUpdated. The skip assumes the catalog files are the same at the same commit; sync.md states this assumption and how to force a refresh.githubsource kind's origin match (*\[/\]github.com\[/:\]<repo>, case-insensitive) has no test: a local fixture cannot give the clone a github.com origin that ls-remote can reach, becausegit remote get-urlexpands insteadOf. No test checks thatrefresh.skippedsurvives an `--only-Fix
refresh_skip_check(ls-remote comparison with its guards). Step 1 calls it before the CLI refresh, and themarketplace_updatetiming includes the check.REFRESH_SKIP_JSONis reset per marketplace, persisted and restored across the `--refresh skipped: the clone is at <sha>, where origin <ref> pointsrow under the marketplace header.catalog_last_updatedand the catalog regression check text now say what a skipped refresh means for them.Verification
The runner ran each check from the base copy against da400ae:
The run reports:
plugin marketplace update'Refresh one marketplace, or every marketplace, from its source to fetch new plugins and versions. A marketplace added with a branch or tagrefupdates to the latest commit of that ref, not the repository's deknown_marketplaces.jsonrecordssource,installLocation,lastUpdated,autoUpdate.marketplaces/<name>/holds the clone of a GitHub or other git marketplace. Anamemarketplaceinstall refreshes that marketplace before lookup ufoundclashed with a global array); renamed, and the last run passed 12 checks with 6 skipped (ruff, typos, three validate-plugins sub-checks and changed-skills that run checked-tree code)Left out: the items under Not verified.
Related
#12544