Steve Yegge
071fc96206
fix: resolve golangci-lint errors
...
- Add error check for fmt.Fprintf in tips.go (errcheck)
- Add nolint for safe SQL formatting in transaction.go (gosec G201)
- Fix 'cancelled' -> 'canceled' spelling (misspell)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-24 22:21:55 -08:00
Steve Yegge
a6990a85ba
fix: code review fixes for Transaction API and Search (epic bd-8bq)
...
- Add safe type assertions in applyUpdatesToIssue (bd-4gs)
- Add --sort and --reverse flags to bd search (bd-4f6)
- Add test cases for SearchIssues priority range, date range, IDs (bd-ew5)
- Handle errors from GetLabelsForIssues in search.go (bd-lce)
- Standardize error wrapping to fmt.Errorf pattern (bd-7kl)
- Extract shared scanIssueRow helper function (bd-ajf)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-24 20:45:04 -08:00
Steve Yegge
d2f3762969
bd sync: 2025-11-24 20:26:24
2025-11-24 20:26:24 -08:00
Steve Yegge
b453db8832
bd sync: 2025-11-24 20:20:43
2025-11-24 20:20:43 -08:00
Steve Yegge
a8d7d6575c
Fix blocked cache invalidation in transaction operations (bd-1c4h)
...
Transaction operations weren't invalidating the blocked_issues_cache,
causing GetReadyWork to return stale results after transactional changes.
Changes:
- Refactor invalidateBlockedCache to accept execer interface (supports
both *sql.Tx and *sql.Conn)
- Add cache invalidation in transaction.go for:
- UpdateIssue (when status changes)
- CloseIssue (always - closed issues don't block
- AddDependency (for DepBlocks/DepParentChild types)
- RemoveDependency (queries type before deletion)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
EOF
)
2025-11-24 14:03:11 -08:00
Steve Yegge
0acd9d0a5d
bd sync: 2025-11-24 12:25:34
2025-11-24 12:25:35 -08:00