Skip to content

fix(ui): lint fails after debug overlay cleanup refactor - #173976

Merged
roboclaw-bot merged 1 commit into
mainfrom
roboclaw/debug-overlay-consistent-return
Oct 16, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
roboclaw/debug-overlay-consistent-return

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: UI lint fails on main after the debug overlay cleanup refactor, blocking unrelated pull requests.

User Impact

User impact: no runtime or visual change; the UI lint gate can pass again. No migrations or user actions.

Why This Change Was Made

The closed-state effect branch now explicitly returns undefined, matching its optional cleanup return contract without altering cleanup or cancellation.

Evidence

  • Reproduced typescript(consistent-return) on main in the exact failing file from CI run 38865953480.
  • The same type-aware lint command passes after the one-line repair; formatting and whitespace checks pass.
  • All 14 tests across the overlay lifecycle, access, and layout suites pass.
  • Independent P0–P2 review found no actionable findings.
  • Direct red-main publication was refused by the repository pull-request rule; using this PR instead.

Contributor: @steipete.

Work sessions


View the OpenClaw team session

Return undefined explicitly when closed, preserving the optional cleanup contract and fixing the inherited check-lint-core-2 failure. Verified the failing lint before/after and 14 debug overlay tests.

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

clawsweeper Bot commented Oct 16, 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 16, 2026 07:26
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 16, 2026 07:30
@roboclaw-bot
roboclaw-bot merged commit 8425c9a into main Oct 16, 2026
145 checks passed
@roboclaw-bot
roboclaw-bot deleted the roboclaw/debug-overlay-consistent-return branch October 16, 2026 07:35
@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 17, 2026
Return undefined explicitly when closed, preserving the optional cleanup contract and fixing the inherited check-lint-core-2 failure. Verified the failing lint before/after and 14 debug overlay tests.

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