cli/internal/bugseti
Claude b512d7192d fix(bugseti): hold mutex during entire QueueService initialization
Move shared state initialization (issues, seen) and the load() call
inside the mutex scope in NewQueueService() to eliminate the race
window where concurrent callers could observe partially initialized
state. Remove the redundant heap.Init before the lock since load()
already calls heap.Init when restoring from disk.

Add documentation to save() and load() noting they must be called
with q.mu held.

Fixes #51

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 05:53:52 +00:00
..
updater feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
config.go fix(bugseti): update config file permissions to 0600 2026-02-16 05:53:52 +00:00
config_test.go fix(bugseti): update config file permissions to 0600 2026-02-16 05:53:52 +00:00
ethics_guard.go fix(bugseti): sanitize shell metacharacters in seeder env vars 2026-02-16 05:53:52 +00:00
ethics_guard_test.go fix(bugseti): sanitize shell metacharacters in seeder env vars 2026-02-16 05:53:52 +00:00
fetcher.go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
fetcher_test.go fix(bugseti): add comprehensive tests for FetcherService (#60) 2026-02-16 05:53:52 +00:00
ghcheck.go fix(bugseti): add gh CLI availability check with helpful error 2026-02-16 05:53:52 +00:00
ghcheck_test.go fix(bugseti): add gh CLI availability check with helpful error 2026-02-16 05:53:52 +00:00
go.mod fix(bugseti): add comprehensive tests for FetcherService (#60) 2026-02-16 05:53:52 +00:00
go.sum feat(bugseti): integrate marketplace MCP 2026-02-05 21:36:33 +00:00
mcp_marketplace.go feat(bugseti): add marketplace MCP root 2026-02-05 22:07:24 +00:00
notify.go feat(bugseti): add marketplace MCP root 2026-02-05 22:07:24 +00:00
queue.go fix(bugseti): hold mutex during entire QueueService initialization 2026-02-16 05:53:52 +00:00
seeder.go fix(bugseti): add mutex protection to seeder concurrent access 2026-02-16 05:53:52 +00:00
seeder_test.go feat(bugseti): integrate marketplace MCP 2026-02-05 21:36:33 +00:00
stats.go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
submit.go fix(bugseti): add test coverage for SubmitService PR workflow (#64) 2026-02-16 05:53:52 +00:00
submit_test.go fix(bugseti): add test coverage for SubmitService PR workflow (#64) 2026-02-16 05:53:52 +00:00
version.go feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00