Repository navigation
fix(live-proof): provision candidate Go toolchains - #1247
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed August 26, 2026, 10:35 PM ET / August 27, 2026, 02:35 UTC. ClawSweeper reviewWhat this changesThe PR adds Go-version resolution and pinned setup for exact and batched live-proof candidates, then enables automatic Go toolchain selection for mixed or nested-module cases. Merge readiness⛔ Blocked by patch quality or review findings - 4 items remain The attempted repair still misses nested Go modules because its Git tree scan is non-recursive; the hosted proof also predates the current head. Priority: P1 Review scores
Verification
How this fits togetherThe sweep workflow writes review reports, selects runnable live-proof candidates, and executes their plans in a sanitized child process. This change inserts Go toolchain selection between candidate inspection and proof execution. flowchart LR
A[Review reports] --> B[Candidate inspection]
B --> C[Read reviewed Go config]
C --> D[Choose shared Go toolchain]
D --> E[Sanitized proof child]
E --> F[Live verification artifact]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Use recursive tree traversal in both resolvers, cover root-plus-nested and rootless candidates, then publish a hosted proof from the current head. Do we have a high-confidence way to reproduce the issue? Yes, by source: a root Is this the best way to solve the issue? No. The intended fallback needs recursive path enumeration in both resolvers and a focused root-plus-nested regression fixture. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4a6f9ecb165e. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
What Problem This Solves
Go live-proof candidates could fail before execution when the reviewed head required a newer Go version than the review runner provided.
Canonical Fix
The review workflow now resolves Go requirements from every runnable candidate's exact reviewed head before execution. Root
go.workgoverns when present; otherwise rootgo.modgoverns. Nested or rootless Go layouts retain automatic toolchain fallback, while root-only candidates keep setup-go'sGOTOOLCHAIN=localboundary.Both exact-item and shard paths use pinned
actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16(v6.5.0), a generated version file, ahashFilesgate, andcache: "false". Batch publication is unchanged.Validation
Exact head:
6ccb0a6cc56451ddc3a1c26602cea5e9af29ddb4node --test test/sweep-workflow.test.ts: 125 passed.commit.gpgsign=trueresolver fixture: passed.tsc -p tsconfig.json: passed.tsc -p tsconfig.repair.json: passed.node scripts/check-docs.mjs: passed.git diff --check: passed.pnpm check7m57s).Real Behavior Proof
Hosted branch proof: https://github.com/openclaw/clawsweeper/actions/runs/33033570286
6ccb0a6cc56451ddc3a1c26602cea5e9af29ddb4.steipete/camsnap#15at4ac1569be4a031110eed3253d7ba155cf2fa6a84.1.26.0; runner reportedgo version go1.26.0 linux/amd64.GOTOOLCHAIN=local.credentials=0.EACCESoccurred; no failed-shard artifact was created; recovery reported no failed shard jobs and nothing to requeue.Review Finding Disposition
GOTOOLCHAINchild inheritance are covered.go.workexclusively governs rootgo.mod; directive-less workspaces default to Go 1.18.git ls-tree -rz --name-onlyin both resolvers;-rzis Git's combined short-option form for recursive (-r) plus NUL-delimited (-z) traversal.33033570286above.Change Size
The positive production delta owns exact-head multi-candidate toolchain resolution for both execution paths. No runtime abstraction, publication path, or batch-publish behavior was added or changed.