Skip to content

fix(ci): main test typecheck fails on the scoped-delivery e2e preview case - #178096

Merged
roboclaw-bot merged 1 commit into
mainfrom
fix/ui-e2e-scoped-delivery-preview-types
Oct 20, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
fix/ui-e2e-scoped-delivery-preview-types

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: check-test-types-core-1 fails on main (and on every PR's merge ref) since #178074, which renamed the scoped-delivery e2e's preview-off case to preview-on but kept its preview-off branch, which now fails with TS2367.

Work sessions

User Impact

User impact: none. This only repairs a test so main CI typechecks again.

Why This Change Was Made

With previews now always on in that test, the dead branch's "toggle previews on, then expect the headline" step has nothing left to do. The preview-on case now asserts the observer headline directly in the background row, which is the visible-consumer check #178074 intended. Direct push to main was refused by the repository ruleset, so this goes through a PR.

Evidence

  • node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.ui-e2e.json: fails with TS2367 at line 103 on 2e602936e5f2, passes with this change.
  • ui/src/e2e/session-scoped-delivery.e2e.test.ts: 1 file passed locally.
  • oxlint 0 warnings/0 errors; oxfmt clean.

#178074 renamed the preview-off case to preview-on but kept its branch, which no longer typechecks (TS2367) and broke check-test-types on main. Assert the observer headline in the preview-on row instead.

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

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…aw#178096)

openclaw#178074 renamed the preview-off case to preview-on but kept its branch, which no longer typechecks (TS2367) and broke check-test-types on main. Assert the observer headline in the preview-on row instead.

Co-authored-by: Patrick-Erichsen <[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