Skip to content

fix(release): accept populated ghost rerun jobs - #166175

Merged
RomneyDa merged 2 commits into
mainfrom
fix/frv-populated-ghost-jobs
Oct 6, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/frv-populated-ghost-jobs

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Summary

  • classify queued runnerless GitHub rerun mirrors independently of copied step metadata
  • ignore those mirrors beside the completed sibling in both superseded and effective attempts
  • preserve duplicate rejection for jobs with runners and copies without a completed sibling

Validation

  • node scripts/run-vitest.mjs run --config test/vitest/vitest.full-core-tooling.config.ts test/scripts/full-release-validation-state.test.ts (95 passed)
  • pnpm frv status --run 37411017820 now reconciles the retained release run without duplicate-identity rejection and reports its six exact child outcomes

@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Oct 6, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 6, 2026
@clawsweeper

clawsweeper Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 6, 2026, 5:40 PM ET / 21:40 UTC (Revision 3).

ClawSweeper review

What this changes

Full Release Validation now ignores queued rerun mirrors without a runner beside a completed matching job, including mirrors with copied steps and mirrors in the latest attempt.

Merge readiness

✅ Ready for maintainer review

Keep open: this useful, focused repair remains absent from fetched main and the latest release. No blocking correctness or security defect was found.

Priority: P2
Reviewed head: f09c4b8650c324de1262c5810c599007ce1d3ec9

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful regression coverage and a reported production-path check; no blocking patch defects were found.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its body reports the relevant production FRV status command recovering a retained run; this review inspected that claim without independently executing it. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its body reports the relevant production FRV status command recovering a retained run; this review inspected that claim without independently executing it. No stored-data contract changes.
Evidence reviewed 10 items Introduced patch: The pinned merge-base-to-head diff changes the shared mirror classifier and regression coverage. It removes the empty-steps requirement, requires both runner identifiers to be absent, and accepts matching mirrors in the effective attempt.
Still necessary on main: Fetched main still requires empty steps and only recognizes matching completed siblings in superseded attempts, leaving both requested cases unsupported.
Latest release comparison: The v2026.9.8 policy also contains the superseded-attempt and empty-steps restrictions; the requested repair is not present in that release.
Findings None None.
Security None None.

How this fits together

Full Release Validation combines GitHub Actions job results across rerun attempts. Its shared composition policy feeds release status, continuation, and validation evidence while retaining actual job failures.

flowchart TD
  A[GitHub job inventories] --> B[Validate run provenance]
  B --> C[Inspect each attempt]
  C --> D[Discard skipped jobs and runnerless mirrors]
  D --> E[Reject remaining duplicate jobs]
  E --> F[Combine latest job results]
  F --> G[Release status and validation evidence]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +13, Other -1. Total +12 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 22 9 +13
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 6 7 -1
Total 2 28 16 +12

Review metrics

None.

Technical review

Best possible solution:

Use the shared attempt-composition owner to discard nonexecuting mirrors while retaining real failures, provenance checks, and duplicate rejection.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: populated queued mirrors beside a completed sibling reach main's duplicate-identity rejection, as do mirrors in the effective attempt. No runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Yes. The patch repairs the existing shared owner, preserves actual failed results, and adds focused cases for the newly accepted inventories.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 1a7f9628e785.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This bounded release-tooling repair restores reconciliation of affected GitHub rerun inventories without changing product runtime behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its body reports the relevant production FRV status command recovering a retained run; this review inspected that claim without independently executing it. No stored-data contract changes.

Evidence

What I checked:

  • Introduced patch: The pinned merge-base-to-head diff changes the shared mirror classifier and regression coverage. It removes the empty-steps requirement, requires both runner identifiers to be absent, and accepts matching mirrors in the effective attempt. (scripts/full-release-validation-policy.mjs:677, f09c4b8650c3)
  • Still necessary on main: Fetched main still requires empty steps and only recognizes matching completed siblings in superseded attempts, leaving both requested cases unsupported. (scripts/full-release-validation-policy.mjs:677, 1a7f9628e785)
  • Latest release comparison: The v2026.9.8 policy also contains the superseded-attempt and empty-steps restrictions; the requested repair is not present in that release. (scripts/full-release-validation-policy.mjs, fc23bc864e45)
  • Release safeguards remain: Composition retains completed failures and rejects remaining duplicate identities. The unchanged terminal policy requires a completed, successful child with no failed jobs; continuation independently treats noncompleted child runs as active. (scripts/full-release-validation-policy.mjs:1448, f09c4b8650c3)
  • Production consumers: The collector's readChild path and FRV continuation both obtain attempt inventories and invoke the same composition owner. This patch introduces no parallel policy, publication authority, stored format, or configuration option. (scripts/full-release-validation-state.mjs:274, f09c4b8650c3)
  • Focused regression coverage: The changed cases cover populated mirrors in superseded and effective attempts, preserve an unrelated failed job, and retain duplicate rejection without a completed sibling or with an assigned runner. Tests were inspected but not executed during this read-only review. (test/scripts/full-release-validation-state.test.ts:846, f09c4b8650c3)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-06T15:40:02.445Z sha 974b8ed :: needs maintainer review before merge. :: none
  • reviewed 2026-10-06T15:46:03.060Z sha 974b8ed :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa merged commit dd5a40a into main Oct 6, 2026
106 checks passed
@RomneyDa
RomneyDa deleted the fix/frv-populated-ghost-jobs branch October 6, 2026 21:46
RomneyDa added a commit that referenced this pull request Oct 7, 2026
* fix(release): accept populated ghost rerun jobs

* fix(release): accept effective ghost rerun jobs

(cherry picked from commit dd5a40a)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 7, 2026
* fix(release): accept populated ghost rerun jobs

* fix(release): accept effective ghost rerun jobs
RomneyDa added a commit that referenced this pull request Oct 8, 2026
Backport the existing creation-owner repair with its queued-read and public RPC regressions. Restore matching runnerless-ghost evidence coverage.

Release provenance: 5592e61 -> #166003; dd5a40a -> #166175

Original creation repair by Peter Steinberger. Adapted to the October admission owner without schema or permission changes.

Proof: 168 focused tests passed; fresh P0/P1 review clean; branch-native check-changed passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant