Repository navigation
Add Linear project and custom view browsing - #3966
Merged
Merged
Conversation
5 tasks done
OrcaWin
added a commit
to giraphant/orca
that referenced
this pull request
Jul 27, 2026
The PR correctly identified that TaskResumeState's strict Zod guard was missing linearMode/linearContext/jiraPreset/jiraQuery, so any paired web/mobile/relay client that opened Linear or Jira had its ENTIRE ui.set payload rejected with invalid_argument. That part is verified and kept. The same drift existed at the UiUpdate level and the PR did not cover it. Eight more keys the renderer writes through ui.set were unlisted: - activeView, written by App.tsx on every top-level view switch (stablyai#9002) - showDotfilesByWorktree, which rides App.tsx's 150ms debounced writer, so a single dotfile toggle dropped sidebar widths, sort/group prefs, repo filters and agent acknowledgements for that client - setupGuideSidebarDismissed, setupGuideBrowserMilestoneMigrated, setupGuideBrowserMilestoneLegacyComplete, browserImportHintHidden, mobileEmulatorTabIntroDismissed, mobileEmulatorAgentSetupDismissed Root cause is that schema/type parity was maintained by hand with nothing enforcing it, so this recurred across stablyai#3966, stablyai#2238, stablyai#9002 and others. AssertNoMissingKeys now turns a field added to PersistedUIState or TaskResumeState without a schema entry into a typecheck error naming the missing key. Main-owned state (star-nag, tray notice, popout bounds) is an explicit allow-list, so remote clients still cannot write it — the existing "rejects star-nag persisted state mutations" tests still pass. Split TaskResumeState into its own module and the assertion helper into ui-state-schema-parity.ts to stay under max-lines without a disable. Tests: one case per drifted field plus the full App writer payload; 14 fail when the schema is reverted, all pass with it.
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
* Add Linear project and custom view browsing * fix: address review findings
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
Verification