Skip to content

fix(release): publication status omits release and Windows source identities - #170274

Merged
RomneyDa merged 1 commit into
mainfrom
fix/frv-publication-release-identity
Oct 14, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/frv-publication-release-identity

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes publication status omitting the release identity and Windows source tag while showing their verification results.

User Impact

Operators can see the publisher's expected version, tag, npm dist-tag and source SHA, plus the Windows target/source tags, without reconciling the original artifacts manually. Mac assets/feeds and website deployment remain explicitly not observed by this reader, with guidance to their existing owners.

Why This Change Was Made

The read-only FRV report already authenticates these producer diagnostics and Windows dispatch records, but discarded their release fields before rendering. Carry those recorded facts into the existing projection instead of adding another reporter or publication authority. Preserve unknown values when diagnostics are absent.

This is a bounded reporting repair, not automatic cross-repository Mac/site tracking: retained stable-orchestration facts and the website owner's read-only production checks remain their canonical paths. There are no new network reads, configuration, retention, schemas, dependency changes or release operations. Production growth is 31 lines for the missing projection fields and honest next-step text; tests add 12 lines to existing cases without new subprocesses.

Evidence

  • Regression reproduced through the real frv status --publication-run ... --json CLI fixture before the production change: the authenticated diagnostic's release identity was missing (undefined). It passes after the repair.
  • node scripts/run-vitest.mjs test/scripts/frv.release.test.ts --maxWorkers=1 (native wrapper for pnpm test test/scripts/frv.release.test.ts --maxWorkers=1): 107/107 passed, 93.62s wrapper wall time (88.25s Vitest). The existing file is a CLI transport/evidence suite; no new test boot or timer was added. Exact-head hosted CI passed in 548 seconds wall time (21:45:41–21:54:49 UTC).
  • The seven changed-path cases pass in 12.99s wrapper wall time, covering partial/failed publishers, unattempted verification, text output and pending/failed Windows children.
  • Targeted script and root-test typechecks, lint, formatting, and git diff --check pass. Fresh independent review through P2 found no accepted/actionable findings.
  • Existing unknown-state, identity mismatch, detached-child, privacy and output-bound cases remain green. The guidance link was checked against the current website README; no website deployment or release dispatch was performed.

Local tool limitation resolved: a first check run rejected a shared dependency symlink at the declaration containment gate; a task-private frozen dependency install replaced it. Completed guards were retained and the remaining targeted checks resumed. No shared dependencies were modified.

A broad optional dead-export scan reported three unchanged core exports (hasActiveDeliveryOwner, listOpenClawStateFeatureSchemas, OpenClawStateFeatureSchema). The touched scripts scan and full-tree scan passed; the two owning core files are byte-identical to the pinned base. This is an unresolved local guard result, not a claim about hosted CI attribution.

No live successful publisher/validation pair or current public registry readback is claimed. The production CLI boundary uses fixed GitHub GET/ZIP fixtures; the change adds no API behavior. Exact-head hosted CI is attached to 11ef37d14d9c5de33487bdf5c347a61d4260be90 completed successfully; the required CI gate is green. Skipped jobs are not claimed as executed.

Final handoff: current head is non-draft and mergeable; all checks settled with no failures. Latest ClawSweeper review reports no findings. No merge or release operation performed.

@RomneyDa
RomneyDa marked this pull request as ready for review October 12, 2026 21:45
@clawsweeper

clawsweeper Bot commented Oct 12, 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 docs Improvements or additions to documentation scripts Repository scripts size: XS labels Oct 12, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds release identity and Windows target/source tags to FRV publication status and clarifies where to inspect Mac and website publication.

Example: Inspect publication diagnostics for release 2026.9.9 with Windows source tag windows-v1.

  • Before: Verification results appear without the release identity or Windows source tag.
  • After: Status includes version 2026.9.9, tag v2026.9.9, dist-tag latest, and Windows source-tag windows-v1.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Focused, apparently correct repair with useful CLI regression coverage; supplied execution evidence remains fixture-based and broad CI is pending.
Proof confidence 🦐 gold shrimp (3/6) Maintainer-authored PR outside the ordinary contributor proof gate; supplied coverage invokes scripts/frv.mjs with fixed GitHub GET/ZIP responses for JSON, text, and Windows observations, without claiming live publication verification.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators must manually inspect producer artifacts to identify the release and Windows source associated with displayed verification results.
Reason: A small repair makes existing diagnostics useful without expanding publication scope, and the maintainer-authored PR supplies direction.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it fixes a source-confirmed reporting omission that remains on current main, and review found no actionable defects.

Priority: P3
Reviewed head: 11ef37d14d9c5de33487bdf5c347a61d4260be90

Before merge

None.

Findings

None.

Agent review details

How this fits together

The FRV status CLI reads authenticated GitHub workflow artifacts, projects their recorded publication facts, and renders JSON or text for release operators.

flowchart LR
  A[Release diagnostics] --> C[Authenticated artifact reader]
  B[Windows dispatch record] --> C
  C --> D[Publication observation]
  D --> E[JSON status]
  D --> F[Text status]
Loading

Technical review

Best possible solution:

Retain the focused projection repair and its existing separation between recorded observations and publication authority.

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

Current-main source parses the diagnostic release fields and Windows source tag but omits them from the observation projection; the body also reports CLI-fixture red/green reproduction.

Is this the best way to solve the issue?

The patch fixes the omission at the existing projection owner, reuses validated inputs, preserves unknown values, and adds no network requests or competing reporter.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Publication observations and identity projection keeps the original intent (e6b8b54: Expose independently authenticated, attempt-bound publication facts while preserving unknown states and withholding publication authorization.)
  • Release-only CLI regression suite keeps the original intent (f8b7dba: Keep subprocess-heavy release tooling tours in release validation while retaining cheaper contracts in PR checks.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Pinned change and current-main comparison: The introduced diff adds projection fields, rendering, documentation, and assertions; current main retains the original omission in these files. (scripts/frv-publication-status.mts:530, 11ef37d14d9c)
  • Existing authentication remains authoritative: Release fields are copied after diagnostic parsing and producer authentication; Windows tags are copied after artifact admission, upload-job validation, parsing, and release-tag comparison. (scripts/frv.mjs:2438, 11ef37d14d9c)
  • Observable CLI regression coverage: Existing subprocess scenarios now assert release identity in JSON and text and Windows target/source tags for pending and failed children; the body reports a failing pre-fix assertion and passing post-fix suite. (test/scripts/frv.release.test.ts:701, 11ef37d14d9c)
  • Read-only Mac guidance: The suggested release:stable command accepts the same stable-version format and returns retained phase state before acquiring a release lock, saving state, or executing release phases. (scripts/release-stable.mts:144, 11ef37d14d9c)
  • Original product intent: fix(ci): show publication observations in FRV status #143171 established authenticated publication observations as historical facts rather than release authorization; this PR preserves that distinction. (scripts/frv-publication-status.mts:738, e6b8b54a0bb0)
  • Policy and inspection limits: Root, scripts, docs, and test AGENTS.md files were read and applied; no maintainer-notes directory exists. History traversal reached a missing historical object, and the website README API returned 404; neither establishes a patch defect. (AGENTS.md:1, 11ef37d14d9c)

Likely related people:

  • Vincent Koc: Raw commit e6b8b54 adds scripts/frv-publication-status.mts:616 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e6b8b54a0bb0; files: scripts/frv-publication-status.mts)
  • Peter Steinberger: Raw commit f8b7dba adds test/scripts/frv.release.test.ts:395 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f8b7dbaa466e; files: test/scripts/frv.release.test.ts)
  • Dallin Romney: Raw commit 1cf6c01 adds test/scripts/frv.release.test.ts:489 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1cf6c01239d8; files: test/scripts/frv.release.test.ts)

PR surface

Tests +12, Docs +8, Other +31. Total +51 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 12 0 +12
Docs 1 10 2 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 2 31 0 +31
Total 4 53 2 +51

Review metrics

Metric Value Why it matters
Production versus test growth Production +31/-0 lines; tests +12/-0 lines Growth carries missing fields through the existing owner and extends existing CLI scenarios without adding subprocess cases.

Labels

Label changes:

  • add P3: This improves release-operator diagnostics without changing publication execution or end-user runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This improves release-operator diagnostics without changing publication execution or end-user runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 12, 2026, 5:52 PM ET / 21:52 UTC.

@RomneyDa
RomneyDa merged commit 35fffec into main Oct 14, 2026
182 checks passed
@RomneyDa
RomneyDa deleted the fix/frv-publication-release-identity branch October 14, 2026 23:55
RomneyDa added a commit that referenced this pull request Oct 20, 2026
…8170)

* fix: ClawHub release verification fails while publication is pending (#168153)

* fix(release): verify ClawHub only after public finalization

* fix: align ClawHub recovery with authoritative publication state

(cherry picked from commit 7985ac2)
Co-authored-by: RomneyDa <[email protected]>

* fix: Linux feed publication tolerates stale public downloads (#168179)

(cherry picked from commit 18f2006)
Co-authored-by: RomneyDa <[email protected]>

* feat(pr): scope worktree cleanup to one PR (#168152)

(cherry picked from commit 51c0f56)
Co-authored-by: RomneyDa <[email protected]>

* feat(release): reconcile exact owned validation cancellation trees (#168267)

* feat(release): reconcile exact owned FRV cancellation trees

* fix(release): parse cancellation provenance with fixed patterns

* fix(release): normalize rerun copies before cancellation discovery

(cherry picked from commit 02a2bd2)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): recover failed receipts without rerunning workloads (#168266)

* fix: recover failed release receipts without rerunning workloads

* test(release): materialize publication harness preload closure

(cherry picked from commit 4485101)
Co-authored-by: RomneyDa <[email protected]>

* fix(qa): restore Telegram progress E2E delivery (#168675)

(cherry picked from commit 1fbfd4a)
Co-authored-by: RomneyDa <[email protected]>

* docs(release): generate release notes once after validation-recovery backports (#169495)

(cherry picked from commit 696fb2f)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): explain why release:candidate --workflow-sha must be trusted main (#169496)

(cherry picked from commit 513d0e7)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): full release validation helper fails when main advances before admission dispatch (#169500)

(cherry picked from commit 992410c)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): derive attested publish tooling in npm postpublish verification (#169497)

(cherry picked from commit 1f8307f)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): report candidate supersession and resume watchers (#168271)

* fix(release): report candidate supersession and resume watchers

* fix(release): keep invalid candidate metadata advisory to watchers

(cherry picked from commit cdb57ac)
Co-authored-by: RomneyDa <[email protected]>

* fix(pr): stop waiting for advisory ClawSweeper reviews (#169739)

(cherry picked from commit c2d1513)
Co-authored-by: RomneyDa <[email protected]>

* ci: let PR checks finish and classify inherited failures (#169647)

* ci: finish PR jobs and classify failures against main

* ci: distinguish signature and job-name failure attribution

* test(ci): avoid object spread in failure fixtures

* ci: classify differing validation scopes as unknown

(cherry picked from commit 7c4ff5a)
Co-authored-by: RomneyDa <[email protected]>

* fix(pr): scripts/pr keeps a lock after a failed command that fully drained (#169595)

* fix(pr): release drained failed-operation locks instead of requiring manual recovery

* test(pr): drop unused lock owner initializer

* docs(pr): drop obsolete blanket failure-retention claim

(cherry picked from commit a939a9d)
Co-authored-by: RomneyDa <[email protected]>

* fix(update): success headline hides post-swap steps that did not run (#170490)

(cherry picked from commit f26cdca)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): require current website downloads at closeout (#170704)

* fix(release): require current website downloads at closeout

* fix(release): verify request-time downloads before closeout receipts

* style(release): use braces for dispatch validation

(cherry picked from commit 0c51cc6)
Co-authored-by: RomneyDa <[email protected]>

* fix(ci): prevent avoidable FRV retries and cold setup failures (#170964)

* fix(ci): preserve FRV work through transient GitHub reads

* fix(ci): retain cache reads for frozen workflow targets

* fix(ci): count contributing packed release timing samples

* fix(ci): avoid stalled iOS simulator diagnostics

* test(ci): correct FRV regression assertions and output capture

(cherry picked from commit 5cd688d)
Co-authored-by: RomneyDa <[email protected]>

* fix(update): stabilize stalled recovery cleanup validation (#171507)

* test(update): await recovery descendant before fixture expiry

Expire the generated helper recovery timeout callback after the isolated command has persisted a live descendant PID and emitted readiness. Keep process-group termination and close joins native, retain the durable failed sentinel and dead-descendant assertions, and bound missing readiness with a fixture watchdog.

Refs #170803 (stalled-recovery fixture race only).

* test(update): load recovery clock from fixture module

Replace the added hand-written preload source template with a test-owned ESM fixture and per-case JSON configuration. Preserve exact helper and recovery command scoping, native timeout callback and watchdog cleanup, persisted descendant readiness and existing deadline, close-order, sentinel and process-death assertions.

Production behavior and deadlines are unchanged. Refs #170803 (stalled-recovery fixture race only).

* test(update): join state workers before handoff cleanup

Await the maintained state-database test cleanup owner before removing managed-handoff fixture directories. Synchronous native-handle close only starts worker retirement and can race the final WAL cleanup, observed as ENOTEMPTY in the retained-notification triage case.

Reuse closeStateDatabaseForTest without retries, timing seams, triage behavior changes or production changes. Refs #170803 (managed-handoff test fixtures only).

(cherry picked from commit 4a25358)
Co-authored-by: RomneyDa <[email protected]>

* test(agents): retire session MCP managers left by earlier test files (#172515)

(cherry picked from commit d4be691)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): show publication release and Windows source identities (#170274)

(cherry picked from commit 35fffec)
Co-authored-by: RomneyDa <[email protected]>

* fix: distinguish workflow approval and exception capabilities (#172661)

(cherry picked from commit aade2f8)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): expose Linux builder admission and retain failed bundles (#170297)

* fix(release): expose Linux builder admission and retain failed bundles

* fix(release): preserve unconfirmed Linux dispatch status

* fix(ci): make Linux build event admission explicit

* fix(ci): separate Linux mirror dispatch from release builds

* fix(ci): budget cold Linux source package builds

(cherry picked from commit 614f559)
Co-authored-by: RomneyDa <[email protected]>

* fix(ui): let locale refresh workers bootstrap new locale memory (#172689)

(cherry picked from commit 17bea1c)
Co-authored-by: RomneyDa <[email protected]>

* test(gateway): prewarm history worker before composed SDK request budgets (#172745)

(cherry picked from commit 2051055)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): packed package check refuses a root dist above 10,000 JavaScript files (#172954)

(cherry picked from commit 244cd79)
Co-authored-by: RomneyDa <[email protected]>

* test(agents): Bun agents-support shard fails after the question authority test leaks sharing reads (#172974)

(cherry picked from commit 54f0b41)
Co-authored-by: RomneyDa <[email protected]>

* test(plugins): IRC direct import smoke times out on loaded runners during its cold compile (#173105)

* test(plugins): IRC direct import smoke times out on loaded runners during its cold compile

* test(googlechat): keep the direct smoke test deadline above its child budget

(cherry picked from commit 8bc4915)
Co-authored-by: RomneyDa <[email protected]>

* fix(test): interrupted test wrappers miss their signal exit verifying a generation (#173068)

* fix(test): interrupted test runs miss their signal exit verifying a generation they will delete

* fix(test): keep borrower disposal verification; skip it only for interrupted wrappers

* fix(test): return the shim interruption result on every path

(cherry picked from commit b66e0fc)
Co-authored-by: RomneyDa <[email protected]>

* test(openshell): registration lifecycle test fails when registry retirement outlasts its 1s poll (#173205)

(cherry picked from commit 7cd0f47)
Co-authored-by: RomneyDa <[email protected]>

* fix(android): prepare focused proof before running Gradle (#172668)

* fix(android): prepare focused proof before running Gradle

* test(android): reach proof prerequisites on Linux ARM

* test: remove duplicated Android job structure assertion

* fix: seed stored inference account for Docker cron cleanup

(cherry picked from commit 404b708)
Co-authored-by: RomneyDa <[email protected]>

* fix: preserve bound Codex history after app-server restart (#172705)

(cherry picked from commit 9fe4372)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): Linux channel promotion fails after a withdrawn Windows companion (#173615)

(cherry picked from commit c58afa2)
Co-authored-by: RomneyDa <[email protected]>

* ci(release): temporarily disable Windows companion publication (#173656)

(cherry picked from commit 99ce3ea)
Co-authored-by: RomneyDa <[email protected]>

* fix(qa): Telegram live lane fails scenarios when the stale-update drain hits a transient Bot API error (#173465)

* fix(qa): retry Telegram stale-update drain through transient Bot API failures

* fix(qa): cancel Telegram drain waits on proxy stop and cap attempts by budget

* test(qa): prove the Telegram drain abandons a stalled attempt at its deadline

* test(qa): drop timing-dependent upstream count from Telegram drain deadline test

(cherry picked from commit 387ebd6)
Co-authored-by: RomneyDa <[email protected]>

* test(scripts): give relocated worker facade and image tests the archive budget (#174556)

(cherry picked from commit 746a52a)
Co-authored-by: RomneyDa <[email protected]>

* test(ui): settle lazy preference reader before profile identity waits (#174614)

(cherry picked from commit d6ea634)
Co-authored-by: RomneyDa <[email protected]>

* test(plugins): collect Bun recovery retention from a timer phase (#174924)

Bun's JavaScriptCore scans native stacks conservatively. Under load, the
immediate dispatcher can keep a stale pointer to the completed recovery
fixture graph across every immediate-phase collection, so the retired
PluginInstance stayed reachable only through GC-internal roots. A
collection from a timer callback releases it. When the expected
references are still live after the existing immediate passes, run up to
four timer-phase collections; a strong retainer still fails.

(cherry picked from commit 8919729)
Co-authored-by: RomneyDa <[email protected]>

* test(scripts): adapt worker archive timeout backport

Keep the release branch test inventory while granting the two relocated archive cases the intended three-minute budget.

Co-authored-by: RomneyDa <[email protected]>

* fix(codex): adapt unloaded-thread recovery to release params

Use the release branch request parameter directly when deciding whether an ordinary bound thread may be resumed.

Co-authored-by: RomneyDa <[email protected]>

* test(codex): adapt recovery fixture to release helper

Use the release branch thread-result helper signature so the recovery regression validates the intended thread identity.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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