beads/internal/rpc
garnet 1ff8932468 test(rpc): add blocker check tests for close operation (GH#962)
Add two tests to verify that issue blocking/dependencies are enforced
when closing issues via the RPC handler:

- TestHandleClose_BlockerCheck: Verifies closing a blocked issue fails
  when blocker is still open, and --force flag overrides the check
- TestHandleClose_BlockerCheck_ClosedBlocker: Verifies close succeeds
  once the blocking issue is closed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 22:01:02 -08:00
..
additional_coverage_test.go Add comprehensive RPC test coverage (44.7% → 61.7%) 2025-12-23 23:08:04 -08:00
bench_test.go test: replace manual os.Chdir with t.Chdir in tests (#457) 2025-12-04 11:21:43 -08:00
client.go Show actor on status/pinned change events in activity feed 2025-12-30 15:56:52 -08:00
client_gate_shutdown_test.go refactor: remove unused bd pin/unpin/hook commands (bd-x0zl) 2025-12-27 16:02:15 -08:00
client_selfheal_test.go Fix race condition in client socket cleanup (bd-4owj) 2025-11-23 20:58:11 -08:00
comments_test.go test: Tag 16 slow integration tests with build tags 2025-11-21 14:40:22 -05:00
coverage_test.go feat: add daemon RPC endpoints for config and mol stale (bd-ag35) 2025-12-30 06:59:51 -08:00
isolation_test.go Add database isolation canary test 2025-10-21 22:44:45 -07:00
limits_test.go fix(unix): handle Statfs field types for disk space check (#646) 2025-12-19 17:50:14 -08:00
list_filters_test.go test: replace manual os.Chdir with t.Chdir in tests (#457) 2025-12-04 11:21:43 -08:00
metrics.go Fix TestMetricsSnapshot/uptime flakiness on Windows 2025-11-02 09:56:42 -08:00
metrics_test.go Fix TestMetricsSnapshot/uptime flakiness on Windows 2025-11-02 09:56:42 -08:00
protocol.go feat: add owner field for human attribution in HOP CV chains 2026-01-10 19:28:08 -08:00
protocol_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
rpc_test.go test: replace manual os.Chdir with t.Chdir in tests (#457) 2025-12-04 11:21:43 -08:00
server.go Complete cache audit (bd-bc2c6191) 2025-11-06 19:51:16 -08:00
server_compact.go Fix #249: Add nil storage checks to prevent RPC daemon crashes (#250) 2025-11-07 14:21:14 -08:00
server_core.go feat: Show actor on pinned/status change events (gt-1ydd9) 2025-12-29 23:42:20 -08:00
server_delete_test.go fix: support delete in --no-db mode (GH#822) 2025-12-31 11:45:52 -08:00
server_export_import_auto.go fix: daemon delete creates tombstones, export includes tombstones (bd-rp4o) 2025-12-17 01:15:40 -08:00
server_issues_epics.go feat: add owner field for human attribution in HOP CV chains 2026-01-10 19:28:08 -08:00
server_issues_epics_test.go fix(rpc): add --due and --defer handling to daemon mode (GH#952) (#953) 2026-01-08 14:36:47 -08:00
server_labels_deps_comments.go fix(rpc): return JSON data for dep add/remove in daemon mode (#961) 2026-01-08 14:36:07 -08:00
server_labels_deps_comments_test.go fix(rpc): return JSON data for dep add/remove in daemon mode (#961) 2026-01-08 14:36:07 -08:00
server_lifecycle_conn.go fix: address critical resource leaks and error handling issues (#327) 2025-11-20 08:13:06 -08:00
server_mutations_test.go test(rpc): add blocker check tests for close operation (GH#962) 2026-01-10 22:01:02 -08:00
server_routing_validation_diagnostics.go fix: add timeout to daemon request context to prevent indefinite hangs 2026-01-10 13:35:30 -08:00
signals_unix.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
signals_windows.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
socket_path.go fix: relocate daemon socket for deep paths (GH#1001) 2026-01-10 12:30:31 -08:00
socket_path_test.go fix: relocate daemon socket for deep paths (GH#1001) 2026-01-10 12:30:31 -08:00
socket_path_windows.go fix: relocate daemon socket for deep paths (GH#1001) 2026-01-10 12:30:31 -08:00
status_test.go feat(daemon): add auto_pull config parameter for periodic remote sync 2025-12-22 18:47:18 -05:00
test_helpers.go fix(unix): handle Statfs field types for disk space check (#646) 2025-12-19 17:50:14 -08:00
transport_unix.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
transport_windows.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
version_test.go test: replace manual os.Chdir with t.Chdir in tests (#457) 2025-12-04 11:21:43 -08:00
worker_status_test.go bd sync: 2025-12-23 23:38:57 2025-12-24 00:06:41 -08:00