Skip to content

fix: recover from panic in quick-add background goroutine#19

Merged
jgordijn merged 1 commit into
mainfrom
fix/quickadd-goroutine-panic
Mar 9, 2026
Merged

fix: recover from panic in quick-add background goroutine#19
jgordijn merged 1 commit into
mainfrom
fix/quickadd-goroutine-panic

Conversation

@jgordijn

@jgordijn jgordijn commented Mar 9, 2026

Copy link
Copy Markdown
Owner

The background AI processing goroutine could panic with a nil pointer dereference when the PocketBase test app tears down before the goroutine completes. Add recover() to log instead of crashing the test process.

Also fix Makefile to mkdir -p the ui output directory before copying, so builds work on fresh clones.

The background AI processing goroutine could panic with a nil pointer
dereference when the PocketBase test app tears down before the goroutine
completes. Add recover() to log instead of crashing the test process.

Also fix Makefile to mkdir -p the ui output directory before copying,
so builds work on fresh clones.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jgordijn jgordijn enabled auto-merge (squash) March 9, 2026 21:20
@jgordijn jgordijn merged commit aacdc9b into main Mar 9, 2026
1 check passed
@jgordijn jgordijn deleted the fix/quickadd-goroutine-panic branch March 9, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant