Skip to content

perf(ci): avoid broad runtime imports in UI tests - #184705

Merged
steipete merged 9 commits into
mainfrom
solid2/w-test-ci-auth-import
Oct 26, 2026
Merged

steipete merged 9 commits into
mainfrom
solid2/w-test-ci-auth-import

Conversation

@steipete

@steipete steipete commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

QA fixture auth staging imports an async credential reader through the broad agent-runtime SDK, bringing unrelated command, agent and speech runtime modules into real-Gateway test collection. Three other production callers reach small utilities through broad barrels and bring additional unrelated modules into the same test roots.

Export the existing reader and credential type through the existing provider-auth entrypoint, use it in QA auth staging, and document that import. The original agent-runtime export remains. Import control UI link resolution, model-catalog lookup/types, and the redaction sentinel directly from their existing owners. These are the same function and constant bindings: no new wrapper, entrypoint, state owner or implementation.

The auth contract remains explicit fixture environment, readOnly: true, external-CLI exclusion, error propagation before locked writes, and existing credential merge/replace behavior. The direct imports preserve credential-free URL probing/TLS error reporting, model-default/donor selection, and private diagnostic redaction. All test cases and assertions remain.

Three initial lazy/worker readiness assertions allow five seconds without sleeping: monitoring details, live subagent details, and initial native-worker highlighting. Later identity, dismissal, expansion, source and highlighting assertions are unchanged. The avatar keyboard case also waits for the rendered chooser to become enabled before focusing it. Accessible name was available while the control was still disabled; focusing then did not replay when loading finished. The focus/Enter/file chooser, request identity/MIME, pending disabled/opacity and completion assertions remain. No rendered product change, runner allocation, shard count, fanout, cache key, fixture lifetime or global timeout changes. Screenshots are not applicable.

Work Removed

The auth import alone reduces static local-module reachability from 6,136 to 3,620 for automation and from 5,978 to 2,643 for host-command. Of 93 roots reaching the helper, 25 lose modules and 68 retain another broad import.

The additional direct-owner import cut has the following separately measured source graphs:

Root Before modules After modules Removed
control-ui-handoff 1,531 1,452 79
session-utils-model 2,664 2,656 8
diagnostic-support-redaction 102 65 37
post-deploy-session-entry E2E 3,307 3,299 8
command-palette-search real-Gateway E2E 2,699 2,650 49
command-palette-avatars E2E 52 52 0
quota-reset-status real-Gateway E2E 2,354 2,305 49

These retained counts were measured against each cut's original base, not remeasured after the latest main integration. They follow static local value imports and re-exports, excluding type-only/dynamic edges and external package internals; JSON modules are leaves. No root gained a reachable static local module. Graphs were measured for each cut against its own base, so overlapping reductions are not added together. They describe source reachability, not executed modules, bytes, CPU or runner-minute savings.

Evidence

Published replacement head. Current published head: 9d542b978dbab66c129411a1cd14caa0cf2d3d6f, now pushed. Prior published head: 53a6b6466344595ee80cb6eff97d0f28d05da596; its run40396635114 is terminal/failure. Replacement-head CI pending; no completed result claimed. Actual merge base: fae514bf96c4b8295893ebfe293524f5ef9b7edc. The merged branch retains main's complete admission-fixture repair from #184907; the earlier local partial repair is excluded. Main's Doctor and hover fixes remain outside this PR's own diff. No dependency changes.

Proof Result and scope
Existing auth-store and Gateway child-auth tests 16/16 passed across two files;185.80s, default pinned Bun, one worker; retained original auth-import proof
SDK export-map and API comparison Passed; only AuthProfileCredential and loadAuthProfileStoreForRuntimeAsync added to existing provider-auth; retained API digest 1138fb3d
Production build Passed in7m36.8s on the earlier auth implementation head; correctness evidence, not current-head CI or a timing comparison
Initial lazy/worker readiness correction Two existing files,20/20 passed in4.42s; scoped lint, format and isolated P0–P2 review passed
Direct-owner imports: handoff Existing control-ui-handoff.test.ts,16/16 passed;87.40s Vitest /117.93s wrapper
Direct-owner imports: model selection Existing session-utils-model.thinking-default.test.ts,16/16 passed;82.55s Vitest /103.25s wrapper
Direct-owner imports: redaction Existing diagnostic-support-redaction.test.ts,80/80 passed;7.62s Vitest /10.39s wrapper
Direct-owner types/lint/format Core types, scoped lint, three-file format and whitespace checks passed; retained proof for the same import-only cut
Avatar chooser original red Run40380222498/job121774951540, Control UI profile page mocked Gateway E2E > uploads an avatar through the keyboard-accessible chooser: disabled button later enabled while remaining inactive; original toBeFocused() failed
Avatar chooser one-line repair 1 passed,8 unselected;955ms callback,991ms file;18.78s Vitest /22.33s process wall. Replayed once on a released checkout with the profile test and all three profile production owners byte-identical to AUTH; patch restored afterward
Independent review Import/readiness, direct-owner cut, and chooser correction each have retained isolated scoped-clean P0–P2 reviews. The chooser review originally included a fixture repair now superseded by main. Reviews did not execute project code or establish performance
Latest merged UI type attempt One invocation exited1 before compilation: retained dist-artifact lock PID67875, recorded since2026-10-25. Lock preserved. This is a tool-ownership/setup failure, neither a code type failure nor a passing typecheck
Current-head full CI Pending completion for9d542b978; prior53a terminal result below is historical.

Direct-owner tests ran once per file, serially, with --maxWorkers=1, Node26.12.1 and the default pinned Bun runtime. Handoff included60.785s cold worker preparation; model reused the local compiler cache. Local wall times are correctness cost, not base/head speed comparisons. The first original QA selection matched no files and provides no assertion proof; the corrected owner selection provides the16-test result. Broad local type attempts stopped at the retained artifact lock before compilation.

The chooser repair adds one produced-state assertion, without a real sleep, retry, timeout increase, new case or removed contract. The simplification leaves imports/re-exports and initial readiness synchronization; callers needing broad barrels keep them. No new abstraction or test-only production seam.

Current label-only replacement

The local9d542b978 commit changes two existing E2E files,+6/−8, to use current Camera / Media menu labels, retaining the camera dialog's Take photo title and all16cases/assertions. Read-only verification matched the before/final blobs to the same reviewed patch used by the other CI lanes. On main9890d705 the old selected media case failed, then all16existing cases passed (13attachment/3media;49.13s Vitest/51.69s wrapper). UI types6.73s, final format/whitespace and isolated P0–P2 review passed. These are reused exact-file proofs; no tests were rerun for this package and they are not replacement-head broad CI.

Earlier Scheduled-Main Phase Reference

An earlier retained completed scheduled-main reference is 40369493361, head 99f7a303e3ffde6c341bb3b496c77a9056059764, observed October 26 at 18:37 UTC. Eleven UI rows passed; real-Gateway 1 failed during its build and E2E 3 failed during tests; locale was skipped. The entire shared producer is charged. The failed pre-test build omits that shard's contracts, so this is context, not a qualifying clean baseline or evidence of savings.

Every value below is an elapsed job/step minute from real GitHub timestamps. Env/deps includes runtime setup, cache restoration and frozen dependency reconciliation. Build restoration/download and fixture/Gateway startup occur within composite steps where separate exclusive timings are unavailable; no zero-cost claim is inferred. Tests incl. includes imports, collection, nested builds, fixtures, Gateway startup and cleanup. Other preserves separately named checks/packaging and timing gaps; teardown is separate. Rows reconcile in unrounded seconds; displayed values are rounded.

Job Result Checkout Env Env/deps Build Browser Tests incl. Upload Other Teardown Total
build-artifacts success 0.17 0.00 0.35 4.35 0.05 10.37 0.27 1.63 0.08 17.27
checks-ui-e2e (6/7) success 0.18 0.00 0.48 0.00 0.07 14.07 0.03 0.05 0.07 14.95
checks-ui-e2e-real-gateway (2/2) success 0.22 0.00 0.43 2.87 0.07 10.93 0.03 0.05 0.05 14.65
checks-ui-e2e (2/7) success 0.20 0.00 0.62 0.00 0.08 11.97 0.00 0.05 0.08 13.00
checks-ui-e2e (3/7) failure 0.17 0.00 0.40 0.00 0.07 12.00 0.03 0.03 0.05 12.75
checks-ui-e2e (4/7) success 0.18 0.00 0.47 0.00 0.07 11.70 0.00 0.05 0.08 12.55
checks-ui-e2e (5/7) success 0.17 0.00 0.37 0.00 0.07 11.65 0.00 0.03 0.08 12.37
checks-ui-e2e (1/7) success 0.18 0.00 0.38 0.00 0.05 8.98 0.00 0.03 0.08 9.72
checks-ui (1/3) success 0.18 0.03 0.52 0.00 0.05 6.72 0.00 0.27 0.07 7.83
checks-ui (2/3) success 0.73 0.02 0.42 0.00 0.07 6.30 0.00 0.05 0.05 7.63
checks-ui (3/3) success 0.70 0.02 0.45 0.00 0.05 5.20 0.00 0.07 0.07 6.55
checks-ui-e2e-real-gateway (1/2) failure 0.18 0.00 0.47 4.78 0.08 0.00 0.00 0.05 0.10 5.67
control-ui-performance success 0.25 0.00 1.03 0.00 0.00 1.72 0.00 0.03 0.05 3.08
Total 3.52 0.07 6.38 12.00 0.77 111.60 0.37 2.40 0.92 138.02

Fixed/other totals 26.42 minutes, versus 20.52 at the successful checkpoint. Inclusive tests/checks total 111.60 minutes, versus 70.98 at that checkpoint. Most jobs spend substantially more time inside tests than outside; the early-failing real-Gateway row cannot justify merging shards based on truncated execution.

Earlier AUTH CI, Before the Chooser Repair

Run 40380222498, prior head aac78769ad0536b06e6847c6e4a21eff819efd72, completed/failure:9 selected UI rows passed,3 failed,2 skipped. All rows were terminal. API-span total139.92minutes, occupied139.62minutes, inclusive tests/checks114.72minutes and fixed/other25.20minutes. The selected UI completion path was998s; longest job996s. This is prior-head evidence, not proof for 53a6b6466344595ee80cb6eff97d0f28d05da596.

Env/deps is composite. Fixture/Gateway startup and cleanup remain inside inclusive tests unless separately named. Other preserves the prior reducer policy; see all step names/categories in JSON. These are whole-second GitHub timestamps, not billed-invoice measurements.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
checks-ui-e2e-real-gateway (1/2) success 1.02 0.00 0.00 0.28 0.00 0.00 2.45 0.05 12.63 0.07 0.05 0.05 16.60
checks-ui-e2e (4/7) failure 0.72 0.00 0.00 0.43 0.00 0.00 0.00 0.07 12.27 0.03 0.03 0.05 13.60
checks-ui-e2e (2/7) success 0.73 0.00 0.00 0.43 0.00 0.00 0.00 0.03 12.12 0.00 0.05 0.07 13.43
checks-ui-e2e (1/7) success 0.65 0.00 0.00 0.40 0.00 0.00 0.00 0.05 12.02 0.02 0.03 0.10 13.27
checks-ui-e2e-real-gateway (2/2) failure 0.18 0.00 0.00 0.35 0.00 0.00 2.72 0.05 9.62 0.07 0.05 0.05 13.08
checks-ui-e2e (3/7) failure 0.65 0.00 0.00 0.58 0.00 0.00 0.00 0.10 10.80 0.03 0.03 0.05 12.25
checks-ui-e2e (5/7) success 0.70 0.00 0.00 0.42 0.00 0.00 0.00 0.05 10.08 0.02 0.05 0.08 11.40
build-artifacts success 0.67 0.00 0.00 0.32 0.00 0.00 3.98 0.03 5.98 0.03 0.03 0.08 11.13
checks-ui-e2e (6/7) success 0.93 0.00 0.00 0.47 0.00 0.00 0.00 0.07 8.95 0.03 0.05 0.08 10.58
checks-ui (3/3) success 0.77 0.05 0.00 0.67 0.00 0.00 0.00 0.07 7.67 0.00 0.07 0.07 9.35
checks-ui (1/3) success 0.18 0.03 0.00 0.47 0.00 0.00 0.00 0.05 7.10 0.00 0.32 0.07 8.22
checks-ui (2/3) success 0.93 0.03 0.00 0.38 0.00 0.00 0.00 0.05 5.48 0.00 0.05 0.07 7.00
Completed total 8.13 0.12 0.00 5.20 0.00 0.00 9.15 0.67 114.72 0.30 0.82 0.82 139.92

The exact failed tests were Control UI profile page mocked Gateway E2E > uploads an avatar through the keyboard-accessible chooser, Daybreak through a real built Gateway > persists visible selections and refreshes queued requests on desktop and mobile, and Session file PDFs > previews linked PDFs above and below the inline cap and downloads fresh bytes. The core test-types stripe also failed on the now-main-repaired admission fixture. The chooser repair has matching-source focused proof above; main integration alone does not establish the other original failures fixed or inherited. Later53a CI below reports only label failures; that does not identify the cause of those earlier failures. No admin/inherited admission is justified by these historical observations.

Latest terminal prior-head AUTH CI

Run 40396635114 at published53a6b646 is completed/failure:10selected UI jobs passed,2failed,0cancelled,2skipped; all12charged rows are terminal. Full/comparable consumption123.12min, comprising24.63fixed/other and98.48inclusive tests/checks. The selected path is1023s; longest job1021s. Both real-Gateway jobs and all three unit jobs passed. Only14attachment/media-label cases in E2E2/E2E4 and the aggregate gate failed. Performance and locale were skipped. This is prior-head evidence, not local9d542b978 replacement-head CI or a qualified cost win.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
checks-ui-e2e-real-gateway (1/2) success 0.77 0.00 0.00 0.40 0.00 0.00 2.60 0.05 13.05 0.05 0.03 0.07 17.02
checks-ui-e2e-real-gateway (2/2) success 0.82 0.00 0.00 0.38 0.00 0.00 2.60 0.03 12.10 0.03 0.03 0.07 16.07
checks-ui-e2e (4/7) failure 0.17 0.00 0.00 0.38 0.00 0.00 0.00 0.05 13.40 0.03 0.05 0.07 14.15
checks-ui-e2e (5/7) success 0.82 0.00 0.00 0.40 0.00 0.00 0.00 0.05 9.05 0.00 0.03 0.08 10.43
build-artifacts success 0.68 0.00 0.00 0.45 0.00 0.00 4.13 0.05 4.68 0.03 0.03 0.07 10.13
checks-ui-e2e (2/7) failure 0.78 0.00 0.00 0.42 0.00 0.00 0.00 0.05 8.28 0.03 0.03 0.05 9.65
checks-ui-e2e (3/7) success 0.85 0.00 0.00 0.48 0.00 0.00 0.00 0.07 7.78 0.00 0.03 0.08 9.30
checks-ui-e2e (6/7) success 0.63 0.00 0.00 0.37 0.00 0.00 0.00 0.05 7.77 0.03 0.03 0.07 8.95
checks-ui-e2e (1/7) success 0.17 0.00 0.00 0.38 0.00 0.00 0.00 0.05 7.67 0.00 0.05 0.08 8.40
checks-ui (1/3) success 0.72 0.02 0.00 0.53 0.00 0.00 0.00 0.07 5.52 0.00 0.27 0.08 7.20
checks-ui (3/3) success 0.80 0.03 0.00 0.40 0.00 0.00 0.00 0.05 4.80 0.00 0.05 0.07 6.20
checks-ui (2/3) success 0.67 0.02 0.00 0.40 0.00 0.00 0.00 0.03 4.38 0.00 0.05 0.07 5.62
Completed total 7.87 0.07 0.00 5.00 0.00 0.00 9.33 0.60 98.48 0.22 0.70 0.85 123.12

Campaign Comparison

Observation Comparable runner minutes Full selected UI minutes Post-preflight completion
Original campaign baseline 106.00 — 643s measured;≤660s original budget
Landed checkpoint #183498, run 40276355362 88.33 91.50 593s
Earlier AUTH head 3274d5d, run 40366200081 163.38 164.67 2460s
Earlier scheduled-main reference, run 40369493361 134.93 138.02 1755s
Last completed AUTH head aac78769, run 40380222498 139.92 139.92 998s
Prior published 53a6b6466344, run40396635114 123.12 123.12 1023s
Current published replacement 9d542b978dba Pending Pending Pending

Comparable minutes exclude conditional locale/performance rows and charge the entire active producer. Failures are charged, not subtracted. API/occupied job spans are runner-occupancy proxies, not invoices. Queue/dependency waits remain in the completion path, not occupied minutes. Zero standalone install/download/restore cells do not imply zero nested composite work. Setup/cache/install and fixture/Gateway subphases not exposed separately stay composite; no exclusive duration is fabricated.

Target remains≤74.20comparable minutes (30% below106.00), critical path≤593s. Different heads, inventories, skipped work and failed/early-truncated runs are not normalized into savings. No CPU, latency or runner-minute reduction is claimed for this PR; the remaining cost is not shown irreducible. Replacement-head CI must supply its own after phase table; the terminal prior53a table is above.

Scope and Size

Against fae514bf96c4b8295893ebfe293524f5ef9b7edc, exact local9d542b978 has 11files,4,247→4,255LOC,+32/−24. The original9-file cut was3,863→3,873,+26/−16; the disjoint label repair is384→382,+6/−8. No test case was added/deleted; production scope is unchanged by the label replacement. Exact per-file Git blob/line receipts are in round167-184705-loc.json.

The current main integration was clean. Main's complete admission fixture supersedes the old local partial fix and is outside this PR delta. Main Doctor, hover, per-request credential docs and environment-case readiness remain. This replacement head is published; native review/preparation, replacement-head CI and landing remain with the maintainer workflow. Current-head native preparation is in progress; no merge admission or merge is claimed.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 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 extensions: qa-lab labels Oct 26, 2026
@steipete
steipete marked this pull request as ready for review October 26, 2026 14:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-26T14:19:33.298057Z
We couldn’t complete this review. Comment @codex review to try again.
2ce8a13 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR exports the existing async auth reader through provider-auth and moves QA staging to that narrower SDK entrypoint.

Example: QA stages an isolated openai credential.

  • Before: The staging helper imports agent-runtime to read auth profiles.
  • After: The helper reads the same profiles through provider-auth with identical isolation options.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-correct optimization with unchanged storage semantics; measured performance acceptance remains incomplete.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; reported auth tests support unchanged behavior, while static graph counts and historical CI timings do not demonstrate this candidate's runtime savings.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Maintainers collect QA fixtures through an unnecessarily broad runtime dependency.
Reason: The maintainer-authored direction matches the existing narrow-SDK policy and preserves the canonical auth implementation at minimal maintenance cost.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open: the import narrowing is focused and preserves existing behavior, with no actionable code defect found.

Priority: P3
Reviewed head: 2ce8a133f365af39aa4978a60876ecaa642b53e9

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied evidence does not yet demonstrate an after-change performance reduction through the actual QA collection workload.
Agent review details

How this fits together

QA fixtures stage credentials through public SDK exports backed by the canonical auth-store owner; this change narrows module loading without changing credential reads or writes.

flowchart LR
  A[QA fixture] --> B[QA auth staging]
  B --> C[Provider auth SDK]
  C --> D[Canonical auth store]
  D --> E[Isolated QA SQLite database]
Loading

Technical review

Best possible solution:

Retain this minimal import change and establish its performance benefit while preserving the existing auth owner and public exports.

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

Source confirms that main's QA staging imports the deprecated broad agent-runtime barrel solely for the reader and credential type; no runtime performance reproduction was executed during this read-only review.

Is this the best way to solve the issue?

The smallest complete fix is the proposed direct re-export through the already-used provider-auth owner; it removes an unnecessary dependency without wrappers, state, or duplicate tests.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • QA auth staging keeps the original intent (705f043: Isolate QA credentials from live host state; later asynchronous preparation moved reads onto the existing worker-backed owner.)
  • SDK auth exports and documentation keeps the original intent (00be453: Expose asynchronous credential preparation while retaining synchronous external SDK compatibility and one auth policy owner.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 7e48efb adds extensions/qa-lab/src/providers/shared/auth-store.ts:17 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7e48efba1047; files: extensions/qa-lab/src/providers/shared/auth-store.ts)
  • Josh Avant: Raw commit 705f043 adds extensions/qa-lab/src/providers/shared/auth-store.ts:25 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 705f043e04a1; files: extensions/qa-lab/src/providers/shared/auth-store.ts)

PR surface

Source +5, Docs 0. Total +5 across 3 files. Added test files: 0.

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

Labels

Label changes:

  • add P3: This is a low-risk QA collection optimization with no intended user-visible behavior change.
  • add merge-risk: 🚨 compatibility: The public Plugin SDK gains a reader and credential-type export; the maintainer-authored direction is explicit, existing exports remain, and no incompatible behavior was found.
  • 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 is a low-risk QA collection optimization with no intended user-visible behavior change.
  • merge-risk: 🚨 compatibility: The public Plugin SDK gains a reader and credential-type export; the maintainer-authored direction is explicit, existing exports remain, and no incompatible behavior was found.
  • 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.

  • Demonstrate reduced QA collection or comparable CI cost on this head without increasing the critical path.

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 26, 2026, 10:32 AM ET / 14:32 UTC.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S and removed size: XS labels Oct 26, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

The link-hover title-hint E2E failure is fixed on main by #184706 (merge commit c00af62f03e6ab9929234a998693f53341a4e126). Its response-ordering correction holds the optional hover-module failure until the test is listening for both the failed request and recovery navigation, including when reader prefetch starts before hover.

Verified on cd3bcc01765305ff1a44f70ca187734269183965 with headless Chromium and the default pinned test runtime:

NODE_DISABLE_COMPILE_CACHE=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/link-hover-preview.e2e.test.ts -t 'title hints' --maxWorkers=1

All four selected cases passed: settings/about pointer, chat pointer without a reader, chat pointer with a reader, and chat focus with a reader. The existing tooltip-visible and zero-metadata-request assertions remain intact. Four unrelated cases were excluded by the name filter. The successful run took 30.39 seconds; an earlier attempt reached no assertions because another proof build held the shared checkout artifact lock, then passed once run serially.

This resolves the hover-test failure associated with this PR. Leaving this PR's disposition to its owner.

@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Oct 26, 2026
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS and removed size: S labels Oct 26, 2026
@steipete steipete changed the title perf(qa): narrow the auth staging SDK import perf(ci): avoid broad runtime imports in UI tests Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

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

  • Current SHA: 9d542b978dbab66c129411a1cd14caa0cf2d3d6f
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/logging/diagnostic-support-redaction.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@steipete
steipete merged commit 594fb05 into main Oct 26, 2026
164 of 168 checks passed
@steipete
steipete deleted the solid2/w-test-ci-auth-import branch October 26, 2026 21:47
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
* perf(qa): narrow the auth staging SDK import

* test(ui): observe optional hover recovery before failure

* test(ui): await cold lazy readiness in browser contracts

* test(doctor): accept both missing-state diagnostics

* test(ui): wait for avatar chooser readiness before focus

* test(ui): align attachment menu expectations with current labels
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 ci:full Keep ordinary native-locale CI selection on the next PR run. commands Command implementations docs Improvements or additions to documentation extensions: qa-lab gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. security-sensitive-changed 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