Skip to content

chore(deps): update libterminal to 0.3.11 - #189983

Merged
vincentkoc merged 1 commit into
mainfrom
chore/libterminal-0.3.11
Nov 1, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
chore/libterminal-0.3.11

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Adopt the reviewed libterminal 0.3.11 release in the Control UI terminal.

User Impact

The terminal receives the library’s startup cancellation and streaming performance fixes. No OpenClaw release or version bump is included.

Why This Change Was Made

Update the exact dependency pin and pnpm-generated lockfile. The strict seven-day dependency maturity policy remains enabled; an exception names only the reviewed @openclaw/[email protected] release and documents its removal date.

Simplification pass: no new runtime machinery, production code, or tests; production/test LOC delta is 0/0. The existing terminal integration, Ghostty patch, engine requirement, and optional peer metadata remain intact.

Evidence

  • Local ClawSweeper completed the full committed-range review: base 40955c1ae1e8509b6ea89542848f02104a591767 → head 692b960abbcc2707a29eb20cab20cd83667b6d04. No actionable correctness/security findings; medium confidence. Its offline review could not inspect the published dependency contents.
  • Independently verified the published 0.3.11 registry integrity, provenance, release commit, and packaged guides. The library release passed 168 unit and 10 real-WASM browser tests, including startup cancellation, Worker assets, streaming, and teardown.
  • Pinned pnpm 12.15.0 generated only the intended dependency resolution changes; lockfile supply-chain verification passed. git diff --check and outgoing private-data checks passed.
  • Fresh exact-head CI passed the UI tests, production/test compiler jobs, production UI build/performance, and browser E2E. The terminal runtime shard passed all four terminal-runtime cases among 138 files/569 tests: selection copying, keyboard handling, tab disposal isolation, and document listener cleanup. No local consumer test pass is claimed.
  • CI remains failed by an inherited Workboard lint error: extensions/workboard/src/gateway.ts:350:11, typescript(consistent-return), “Function expected no return value.” The identical diagnostic occurs in newer scheduled-main job 124726940937. The gateway, lint configuration, lint runner, and pinned Bun inputs are byte-identical between that main revision, the CI main parent, and actual tested merge 2be2a759ffe0f2c81e708112b3aa48c7c11204f2. The automated report remains unknown against its older completed baseline; attribution uses this independent newer evidence.
  • The complete attempt has one root failure and its downstream CI aggregate; security passed. Landing uses the native inherited-failure policy with exact-head evidence. No unrelated Workboard repair or consumer release is included.

@clawsweeper

clawsweeper Bot commented Nov 1, 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 November 1, 2026 02:32
@vincentkoc vincentkoc self-assigned this Nov 1, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 692b960abbcc2707a29eb20cab20cd83667b6d04
  • Maintainer: @vincentkoc
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • ui/package.json

Carefully review these changes before merging.

@vincentkoc
vincentkoc enabled auto-merge (squash) November 1, 2026 02:42
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates the Control UI terminal library from 0.3.10 to 0.3.11 with matching lockfile entries and an exact-version cooldown exception.

Example: A terminal startup callback aborts creation with reason "cancelled".

  • Before: Libterminal 0.3.10 can return an already-disposed controller.
  • After: Libterminal 0.3.11 rejects creation with the caller's abort reason.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Minimal, compatible update supported by artifact inspection and browser CI; evidence remains harness-based and the failed lint gate is unattributed.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; passing consumer browser CI supports compatibility but is not a shipped-entry-point demonstration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: The Control UI retains the preceding terminal library release and therefore lacks its upstream cancellation and streaming improvements.
Reason: The maintainer-authored direction is approved, the dependency boundary remains compatible, and every introduced hunk serves the update.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored dependency update remains distinct from main, and inspection found no actionable introduced defect; the failed CI gate still needs attribution.

Priority: P3
Reviewed head: 692b960abbcc2707a29eb20cab20cd83667b6d04

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied execution evidence is browser CI; no shipped Control UI demonstration specifically exercises 0.3.11 startup cancellation.
Agent review details

How this fits together

The Control UI loads libterminal's browser entry point around Ghostty WASM, translating terminal input, output, sizing, and disposal through its existing session controller.

flowchart LR
  A[Control UI terminal panel] --> B[Terminal session owner]
  B --> C[Isolated terminal runtime]
  C --> D[Libterminal browser library]
  D --> E[Ghostty WASM]
  B --> F[Gateway terminal connection]
Loading

Technical review

Best possible solution:

Land the existing minimal dependency update once the failed required check is attributed and handled through the repository's CI policy.

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

This is dependency maintenance rather than an OpenClaw bug report; upstream source confirms the startup-cancellation fix, and no target code was executed during this read-only review.

Is this the best way to solve the issue?

The exact pin, generated lockfile update, and version-specific maturity exception form the smallest complete adoption using the existing terminal owner, with no additional runtime machinery or test scaffolding.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Dependency pin and lockfile keeps the original intent (f6c2aec: The preceding dependency refresh qualified runtime updates while retaining existing runtime requirements and compatibility.)
  • Seven-day dependency maturity policy changes intended behavior with a stated reason (939ca50: The existing policy requires publication aging; this maintainer-authored PR explicitly selects a reviewed, exact-version exception with a removal date.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Verified introduced change: The pinned introduction diff contains only the dependency pin, matching resolution and integrity changes, and one version-specific release-age exemption. (ui/package.json:26, 692b960abbcc)
  • Main still uses the preceding version: Fetched main pins libterminal 0.3.10, so this PR still supplies the requested update. (ui/package.json:26, d58d1938c6c6)
  • Dependency boundary and release inspection: OpenClaw imports this dependency's browser implementation, establishing the dependency-policy boundary. Read its AGENTS.md, release notes, browser source, and runtime changes between tags; browser exports, Node requirements, Ghostty pin, and optional node-pty peer remain compatible. (src/browser.ts:112, c6ae6a7456fb)
  • Published artifact identity: Independently downloaded the npm tarball into memory and computed its SHA-512: it matches the PR lockfile. Registry provenance names the release workflow and commit c6ae6a7456fbee719d97ae07202b6fee4816a48e; GitHub reports the release tag signature valid. The packaged manifest adds no install lifecycle hook. (package.json, c6ae6a7456fb)
  • Accepted narrow cooldown exception: The maintainer-authored PR explicitly adopts the reviewed release before the normal seven-day age threshold; the exemption matches only 0.3.11 and records its removal date, retaining strict maturity checks for other releases. (pnpm-workspace.yaml:16, 692b960abbcc)
  • Consumer CI and unresolved failure: All seven UI E2E shards and Control UI performance passed for the reviewed head. Extension lint failed in its changed-lint step and the aggregate gate failed. The annotation gives only exit code 1; fetching its log was blocked at the artifact host, so neither diff causation nor an inherited failure is established. Failure: https://github.com/openclaw/openclaw/actions/runs/41265599297/job/124728507044. (692b960abbcc)

PR surface

Config +2, Other 0. Total +2 across 3 files. Added test files: 0.

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

Review metrics

Metric Value Why it matters
Cooldown exemption 1 exact package version Only @openclaw/[email protected] bypasses the release-age threshold; strict checking remains enabled.

Labels

Label changes:

  • add P3: Focused dependency maintenance with upstream reliability improvements and no established urgent OpenClaw regression.
  • 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: Focused dependency maintenance with upstream reliability improvements and no established urgent OpenClaw regression.
  • 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 31, 2026, 10:48 PM ET / November 1, 2026, 02:48 UTC.

@vincentkoc
vincentkoc disabled auto-merge November 1, 2026 02:52
@vincentkoc
vincentkoc merged commit b2cb79b into main Nov 1, 2026
187 of 190 checks passed
@vincentkoc
vincentkoc deleted the chore/libterminal-0.3.11 branch November 1, 2026 02:58
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
RomneyDa added a commit that referenced this pull request Nov 14, 2026
Update only the Control UI and shared Mermaid renderer DOMPurify pins from
3.4.16 to 3.4.17 for #196925. Regenerate the matching pnpm importers,
package integrity, snapshot, and Mermaid transitive resolution using pnpm.

Release adaptation: extract only the DOMPurify portion of the broad
93-file dependency refresh in #178071. Keep all other release dependency
versions, overrides, patches, and runtime source unchanged. Generate the
lock with pnpm 12.15.0 in this independently owned worktree; no shared
install or parent checkout changes.

Companion closure: both direct consumers and Mermaid's transitive edge
resolve 3.4.17 with the source commit's exact integrity. Later same-path
changes #179116, #181047, #182010, #182251, #184482, #185194, #188576,
#189983, #189746, #192352, #194544, #180292 and 9651d63 are
not prerequisites: other dependency updates, UI features/test setup, or
the deliberately excluded Mermaid-to-Pele migration. Later source-PR
mentions 8c9a696, b394c80 and #178708 concern plugin publish
docs, MCP Apps ownership and the security-review token action, not DOMPurify. No DOMPurify API or consumer
code companion is required for this patch-only version substitution.

Validation: isolated frozen-lockfile install; 27 Markdown boundary tests;
shared Mermaid renderer production build; dependency-pin guard (749
specifications, zero violations); exact-only manifest/lock delta audit;
git diff --check. Browser Mermaid tests remain unqualified: Chromium
cannot load libatk-1.0.so.0 on this host. No broad release qualification
or publication is claimed.

(cherry picked from commit f91bca9)

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

Labels

app: web-ui App: web-ui dependencies-changed PR changes dependency-related files size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant