beads/internal/rpc
Steve Yegge 18f81051f3 Fix race condition in client socket cleanup (bd-4owj)
- Re-check socket existence after lock check to avoid stale socket state
- If socket is initially missing but daemon lock is held, re-check socket to handle daemon startup race
- Add test TestTryConnectWithTimeout_SocketExistenceRecheck to verify fix

Fixes bd-4owj
2025-11-23 20:58:11 -08:00
..
bench_test.go Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
client.go Fix race condition in client socket cleanup (bd-4owj) 2025-11-23 20:58:11 -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 Remove deprecated bd repos command 2025-10-24 19:49:16 -07:00
isolation_test.go Add database isolation canary test 2025-10-21 22:44:45 -07:00
limits_test.go fix: Add context.Background() to sqlite.New() calls in test files 2025-11-21 14:48:41 -05:00
list_filters_test.go fix: Add context.Background() to sqlite.New() calls in test files 2025-11-21 14:48:41 -05: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 label operations to bd update command 2025-11-21 22:17:26 -05:00
protocol_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
rpc_test.go fix: Add context.Background() to sqlite.New() calls in test files 2025-11-21 14:48:41 -05: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 Implementing an RPC monitoring solution with a web-ui as implementation example. (#244) 2025-11-07 09:49:12 -08:00
server_export_import_auto.go Add configurable export error handling policies (bd-exug) 2025-11-23 20:21:51 -08:00
server_issues_epics.go Fix GH#366: Encourage descriptions when creating issues 2025-11-23 14:14:40 -08:00
server_labels_deps_comments.go Fix #249: Add nil storage checks to prevent RPC daemon crashes (#250) 2025-11-07 14:21:14 -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 Implementing an RPC monitoring solution with a web-ui as implementation example. (#244) 2025-11-07 09:49:12 -08:00
server_routing_validation_diagnostics.go feat: Add 'bd count' command for counting and grouping issues 2025-11-21 19:21:05 -05: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
status_test.go fix: Add context.Background() to sqlite.New() calls in test files 2025-11-21 14:48:41 -05:00
test_helpers.go Context propagation with graceful cancellation (bd-rtp, bd-yb8, bd-2o2) 2025-11-20 21:57:23 -05: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 Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00