Skip to content

improve(ci): avoid recompressing candidate registry artifacts - #200386

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/frv-registry-upload-20261117
Nov 18, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/frv-registry-upload-20261117

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The shared FRV candidate producer recompresses the prerelease plugin registry, which already consists almost entirely of gzip-compressed npm tarballs. Its neighboring package/image uploads and the other registry uploaders already disable this redundant compression.

User Impact

No validation or published package changes. Set the existing upload action’s compression level to zero; retain every registry file, manifest/digest check, artifact identity, missing-file error and consumer. This is a small runner-efficiency improvement, not a claim of minutes saved from FRV.

Evidence and Wall-Time Assessment

  • Real input: candidate run 43998194486, artifact 14291137296, 54 files / 130,006,985 bytes.
  • Five interleaved Python ZIP proxy pairs over those exact files: median level-6 wall 1.800 s, stored wall 0.098 s. Archive sizes 129,960,111 → 130,015,299 bytes: +55,188 bytes, approximately 0.042%. Every member’s bytes were verified after every archive round trip. This measures local ZIP work, not the hosted action or whole FRV.
  • The transfer tradeoff is explicit: the extra ~54 KiB would erase the measured ~1.70 s saving only below roughly 32 KiB/s incremental throughput. No extra job, queue delay, setup, dependency barrier or concurrent memory load is added. Parent wall improvement can be zero while another qualification branch dominates.
  • The pinned upload action supports level zero for incompressible data. Registry upload began in a0deb8e (fix(release): prevent prerelease upgrade QA from missing official plugins #120107); this does not undo a documented compression requirement.
  • Compact workflow regression fails on the base’s missing compression setting. The complete package-acceptance workflow suite passes: 587 tests, 147.56 s on the pinned Bun runner. Scoped canonical typecheck, type-aware lint, formatting, diff checks, and pinned actionlint/zizmor/workflow guards pass.
  • These are configuration/coverage and archive-byte proofs; no end-to-end hosted upload speedup is claimed.

Simplification

Production +1/-0, tests +6/-0, two files. No new helper, policy owner, benchmark framework or committed bulky fixture. The regression extends the existing registry-consumer contract and retains missing-file failure behavior.

Historical review evidence (superseded readiness assessment)

Verified November 17, 2026, 03:36 UTC at a6f06b5: conflict-free; ClawSweeper completed with no findings or before-merge items. Exact-head CI completed with no related failing checks. CI is not all green: its sole substantive failure is the unchanged private-UI ownership inventory assertion (91 versus 90), reproduced locally and independently on #200380; the aggregate gate reflects it. Failure attribution and source comparison. No baseline was relaxed or failure hidden. That earlier readiness assessment is superseded by the owner’s all-green CI requirement. This PR is NOT RFR until repaired-head CI and hosted review finish.

November 18 CI repair

Integrated upstream #200402 (a62e4e1) with original author credit: classify the existing recovery browser test under its private-server owner. No test exclusions or weakened assertions. Previously failing exact ownership regression now passes (1 selected / 225 unrelated skipped); format, lint and diff checks pass. Original archive implementation and 587-test/byte-parity proof are unchanged. Prior inherited-red RFR designation is withdrawn: repaired-head green CI and fresh hosted review are required.

Current readiness — November 18, 2026

Repaired exact-head CI is fully green, hosted ClawSweeper is complete with no findings or before-merge items, and GitHub reports MERGEABLE. Ready for review; no merge performed. Exact-head receipts and qualification evidence. This supersedes historical pending/red-CI status above.

@clawsweeper

clawsweeper Bot commented Nov 17, 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. 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. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Disable compression for the candidate plugin registry upload and incorporate the merged browser-test ownership repair.

Example: Release validation uploads docker-e2e-prepublish-plugin-registry-43998194486-1.

  • Before: The upload action applies its default compression level of 6 to already compressed npm tarballs.
  • After: The upload action uses level 0 while preserving files, artifact identity, and validation.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-supported; performance evidence uses a local ZIP proxy rather than the changed hosted uploader.
Proof confidence 🦐 gold shrimp (3/6) This CI-only change needs no shipped-product demonstration; supplied workflow-test and local archive-comparison results support configuration correctness, while hosted upload performance remains unclaimed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Release qualification spends runner CPU recompressing plugin tarballs that are already compressed.
Reason: The maintainer-authored direction matches existing upload policy and explicitly accepts the small archive-size tradeoff without claiming a whole-workflow speedup.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused CI efficiency improvement that main still lacks, with no actionable defect found; the author's green-CI readiness pause remains.

Priority: P3
Reviewed head: 0cc1ea0551b8f8161562c2ea0f7457ef3159bf88

Before merge

None.

Findings

None.

Agent review details

How this fits together

The reusable release-validation workflow packages candidate plugins, verifies their manifest and hashes, and uploads an artifact consumed by downstream Docker qualification jobs.

flowchart LR
  A[Candidate plugin packages] --> B[Registry preparation]
  B --> C[Manifest verification]
  C --> D[Artifact upload]
  D --> E[Artifact download]
  E --> F[Docker qualification]
Loading

Technical review

Best possible solution:

Use the existing uploader's level-zero setting while preserving registry contents, identity checks, and downstream qualification.

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

Main omits the uploader's compression input, which the pinned action defaults to level 6; the read-only review did not execute an upload or benchmark.

Is this the best way to solve the issue?

The existing action input is the smallest complete change at the owning boundary, and the upstream CI repair restores the existing test-routing contract.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Prerelease registry artifact transport keeps the original intent (a0deb8e: Transport immutable unpublished plugin companions with candidate identity and hash verification for release qualification.)
  • Precompressed release artifact upload policy keeps the original intent (bc81641: Avoid redundant compression while retaining artifact contents and producer-consumer contracts.)
  • Recovery browser test ownership keeps the original intent (a62e4e1: Classify the existing source-server test under the canonical private-server owner without weakening browser assertions.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit a0deb8e adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:2487 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a0deb8edae1a; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • Dallin Romney: Raw commit 319a142 adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:3603 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 319a14299d7a; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • Peter Steinberger: Raw commit a162944 adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:2771 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: a162944f5483; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)

PR surface

Tests +7, Config +1. Total +8 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 7 0 +7
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 0 0 0 0
Total 3 8 0 +8

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is a small CI efficiency improvement without product-runtime changes or demonstrated release urgency.
  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-17T03:32:41.572Z sha a6f06b5 :: needs maintainer review before merge. :: none

Reviewed November 17, 2026, 10:13 PM ET / November 18, 2026, 03:13 UTC (Revision 2).

@RomneyDa

Copy link
Copy Markdown
Member Author

Exact-head CI attribution

Run 44009173999 at PR head a6f06b529aa2c37dffd2706183831440680095f6 completed with one failing test job (133792311502) plus its aggregate gate: the private Control UI ownership guard detects 91 files versus 90 declared, specifically extensions/openclaw-id-access/browser/recovery-uses.e2e.test.ts.

The guard's failing assertion in test/scripts/ci-ui-e2e-ownership.test-support.ts:106 scans tracked UI/browser tests and compares the existing serial inventory. Those inputs and the guard are unchanged from base 6ba51132e323cff0239e1d91279836202c060e00. The same assertion was reproduced locally during the focused workflow guard run (one failed, one passed, 224 skipped); the workflow-size guard passes. Neither this PR's artifact compression setting participates in that assertion. No baseline was relaxed or failure rerun away.

The 587 focused package/workflow tests, scoped type/lint/format and workflow scanners pass. The real-archive compression comparison is a local ZIP proxy, not a measured hosted upload or whole-FRV speedup.

This records an inherited CI failure, not a green-CI claim. Hosted review and remaining proof are tracked separately.

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

Repaired exact-head CI and review — November 18, 2026

Head 0cc1ea0551b8f8161562c2ea0f7457ef3159bf88: CI 44227730572 completed successfully, including the formerly failing ownership guard and the aggregate CI gate. The canonical UI-server ownership repair from #200402 was cherry-picked with original author/reference; no failure was waived or baseline relaxed.

ClawSweeper completed on this exact head with zero findings and no before-merge items; re-review command receipt 6967753023 is complete. GitHub reports OPEN / MERGEABLE. Ready for review, not merged.

The original 587-test proof, immutable registry contents and five-pair archive-byte comparison remain applicable. Local ZIP savings are a proxy, not a hosted-upload or whole-FRV measurement.

@RomneyDa
RomneyDa merged commit 27a5de4 into main Nov 18, 2026
126 checks passed
@RomneyDa
RomneyDa deleted the openclaw/frv-registry-upload-20261117 branch November 18, 2026 11:46
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…aw#200386)

* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit 4a2270d)

---------

Co-authored-by: Vincent Koc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* chore: retire June upgrade baselines from release validation

Advance the shared automatic qualification floor to 2026.7.1 and align existing baseline fixtures. Preserve explicit historical baseline selection.

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

* chore: retire June upgrade baselines from release validation

OpenClaw-Publication: 30a4a362-5ccc-4ac7-b2cf-b340fdb0e66a

* chore: remove pinned oldest upgrade baseline

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

* Publish openclaw/remove-outdated-release-upgrade-scenarios

OpenClaw-Publication: 69a19a1c-7527-4f9e-a1ba-62c34bd25bd0

---------

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

Companion audit: #201313, #200527, #200386, #200562 touch workflow/test neighbors but are independent and assigned separately. Explicit historical baseline selectors remain supported.

(cherry picked from commit 9fc44690ad196164e038afe931c81c113d79e87f)
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 27a5de4)
Co-authored-by: RomneyDa <[email protected]>
Backport review: Later #201313 modifies WebKit download recovery, independent of artifact compression. #200379 is selected separately; no required dependency for upload compression.:
(cherry picked from commit 90e3710c5d97b66059893d69f7a6a9631971380c)
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…aw#200386)

* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 27a5de4)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 62c1f04fec9e1c121d6d06a24d15dbc2ca9c1a4a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

2 participants