Skip to content

fix(ci): check publication registries before FRV fanout - #147184

Merged
vincentkoc merged 2 commits into
mainfrom
fix/frv-registry-admission-20260913
Sep 13, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/frv-registry-admission-20260913

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Closes #147179

What Problem This Solves

Fixes: Full Release Validation starts selected work before required publication registry state is checked, and later consumers cannot authenticate the original registry observations.

User Impact

Release operators get required registry failures before selected fanout and retain the same admission through recovery and publication verification. This is internal release tooling; it does not claim a faster or successful full FRV run.

Fresh publish requests require registry-capable frozen tooling. This fresh-request cutoff is part of the approved registry-admission change, not an automatic tooling upgrade. Source-admission-only tooling is rejected before remote writes. Retained requests keep byte-preserving read-only reconciliation, and eligible historical continuation retains its frozen identity. A fresh publish request on older tooling needs the release's compatible pinned execution route or a separately approved tooling change; this PR does not establish that every active release pin has such a route.

Publisher authorization, live registry planning, trust checks, and final readbacks remain mandatory.

Why This Change Was Made

Builds on source admission in #147049 with bounded public GET observations from verified inert metadata. Required reads fail closed; latest-only advice remains advisory.

Retains observations before final admission binding, authenticates the original attempt and interrupted checkpoints, and preserves distinct original/current evidence during reuse. Known enclosing artifacts are budgeted before fanout; unknown later job growth can still fail the unchanged final 1 MiB limit.

The checklist and shared evidence verification reuse authenticated observations instead of recollecting them. Publication, core npm, Docker-only recovery, preparation, and continuation compare their actual operations before effects. Supported package bootstrap remains unresolved downstream authority, not permission granted by FRV.

Evidence

  • Actual-entry RED/GREEN proof for required npm empty-history/errors, prepared ClawHub trust, and effects reached without authenticated admission.
  • 902 distinct latest-passing consumer test names across cumulative focused runs and the affected summary/routing owner runs, not a single full-suite pass. Earlier worker/receipt proof is retained separately, including 97 latest-passing receipt-checkpoint cases.
  • Actual CLI coverage for normal/prepared core and Docker projections, Windows JSON digest maps, raw-SHA stable/alpha contexts, wrong operands, and historical recovery.
  • Scoped script/test type and lint gates, workflow checks, formatting, diff checks, and all three unused-export scans passed.
  • One bounded public-GET transport fixture passed for root npm plus Discord npm/ClawHub: five logical keys, no registry writes or provider execution. This was not a full candidate inventory or hosted FRV proof.
  • Canonical independent P0-P2 review completed in two passes with no findings. Two documentation-only clarifications followed.
  • Initial hosted CI exposed 15 test-fixture compatibility failures. The six-test-file repair at 838413e8ab7fd690a1d340be102fc86d8af03d2b changes no production behavior and has 183 distinct latest-passing names across cumulative targeted runs, including all three newly affected test owners in full. The decoder table now verifies its intended rejection stages with the real import closure; workflow readbacks verify performance and Telegram evidence, exact artifact requests, and immutable upload/reuse ordering.
  • The repair's incremental test-root types, scoped lint, formatting, and diff checks passed. Its separate canonical P0-P2 delta review completed in two passes with no findings. These are cumulative results, not a single full-suite pass.
  • Retained-evidence compatibility tests cover original-attempt authentication, interrupted sealing with successful guarded upload, rejection of altered cached artifacts, and unchanged historical read-only recovery. This is data-model compatibility evidence, not an operational census of active release pins.

Exact-head hosted CI passed on 838413e8ab7fd690a1d340be102fc86d8af03d2b: 77 successful jobs, 16 skipped, zero failures, attempt 1: https://github.com/openclaw/openclaw/actions/runs/34772656190. All five repaired shards passed. Native landing checks remain pending. The original failed run remains retained: https://github.com/openclaw/openclaw/actions/runs/34768883854. No full FRV, release, publication, or provider workflow was dispatched for this change.

This is a same-repository maintainer branch, editable by repository maintainers.

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

clawsweeper Bot commented Sep 13, 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 13, 2026 16:32
@vincentkoc
vincentkoc requested a review from a team as a code owner September 13, 2026 16:32
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Sep 13, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 13, 2026, 1:57 PM ET / 17:57 UTC (Revision 2).

ClawSweeper review

What this changes

Full Release Validation checks selected publication registries before starting dependent work and preserves authenticated observations for recovery and publication checks.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains a useful follow-up to source-only admission on main. The maintainer explicitly resolved the previous tooling-cutoff decision, and the reviewed head introduces no identified blocking defect.

Priority: P2
Reviewed head: 838413e8ab7fd690a1d340be102fc86d8af03d2b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch provides a coherent owner-level repair and focused boundary coverage, with the prior compatibility decision now explicitly resolved.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary contributor-proof gate does not apply to this MEMBER-authored PR. Reported public-GET coverage is limited to five keys; inspected boundary tests cover admission, altered evidence, and wrong operands, without claiming a hosted FRV or publication run.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary contributor-proof gate does not apply to this MEMBER-authored PR. Reported public-GET coverage is limited to five keys; inspected boundary tests cover admission, altered evidence, and wrong operands, without claiming a hosted FRV or publication run.
Evidence reviewed 8 items Previous decision resolved: The MEMBER disposition explicitly accepts the fresh-request registry-capable tooling cutoff, retained-record compatibility evidence, bounded transport proof, and documented artifact-size limitation: #147184 (comment). This addresses the previous review’s sole retained rank-up move.
Current main still has source-only admission: The fetched main admission implementation verifies committed inventory and returns a source fact without collecting registry observations. The merged source-admission predecessor explicitly leaves registry qualification and final consumer-selection matching to follow-up work: #147049.
Latest release comparison: The workflow at the supplied latest-release commit does not declare the new publication-admission contract; no shipped implementation of this branch’s central change was established.
Findings None None.
Security None None.

How this fits together

Full Release Validation turns a release operator’s selected source, tooling, and publication inputs into validation jobs and retained evidence. Release preparation and publication consumers verify that evidence before proceeding through their existing authorization gates.

flowchart TD
  A[Release selection and frozen tooling] --> B[Verify committed source]
  B --> C[Read selected public registries]
  C --> D{Required observations valid?}
  D -->|No| E[Stop before dependent jobs]
  D -->|Yes| F[Retain immutable admission]
  F --> G[Validation and recovery]
  G --> H[Publication checks and existing authorization]
Loading

Before merge

  • Resolve merge risk (P1) - Fresh publish requests using source-admission-only frozen tooling will stop before remote writes; the accepted cutoff does not establish a compatible execution route for every active release pin.
  • Resolve merge risk (P1) - The reported five-key public-GET fixture does not establish full-inventory hosted behavior, and later job or attempt growth can still exceed the final 1 MiB evidence limit; these limits were explicitly accepted.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Tests +3774, Docs +44, Config -92, Other +2574. Total +6300 across 44 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 17 3933 159 +3774
Docs 5 46 2 +44
Config 3 93 185 -92
Generated 0 0 0 0
Other 19 2734 160 +2574
Total 44 6806 506 +6300

Review metrics

Metric Value Why it matters
Production versus test growth Production/tooling +2,482; tests +3,774 net lines Production growth supports bounded collection, retained-evidence authentication, and the coordinated consumer cutover described in the PR.

Stored data model

Persistent data-model change detected: serialized state: scripts/full-release-publication-contract.mjs, serialized state: scripts/full-release-publication-observations.mts, serialized state: scripts/openclaw-release-ready.mjs, serialized state: scripts/release-candidate-checklist.mts, unknown-data-model-change: scripts/full-release-publication-admission.mts, unknown-data-model-change: scripts/full-release-publication-contract.mjs, and 4 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Proceed with the accepted tooling cutoff (recommended)
    Retain the documented fresh-request refusal and historical recovery behavior under the maintainer’s recorded acceptance.

Technical review

Best possible solution:

Keep one authenticated admission record across validation and recovery, preserve final publisher authority checks, and retain the explicitly accepted frozen-tooling cutoff.

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

Yes, source establishes the gap: main’s source-admission entry point does not read required registry state before releasing dependent work. The branch contains controlled actual-entry regression cases; this read-only review did not execute them.

Is this the best way to solve the issue?

Yes. The patch extends the existing admission and evidence owners, reuses registry planners, and consolidates consumer authentication while preserving downstream publication checks.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs an internal release-process correctness gap without evidence of an urgent user-facing outage.
  • merge-risk: 🚨 compatibility: Fresh publication requests cease working with older source-only frozen tooling, an intentional cutoff explicitly accepted by the maintainer.
  • 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 ordinary contributor-proof gate does not apply to this MEMBER-authored PR. Reported public-GET coverage is limited to five keys; inspected boundary tests cover admission, altered evidence, and wrong operands, without claiming a hosted FRV or publication run.

Evidence

What I checked:

  • Previous decision resolved: The MEMBER disposition explicitly accepts the fresh-request registry-capable tooling cutoff, retained-record compatibility evidence, bounded transport proof, and documented artifact-size limitation: fix(ci): check publication registries before FRV fanout #147184 (comment). This addresses the previous review’s sole retained rank-up move.
  • Current main still has source-only admission: The fetched main admission implementation verifies committed inventory and returns a source fact without collecting registry observations. The merged source-admission predecessor explicitly leaves registry qualification and final consumer-selection matching to follow-up work: fix(ci): reject invalid release sources before FRV fanout #147049. (scripts/full-release-publication-admission.mts, fe625db116fa)
  • Latest release comparison: The workflow at the supplied latest-release commit does not declare the new publication-admission contract; no shipped implementation of this branch’s central change was established. (.github/workflows/full-release-validation.yml:1, 3a9d69db306c)
  • Bounded observation owner: The observation worker restricts requests to selected npm and ClawHub URLs, GET requests, and Accept headers; it rejects redirects, bounds collection, and records bootstrap authority as unresolved. The parent starts it with a restricted environment after verifying tooling bytes. (scripts/full-release-publication-observations.mts:173, 838413e8ab7f)
  • Original admission authentication: Restoration checks the original run, workflow contract, successful resolution, guarded upload ordering, artifact identity, and exact plan operands. Publication consumers share strict evidence authentication and compare their actual selection before preparation proceeds. (scripts/release-ci-summary.mjs:451, 838413e8ab7f)
  • Recovery and forbidden-operation coverage: Inspected tests exercise rejected registry responses before fanout, missing or altered original admission, wrong publication operands, and unavailable admission before preparation POSTs or request writes. These are source-inspected boundary tests, not tests executed during this review. (test/scripts/openclaw-release-ready.test.ts:1697, 838413e8ab7f)

Likely related people:

  • Vincent Koc: Raw commit 7bf4e2e adds scripts/full-release-publication-admission.mts:20 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7bf4e2e088bc; files: scripts/full-release-publication-admission.mts)
  • Peter Steinberger: 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-13T16:40:05.268Z sha 1f744bd :: blocked before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer disposition for the review at #147184 (comment): the planned registry-capable tooling cutoff for fresh publish requests is accepted for this scoped change.

Source-admission-only tooling is refused before remote writes. Retained-request reconciliation remains read-only and byte-preserving; eligible historical continuation retains its frozen identity and does not grant a fresh-request route. Fresh requests on older tooling require the release's explicitly compatible pinned execution route or a separately approved tooling change. No automatic upgrade is authorized, and no claim is made that every active pin is operable.

The retained-record compatibility proof is accepted: typed records, actual-entry recovery, original-attempt authentication, interrupted sealing with guarded upload, and altered-artifact rejection. The five-key live fixture is transport-only, not full-candidate or hosted FRV proof; unknown later job growth can still exceed the final artifact limit. These documented limits are accepted, not a request to run a full FRV.

The six-test CI repair is now at 838413e8ab7fd690a1d340be102fc86d8af03d2b, with 183 cumulative latest-passing cases and a clean independent delta review. Exact-head hosted CI, fresh substantive feedback, enforced rules and native landing gates still apply.

@vincentkoc
vincentkoc merged commit 6670690 into main Sep 13, 2026
141 checks passed
@vincentkoc
vincentkoc deleted the fix/frv-registry-admission-20260913 branch September 13, 2026 18:07
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 13, 2026
* commit '2d87daf04b78992382299d552f15ac84a86a23ed': (1815 commits)
  fix(ui): distinguish tool activity with semantic icons (#147207)
  fix(linux): recover completed Quick Chat replies without resending (#146048)
  feat(desktop): unify Tauri title bar and window controls (#147097)
  refactor(test): share plugin fixture server shims (#147225)
  perf(gateway): defer worker workspace execution imports (#143496)
  fix(gateway): post-ack webhook work fails with "Async work scope is closed" (#144801)
  refactor(scripts): centralize upgrade survivor version floors (#146975)
  fix(ci): check publication registries before FRV fanout (#147184)
  fix(qa): align system-agent delegation with channel contracts (#145905)
  improve: reduce repeated chat message identity work (#147210)
  fix(channels): remove stale pre-tool previews from Slack and Telegram (#147106)
  fix: keep catalog discovery scoped and execution lazy (#147159)
  fix: serialize reclamation worker shutdown with foreground writes (#147178)
  test(sessions): cover abrupt committed transcript recovery (#143984)
  fix: stop transcript storms during context overflow recovery (#147202)
  fix: reduce CPU overhead for small history and usage reads (#147205)
  fix: resume tasks after tools finish and the model times out (#147203)
  refactor(scripts): share SQLite reliability message waits (#146900)
  feat(exec): configure approval reviewer thinking and fastMode (#147192)
  test: remove redundant Bonjour module headers (#146981)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
)

* fix(ci): check publication registries before FRV fanout

* test(ci): align FRV registry admission workflow fixtures
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 merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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.

FRV starts selected validation before required registry admission

1 participant