Skip to content

fix(release): repair drained 2026.10.1 stable validation failures - #168256

Merged
RomneyDa merged 4 commits into
release/2026.10.1from
backport/2026.10.1-frv-drain-fixes
Oct 10, 2026
Merged

RomneyDa merged 4 commits into
release/2026.10.1from
backport/2026.10.1-frv-drain-fixes

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: the 2026.10.1 stable Full Release Validation (38018952807, candidate 31eb71fcf5c) has drained with non-transient failures. Three are in this PR:

  • the packed release smoke fails on any stable candidate;
  • Windows Gateways with installed plugins stall for minutes at startup;
  • the root-managed VPS upgrade lane is killed at its time limit after a successful update.

User Impact

User impact:

  • Windows: Gateways with installed plugins start without multi-minute plugin-capture stalls. On recent candidates the Gateway took 4 to 10 minutes to bind; passing runs bind in about 42 s.
  • Release validation: a stable candidate can pass the packed bundled-plugin activation smoke and the root-managed VPS upgrade lane.

Why This Change Was Made

Every leaf failure in the drained FRV was classified from its job log and artifacts. Where main had a fix, it is backported; where it didn't, the minimal owner-level repair is applied.

Drained failure Classification Change
npm pack smoke: openclaw plugins doctor exits 1 Deterministic on any stable candidate. Doctor enables the version-bound @openclaw/[email protected], which isn't published before the release. Backport #164881 (ee5350712981, clean): pin the smoke's openai/* agent runtime
Windows installer-fresh: Gateway start/restart times out Regression. The plugin source capture backport (7039983bd790, from #166189) sends every Windows file through fs-safe's guarded clone, which skips native copies and path-admission caching on win32. Main regressed the same way on Oct 6 and has no fix. Windows uses the existing pinned-descriptor copy for small ordinary files, as it did before #164680's migration; large and native files keep the guarded clone. The small-copy guard tests now run on Windows.
Docker root-managed-vps-upgrade: update-candidate exit 124 Budget too tight: 866 s of 900 s on a pass, killed after a successful update Use the published survivor's measured budget: 1500 s command, 2280 s run, 2580 s lane

Classified as transient, no change:

  • Telegram userbot did not become ready (2/25 scenarios);
  • UI e2e click hang (1/830);
  • Codex Luna dropped one marker character;
  • ollama extension-memory exit hang after import completed;
  • first-hop-compat 2026.9.4 cleanup race.

Each passed on the same SHA in sibling lanes or earlier runs.

Not code backports:

  • Kova mock-provider perf (status-cli RSS 950/900 MB): main is far worse at the same pinned thresholds. Needs a maintainer known-red classification or recalibration.
  • memory-runtime.owners.test.ts close count: an intermittent race, red on main as well. Root cause investigation is in progress, and its fix will join this PR if it is release-safe.

The Windows and VPS-lane repairs need to land on main too; I'll open follow-ups.

Evidence

  • test/release-check.test.ts: 48/48.
  • After rebasing on the merged fix(release): backport 22 P0/P1 fixes and the usage-refresh deadlock repair to 2026.10.1 #168198: docker-e2e-plan, targeted-docker-lane-groups, release-check and plugin-source-file.copy together pass 158/158.
  • plugin-source-file.copy.test.ts and plugin-generation-artifact.streaming.test.ts on macOS: 25/25.
  • Pending: a Windows Testbox before/after capture benchmark, plus the newly un-skipped copy guard tests on Windows.
  • Then a fresh stable all+soak FRV on the merged candidate.

…vivor budget

The root-managed VPS upgrade lane used the 900s default command timeout and a
1500s docker run cap. On hosted release checks its update-candidate phase took
866s on a pass and was killed at 900s after reporting a successful update
(release checks 38020418926). Share the published upgrade survivor's measured
1500s command, 2280s run and 2580s lane budget.
…in files

Plugin source capture routed every Windows file through fs-safe's guarded
clone, which skips native copies and path-admission caching on win32, so
Gateways with installed plugins spent minutes in synchronous capture before
binding (cross-OS installer-fresh, release checks 38020418926). Windows now
uses the existing pinned-descriptor copy for small ordinary files, as it did
before the guarded-clone migration (#164680); large and native files keep the
guarded clone. The small-copy guard tests now run on Windows too.
@clawsweeper

clawsweeper Bot commented Oct 10, 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 docker Docker and sandbox tooling size: S labels Oct 10, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review October 10, 2026 05:53
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. 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 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR enables bounded descriptor copies on Windows, pins the packed activation fixture to the built-in runtime, and increases the VPS upgrade validation budget.

Example: A Windows Gateway captures an installed plugin containing a 4096-byte JavaScript file.

  • Before: The file always uses guarded pathname cloning.
  • After: A canonical destination uses the existing bounded descriptor-copy path while retaining source and destination checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused repairs with no actionable code findings; runtime confidence remains limited to source inspection and reported focused tests.
Proof confidence 🦐 gold shrimp (3/6) The ordinary external-contributor proof gate does not apply to this MEMBER-authored PR; supplied proof consists of focused tests, with native Windows runtime validation explicitly pending.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Windows Gateways with installed plugins spend minutes preparing captures, while stable validation fails during packed activation and VPS upgrades.
Reason: The maintainer-authored direction repairs concrete release failures with narrow changes and no new public surface.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it contains useful, maintainer-authored release repairs, and the Windows and VPS changes remain absent from the fetched main revision; no concrete introduced defect was found.

Priority: P1
Reviewed head: 2cb28836a5deefd4c8b87f6188db2955f77df24c

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The planned native Windows installed-plugin Gateway comparison and copy-safety run remain pending, and supplied evidence does not show repaired packed activation or VPS upgrade completion.
Agent review details

How this fits together

Plugin capture turns admitted installed files into independent runtime snapshots; release tooling exercises packed plugin activation and published-package upgrades.

flowchart TD
A[Installed plugin files] --> B[Source admission]
B --> C[Bounded descriptor copy]
B --> D[Guarded clone]
C --> E[Capture receipt verification]
D --> E
E --> F[Gateway plugin runtime]
Loading

Technical review

Best possible solution:

Retain the existing capture owner and carry the coherent repairs into the release branch and main.

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

Source confirms Windows always takes guarded cloning and the VPS command receives the smaller timeout; release jobs confirm failures, but their timing and recovery were not independently reproduced.

Is this the best way to solve the issue?

The repairs use existing owners and contracts, preserve native-file handling and snapshot checks, and avoid adding operator configuration.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Windows small-file capture changes intended behavior with a stated reason (156412f: Optimize small ordinary POSIX files while retaining guarded cloning on Windows, native files, large files, and aliased destinations.)
  • Packed activation fixture keeps the original intent (243c936: Keep Telegram activation independent of unrelated model selection; the later merged runtime pin completes that isolation.)
  • VPS upgrade validation keeps the original intent (a0deb8e: Run published-baseline upgrade validation through the trusted companion-package harness; this repair preserves that route and enlarges its measured budget.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 605cc41 adds src/plugins/plugin-source-file.ts:11 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 605cc417c0c7; files: src/plugins/plugin-source-file.ts)

PR surface

Source +1, Tests -3, Other +10. Total +8 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 2 1 +1
Tests 2 56 59 -3
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 13 3 +10
Total 5 71 63 +8

Review metrics

Metric Value Why it matters
VPS validation timeout hierarchy Command 900→1500 seconds; container 1500→2280 seconds; lane 1500→2580 seconds Preserves increasing inner-to-outer budgets using an existing measured survivor envelope.

Labels

Label changes:

  • add P1: Addresses Windows Gateway startup stalls and deterministic failures blocking the active stable-release validation.
  • 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:

  • P1: Addresses Windows Gateway startup stalls and deterministic failures blocking the active stable-release validation.
  • 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.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Complete the planned native Windows comparison through installed-plugin Gateway startup and exercise the newly enabled copy-safety cases.
  • Record successful packed activation and root-managed VPS upgrade results through the existing release entry points.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

Reviewed October 10, 2026, 1:59 AM ET / 05:59 UTC.

…va limits

The mock-provider Kova gate failed 2026.10.1 only on status-cli: a 950 MB
tree against the 900 MB cap and CPU intervals straddling 200%. Pin the
release workflow to Kova release/openclaw-2026.10.1 (ae41f747d7e1), which is
the existing 88d9a7efa5e6 evaluator with status-cli raised to 1100 MB / 250%
on fresh-install and gateway-performance. Main keeps its pin.
@RomneyDa
RomneyDa merged commit ed3f647 into release/2026.10.1 Oct 10, 2026
135 checks passed
@RomneyDa
RomneyDa deleted the backport/2026.10.1-frv-drain-fixes branch October 10, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: S 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