Skip to content

fix(ci): show publication observations in FRV status - #143171

Merged
vincentkoc merged 2 commits into
mainfrom
fix/frv-publication-status-20260909
Sep 9, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/frv-publication-status-20260909

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Fixes #143170.

What Problem This Solves

Resolves a problem where release operators inspecting FRV status cannot see a linked publisher's partial failures, retained verification results or detached-child observations beside validation status.

Why This Change Was Made

Add frv status --run <FRV-root> --publication-run <publish-parent> using independently authenticated workflow identities and exact diagnostic/manifest attempts. Keep bounded GETs on the existing GitHub CLI route; leave continuation, strict verification and shared artifact admission unchanged.

User Impact

Operators can distinguish partial verification, historical registry readback, job conclusions and detached-child observations without treating any of them as release authorization. An original plan from attempt 1 can join the exact selected validation manifest from attempt 2.

Prepared external activation remains unknown without an authenticated reverse link. Normal ClawHub dispatch is not a full child inventory. Historical child observations do not establish current registry visibility or permission to publish.

Evidence

  • 142 FRV tests passed, including actual CLI red/green coverage, authenticated failed publishers, later validation attempts, partial observations, legacy routes, provenance/advance refusals, pagination, archive limits and privacy. Final joined-parent checks cover collection failures and inaccessible parents while allowing normal same-attempt lifecycle progress. Oversized JSON/text output retains authenticated observations with explicit inventory omission counts.
  • 223 unchanged sibling tests passed for release summaries, publication archives and the proof broker.
  • Required changed-file checks passed cumulatively, including scripts/root-test typechecks, targeted lint and boundary guards. The script-export gate also passed.
  • Fresh scoped independent review passed after the accepted findings were repaired.
  • One read-only real CLI probe used historical FRV https://github.com/openclaw/openclaw/actions/runs/34299761825 and publisher https://github.com/openclaw/openclaw/actions/runs/34231609422, both attempt 1, without assuming they were related. After two exact metadata admission GETs, the CLI performed 15 authenticated GETs and two raw ZIP downloads whose sizes/digests matched unchanged exact artifact metadata. It exited 1 with identity-mismatch: the publisher dispatch record names a different candidate from the selected FRV plan. The relationship remained unverified and known job observations were retained. No retry occurred.
  • CI on source head 418ded248907407c43af09e6beea22e64bfa2a26 failed two exact routing expectations: https://github.com/openclaw/openclaw/actions/runs/34362992012/job/102504755467. The new FRV fixture workflow literals correctly caused the unchanged selector to include frv.test.ts, but those expectations omitted it. Follow-up b2df16bab5e4c7b4b5184238226ac4a5a5cfd1da adds only that target at the two expected positions, preserving exact equality, ordering, literals and production routing.
  • Both cases reproduced separately on unchanged source 418ded: one failed case per invocation. The first selector skipped the publisher case because Vitest truncates its parameterized name; only that missed case was then run with the corrected selector. This is source-head proof, not a claim of locally executed CI merge parity.
  • After the two insertions, the full routing owner and CI-plan sibling passed 627/627 tests, with no skips: 478 routing tests and 149 CI-plan tests. Applicable changed gates and fresh scoped independent review passed. The original 365 tests and historical live proof were retained without repetition. New-head CI https://github.com/openclaw/openclaw/actions/runs/34364996533 passed at exact b2df16bab5e4c7b4b5184238226ac4a5a5cfd1da, including required openclaw/ci-gate at 2026-09-09T14:51:21Z. The old run was not retried.

The historical probe exercised real GET/ZIP transport, not a successful hosted diagnostic join or a complete observation of that pair. No hosted FRV/no-op dispatch, release operation or registry mutation was performed. Passing hosted CI does not close the successful hosted-join proof gap. Exit 0 denotes a completed observation, not a successful or authorized release.

Release Context

This consumes the version-1 publication diagnostic contract from #142938. It does not import unpublished producer code or require a producer merge to build. Producers without supported exact-attempt linkage remain explicitly unverified.

Related: #131726. This change does not resolve that broader release-tracking issue.

@vincentkoc vincentkoc self-assigned this Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 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.

@vincentkoc
vincentkoc marked this pull request as ready for review September 9, 2026 14:20
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Sep 9, 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 Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 10:45 AM ET / 14:45 UTC (Revision 2).

ClawSweeper review

What this changes

Adds an optional publication-run selector to Full Release Validation status, showing attempt-bound publication observations alongside validation results.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: fetched main and the latest release lack the requested combined view. No blocking introduced defect was found, and the follow-up commit correctly updates the two routing expectations without weakening them.

Priority: P2
Reviewed head: b2df16bab5e4c7b4b5184238226ac4a5a5cfd1da

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent optional reader with substantial boundary coverage, explicit proof limits and no blocking correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its reported real CLI probe exercises authenticated GET/ZIP transport and candidate-mismatch rejection; successful hosted diagnostic joining remains covered by CLI fixtures rather than a demonstrated live join.
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 reported real CLI probe exercises authenticated GET/ZIP transport and candidate-mismatch rejection; successful hosted diagnostic joining remains covered by CLI fixtures rather than a demonstrated live join.
Evidence reviewed 8 items Current main still lacks the requested interface: At fetched main, argument parsing rejects unknown flags and status only prints continuation results; there is no publication selector or combined observation reader.
Latest release also lacks the selector: The supplied latest release, v2026.9.3, has the older parser without --publication-run.
Bounded observation boundary: The new reader uses explicit GET requests through the existing GitHub CLI route, bounds pagination and bytes, checks artifact digests and metadata, and rechecks observed run identities. The selected path performs no release dispatch or publication.
Findings None None.
Security None None.

How this fits together

Full Release Validation is OpenClaw’s release qualification tooling. Its status command reads GitHub workflow runs and artifacts and presents their results to release operators.

flowchart TD
  A[Validation and publication run IDs] --> B[Authenticated GitHub reads]
  B --> C[Workflow and artifact checks]
  C --> D[Match diagnostic to validation attempt]
  D --> E[Collect publication observations]
  E --> F[JSON or terminal status]
  C --> G[Classified incomplete result]
  G --> F
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +1403, Docs +67, Other +1468. Total +2938 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 1403 0 +1403
Docs 1 67 0 +67
Config 0 0 0 0
Generated 0 0 0 0
Other 3 1470 2 +1468
Total 6 2940 2 +2938

Review metrics

Metric Value Why it matters
CLI surface 1 optional status selector --publication-run adds an explicit observation mode while leaving ordinary status, continue and verify selection intact.
Production versus test growth Production/tooling net +1468 lines; tests +1403 lines Production growth implements bounded evidence collection, validation and presentation; the test growth exercises those boundaries through the CLI.

Technical review

Best possible solution:

Keep the combined view observational, preserve legacy status behavior, and expose missing or contradictory evidence without implying publication authority.

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

Not applicable as a defect reproduction: this adds an operator capability, and source inspection confirms the selector is absent from fetched main and v2026.9.3.

Is this the best way to solve the issue?

Yes. An optional reader reusing existing validation and archive checks fits the requested boundary, while keeping release authorization and legacy commands separate.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This improves release-operator diagnostics without evidence of an urgent production incident.
  • 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 reported real CLI probe exercises authenticated GET/ZIP transport and candidate-mismatch rejection; successful hosted diagnostic joining remains covered by CLI fixtures rather than a demonstrated live join.

Evidence

What I checked:

  • Current main still lacks the requested interface: At fetched main, argument parsing rejects unknown flags and status only prints continuation results; there is no publication selector or combined observation reader. (scripts/frv.mjs:72, faef46e142f0)
  • Latest release also lacks the selector: The supplied latest release, v2026.9.3, has the older parser without --publication-run. (scripts/frv.mjs:72, 1391f7cd2d40)
  • Bounded observation boundary: The new reader uses explicit GET requests through the existing GitHub CLI route, bounds pagination and bytes, checks artifact digests and metadata, and rechecks observed run identities. The selected path performs no release dispatch or publication. (scripts/frv.mjs:901, b2df16bab5e4)
  • Producer contract checked directly: The version-1 schema in the still-open producer PR fix(ci): retain postpublish diagnostics when verification fails #142938 supplies the context, stage, child and attempt fields consumed here. The consumer explicitly leaves missing or unsupported linkage unverified; producer implementation is separate work. (scripts/lib/release-beta-verifier.ts:193, aae9a5adae8b)
  • Re-review continuity: Comparison with the previously reviewed head shows only two insertions in routing expectations. Both retain exact equality and ordering while including the newly referenced FRV tests. The previous review contained no findings. (test/scripts/test-projects.test.ts:1184, b2df16bab5e4)
  • Behavioral coverage and proof limits: Read the CLI fixture coverage for successful joins, partial failures, changing attempts, missing evidence, archive rejection, output bounds and legacy behavior. The captured PR body reports a real historical CLI probe against runs 34299761825 and 34231609422: authenticated reads and ZIP checks succeeded, differing candidates were rejected, and observations were retained. It expressly does not claim a successful hosted diagnostic join. Reported tests were not rerun during this read-only review. (test/scripts/frv.test.ts:1628, b2df16bab5e4)

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: 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 (1 earlier review cycle)
  • reviewed 2026-09-09T14:32:45.556Z sha 418ded2 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc merged commit e6b8b54 into main Sep 9, 2026
137 of 138 checks passed
@vincentkoc
vincentkoc deleted the fix/frv-publication-status-20260909 branch September 9, 2026 14:59
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 9, 2026
…er-ownership-20260909

* origin/main: (147 commits)
  fix(cli): reject blank account selectors before command startup (#143088)
  fix(update): repair young runs after recorded drivers exit (#143136)
  test(telegram): close model callback fixture connections (#143197)
  improve(test): reduce Telegram policy fixture startup overhead (#143192)
  test(ci): stabilize systemd manager shim timing (#143134)
  fix(test): retire chat preview Escape listeners during teardown (#143191)
  test(memory-wiki): share visibility test callbacks (#143181)
  fix(ci): accept native iOS keychain filenames (#142968)
  fix(ci): show publication observations in FRV status (#143171)
  fix(github): point the stuck-FAQ auto-response at a live anchor (#143194)
  docs: correct verified accuracy defects in CLI, tools, and automation pages (#143179)
  refactor(tests): remove duplicate Mistral cache-cost test (#143172)
  fix(doctor): complete canonical model-reference migration (#142284)
  fix(ci): reject stale and empty timing sample cohorts (#143182)
  fix(ui): remove first-reply confetti from chat (#143167)
  docs: split help/faq into 13 topic pages (#143150)
  refactor(docs): require caller-owned route indexes (#143164)
  fix(android): distinguish connection status from chat readiness (#143128)
  refactor: share agent-turn execution test defaults (#143166)
  fix(cli): print immutable-config refusals without crash framing (#143140)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
* fix(ci): show publication observations in FRV status

* fix(ci): include FRV fixtures in release routing expectations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL 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.

feat(ci): expose publication observations in FRV status

1 participant