Skip to content

Split client-ui RPC schemas into client-ui-schemas.ts - #8446

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/client-ui-schemas-split
Jul 13, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/client-ui-schemas-split

Conversation

@brennanb2025

Copy link
Copy Markdown
Contributor

Summary

Testing

  • client-ui.test.ts (17 tests)
  • Full typecheck (node, CLI, web targets)
  • Repo-root oxlint exits 0 on this branch (exits 1 on main)
  • check:max-lines-ratchet passes

Notes

#7598 pushed client-ui.ts to 301 lines, one over the max-lines limit, which
breaks repo lint for every PR that merges current main (verify does not run
on main pushes). Follow the existing browser-schemas.ts/computer-schemas.ts
pattern: zod schemas move to a sibling module, the method registry stays.
@brennanb2025
brennanb2025 merged commit 00fc452 into main Jul 13, 2026
2 checks passed
@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 6629046e-3fab-4a1a-bd06-c87627884634

📥 Commits

Reviewing files that changed from the base of the PR and between 3c87873 and 41791e7.

📒 Files selected for processing (2)
  • src/main/runtime/rpc/methods/client-ui-schemas.ts
  • src/main/runtime/rpc/methods/client-ui.ts

📝 Walkthrough

Walkthrough

Added a dedicated Zod schema module for client UI and settings RPC payloads, including identifier validation, normalization, strict object schemas, enums, nullable fields, and finite-number checks. Added SettingsUpdate and UiUpdate schemas with empty-object defaults. Updated client UI RPC methods to import shared schemas and retained the existing PR bot author override handler behavior.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
stablyai#7598 pushed client-ui.ts to 301 lines, one over the max-lines limit, which
breaks repo lint for every PR that merges current main (verify does not run
on main pushes). Follow the existing browser-schemas.ts/computer-schemas.ts
pattern: zod schemas move to a sibling module, the method registry stays.

Co-authored-by: Brennan Benson <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant