Skip to content

fix: restore link reader metadata test loading - #175297

Merged
roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-main-link-reader-import
Oct 17, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
openclaw/fix-main-link-reader-import

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: the UI test suite fails to load link-reader metadata tests after the retired panel re-export was removed.

Related: #175255 (blocked by this current-main failure; mobile source changes are not included here).

User Impact

No user-visible behavior changes. Restores the existing metadata regression coverage without weakening any assertions. No migrations or user action.

Why This Change Was Made

Import the maintained .tsx panel implementation directly, as the panel suite already does. The .ts alias was intentionally removed in #175236 and stays removed. This is the smallest complete repair: one test import changed; no production changes or new machinery.

Requested and co-authored by @vincentkoc.

Work sessions

Evidence

  • Reproduced on canonical main 0884553208b2d592249d2027833721128a48453c: node scripts/run-vitest.mjs ui/src/components/link-reader-metadata.test.ts --maxWorkers=1 failed during Vite import resolution for ./link-reader-panel.ts (4.95 s wall time).
  • Same command after the import correction: 11/11 pass, 5.00 s wall time (3.51 s Vitest). Assertions unchanged.
  • Sibling link-reader-panel.test.ts: 36/36 pass, 3.67 s wall time.
  • UI test typecheck shards pass (node scripts/run-tsgo-core-test-shards.mjs ui, 96.00 s wall time); focused oxlint, oxfmt, and git diff --check pass. Exact-head CI 39013840353 passed all 47 jobs (484 seconds workflow elapsed); native merge verified as 6249e5b5051bc3a18f6d5d40d50769b478fb0503.
  • Fresh independent Auto Review through P2: scoped-clean, no actionable findings. Simplification pass retained only the one-character import correction.
  • Test-only change (+1/-1 test lines, zero production delta): no rendered UI changes, so new screenshots are not applicable.
  • Before publication, fast-forwarded across two unrelated script-test changes to d2fe433535d53d5d19491488daf70fd7683d292a; reviewed patch and all UI proof inputs remain unchanged.

Publication route

The verified red-main repair was first submitted directly to main under the repository red-main policy. GitHub refused it with GH013: Changes must be made through a pull request. This focused PR is the prescribed fallback; no force push or ruleset bypass was attempted.


View the OpenClaw team session

Import the maintained panel implementation after removal of the retired re-export. Preserves all metadata assertions and production behavior.

Co-authored-by: vincentkoc <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 17, 2026 07:29
@roboclaw-bot
roboclaw-bot merged commit 6249e5b into main Oct 17, 2026
137 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/fix-main-link-reader-import branch October 17, 2026 07:41
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
Import the maintained panel implementation after removal of the retired re-export. Preserves all metadata assertions and production behavior.

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant