beads/internal
Steve Yegge 0e6ed91f2e Add explicit cache validation tests for blocked_issues_cache
Implements bd-13gm with 8 comprehensive tests that verify cache
invalidation behavior:

- Cache updates when blocking dependencies added/removed
- Cache updates when issue status changes (close/reopen)
- Cache consistency across multiple operations
- Parent-child transitive blocking propagates to cache
- Related dependencies don't affect cache
- Deep hierarchies handled correctly
- Multiple blockers handled correctly

Tests directly query blocked_issues_cache table to verify implementation
correctness, complementing existing behavior tests in ready_test.go.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 22:05:23 -08:00
..
autoimport Fix: Improve staleness check error handling (bd-2q6d, bd-o4qy, bd-n4td) 2025-11-23 20:54:18 -08:00
beads Fix: Change default JSONL filename from beads.jsonl to issues.jsonl 2025-11-21 23:34:22 -08:00
compact Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
config Centralize BD_DEBUG logging into internal/debug package 2025-11-06 20:14:34 -08:00
configfile feat: Add built-in version tracking to bd (bd-loka) 2025-11-23 17:09:17 -08:00
daemon Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
debug feat: Complete command set standardization (bd-au0) 2025-11-23 20:33:31 -08:00
export Add configurable export error handling policies (bd-exug) 2025-11-23 20:21:51 -08:00
git Fix branchExists test after signature change 2025-11-02 20:30:31 -08:00
importer Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
lockfile fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00
merge Fix bd-pq5k: merge conflicts now prefer closed>open and deletion>modification 2025-11-23 21:42:43 -08:00
routing Fix TestRoutingIntegration and improve DetectUserRole robustness 2025-11-20 19:04:42 -05:00
rpc Fix race condition in client socket cleanup (bd-4owj) 2025-11-23 20:58:11 -08:00
storage Add explicit cache validation tests for blocked_issues_cache 2025-11-23 22:05:23 -08:00
syncbranch feat: Respect BEADS_SYNC_BRANCH environment variable 2025-11-22 18:17:19 -08:00
testutil Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
types fix: Resolve CI failures - lint errors and coverage threshold 2025-11-23 18:02:54 -08:00
util Extract normalizeLabels to internal/util/strings.go 2025-11-06 20:00:08 -08:00
utils fix: improve ResolvePartialID / ResolveID handling for bd show (issue #336) 2025-11-19 05:54:28 -05:00
validation Refactor: Extract duplicated validation logic to internal/validation 2025-11-20 20:39:23 -05:00