Repository navigation
improve(ci): run temp path guard in hosted checks - #129000
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 2:43 AM ET / 06:43 UTC. ClawSweeper reviewWhat this changesAdds the existing temporary-path safety guard to the hosted CI guards shard, with fixture coverage for current, frozen, and missing-script targets. Merge readinessNo blocking code defect found. This maintainer-owned, protected PR should remain open until the exact-head hosted Priority: P3 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherGitHub Actions partitions repository validation into check shards. The guards shard reads package scripts and runs safety checks early, before later release qualification would otherwise discover the same violation. flowchart LR
A[Pull request checkout] --> B[Hosted CI guards shard]
B --> C[Package-script lookup]
C --> D[Run temporary-path guard]
C --> E[Frozen target compatibility skip]
D --> F[Early CI safety signal]
E --> F
Before merge
Agent review detailsSecurityNone. PR surfaceTests +90, Config +8. Total +98 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one canonical hosted invocation of the existing guard, retaining the explicit frozen-target exception and current-target fail-closed behavior once exact-head checks pass. Do we have a high-confidence way to reproduce the issue? Yes, from source: the focused fixture executes the actual guards-shell body for present, frozen-missing, and current-missing package-script states; it was not rerun in this read-only review. Is this the best way to solve the issue? Yes. Reusing the existing guard in its owning hosted guards shard avoids a duplicate implementation and mirrors the adjacent explicit frozen-target compatibility pattern. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a556d5379bba. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles) |
0f3bfc7 to
4ea4595
Compare
|
@clawsweeper re-review Exact head: The parent has landed, this branch is rebased to current |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
What Problem This Solves
Resolves a problem where the required hosted guard shard omitted
check:temp-path-guardrails, allowing weak temporary-path identifiers to reach late release validation even though the local aggregate check and release pretag check already reject them.Why This Change Was Made
Runs the existing guard in the hosted
guardsshard before duplicate scanning. Current targets fail closed when the package script is missing, while frozen release targets retain an explicit compatibility skip.User Impact
Maintainers receive the same temporary-path safety signal in ordinary hosted CI instead of discovering it during release qualification.
Evidence
main7c71d417fba20b95d42252f265cea24c25635af24ea459578f20103c5d7e3fa7a3fd9589ea943f7fpnpm check:temp-path-guardrailsnode scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts -t "runs temp path guardrails in the hosted guard shard": 1 passed, 130 skippedpnpm format:check -- .github/workflows/ci.yml test/scripts/ci-workflow-guards.test.tsgit diff --check origin/main...HEADThe AWS Crabbox
pnpm check:workflowspre-commit fallback hung twice inside actionlint without producing a lint diagnostic. The bounded retry reached its 10-minute limit with one actionlint worker blocked at 0% CPU; its log SHA-256 is8e37ed8c635dfe4981ddffbaa77a8f4261b03216979681a79b990c9394a0067b. Exact-head hostedWorkflow Sanity / actionlintis therefore the authoritative workflow-lint proof for this head.Exact-head hosted proof
Workflow Sanity / actionlint: https://github.com/openclaw/openclaw/actions/runs/32817900665/job/97709804380check-guards: https://github.com/openclaw/openclaw/actions/runs/32817933194/job/97710030671openclaw/ci-gate: https://github.com/openclaw/openclaw/actions/runs/32817933194/job/977117133644ea459578f20103c5d7e3fa7a3fd9589ea943f7fwith no findings. Its sole rank-up move, confirming actionlint andcheck-guards, is satisfied by the runs above.