Repository navigation
Split client-ui RPC schemas into client-ui-schemas.ts - #8446
Merged
Merged
Conversation
#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.
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded 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 ✨ Finishing Touches📝 Generate docstrings
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. Comment |
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 <>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
client-ui.tsto 301 lines — one over themax-lineslimit — which breaks repo-wideoxlintfor every PR that merges current main (verifydoes not run on main pushes, so the break landed silently; same class as Extract web-host agent launch path to fix max-lines lint break on main #8174).browser-schemas.ts/computer-schemas.tssibling pattern: the zod schema definitions move toclient-ui-schemas.ts, andclient-ui.tskeeps only the RPC method registry. No behavior change;CLIENT_UI_METHODSremains the only external export.Testing
client-ui.test.ts(17 tests)oxlintexits 0 on this branch (exits 1 on main)check:max-lines-ratchetpassesNotes