diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-06 18:27:47 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-06 18:27:47 -0500 |
| commit | 7bd9f49ed7cb8482226d70ffaaa3d83fde194710 (patch) | |
| tree | d3db8680e0e0091382fd0759ca5877c07c5fc45d /tests/test-pearl-saved-query-sync.el | |
| parent | 4250bbb39ab1f01a09567ea8f202c2109a2dad30 (diff) | |
| download | pearl-7bd9f49ed7cb8482226d70ffaaa3d83fde194710.tar.gz pearl-7bd9f49ed7cb8482226d70ffaaa3d83fde194710.zip | |
fix(scripts): make Triage the intake column and the default new-issue state
Two problems showed up dogfooding the seeded board. New issues landed in Backlog, because Linear's teamCreate sets the team's default new-issue state to its own Backlog default and the seed never changed it. And the intake column read "Triage Queue" when "Triage" is the name we want.
The script now points the team's defaultIssueStateId at the intake column after the columns reconcile, so a fresh issue opens in Triage instead of Backlog. It skips the update when the default is already correct, so a re-run stays a no-op. The intake column is renamed Triage throughout: the target state, the Pearl Inbox view filter, and INTAKE_STATE. find_team reads defaultIssueState so the idempotence check has something to compare.
Both mutations were schema-introspected first: TeamUpdateInput.defaultIssueStateId and CustomViewUpdateInput.filterData. The live board was fixed the same way (rename, default-state, Inbox filter) and the dry-run against it comes back all-update, no-create. 13 tests cover the rename, the default-state set on a fresh seed, and the skip when it's already Triage.
Diffstat (limited to 'tests/test-pearl-saved-query-sync.el')
0 files changed, 0 insertions, 0 deletions
