Repository navigation
Add Jira task provider support - #2238
Conversation
|
Thanks again @P-de-Jong for the detailed testing notes. I pushed another round of fixes that should cover the issues you called out:
Would you be able to test this again when you get a chance? |
|
Leaving this open and unmerged in this PR-closer pass. Current status:
This needs a dedicated rebase/design review pass plus current provider-specific validation and UI/Electron evidence before any risk-lowering or merge decision. |
|
Seems to work great now! Only nitpick I would have is that the project select has quite some options in it. Would be nice to have an autocomplete/combobox there. Also the list of projects is not sorted A-Z it seems. Rest looks great! |
|
@P-de-Jong thanks again for testing and for the nit. I pushed an update that changes the Jira create-project picker to a searchable combobox and sorts projects A-Z by project name. I verified it locally in Electron against a mock Jira site as well. Could you test the updated branch again when you have a minute? |
|
@nwparker works great! |
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.


Summary
Validation
Fixes #1310