Commit 6ae7d06
fix(sync): Add in-progress label and preserve non-dex labels (#120)
Two fixes for GitHub label management:
1. Add dex:in-progress label for started tasks. Previously both
"not started" and "in progress" tasks got dex:pending, making
them indistinguishable on GitHub. Now buildLabels() checks
task.started_at to produce three states: pending, in-progress,
completed — matching Shortcut's three-state workflow support.
2. Preserve non-dex labels during sync updates. The GitHub API
replaces all labels when updating, so manually-added labels
(bug, team:frontend, etc.) were silently destroyed on every
sync. Now CachedIssue stores allLabels, and updateIssue()
merges non-dex labels back into the update payload.
Fixes #119
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: David Cramer <dcramer@gmail.com>1 parent 2ecf329 commit 6ae7d06
File tree
7 files changed
+465
-61
lines changed- specs
- src/core
- github
- sync
7 files changed
+465
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| |||
131 | 145 | | |
132 | 146 | | |
133 | 147 | | |
| 148 | + | |
0 commit comments