Skip to content

fix: validate and serialize AI discovery runs - #182

Merged
atomantic merged 3 commits into
mainfrom
claim/issue-159
Aug 30, 2026
Merged

fix: validate and serialize AI discovery runs#182
atomantic merged 3 commits into
mainfrom
claim/issue-159

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • Validate and bound full-discovery requests before provider work begins.
  • Serialize discovery per family database, with cancellation, timeout handling, and reliable guard cleanup.
  • Cover invalid inputs, conflicts, cancellation, provider failure, and active-run retention.

Tests

  • npm test -- --run
  • npx vitest run tests/integration/api/ai-discovery.spec.ts
  • npm run build

Closes #159

@atomantic
atomantic merged commit 739b602 into main Aug 30, 2026
4 checks passed
@atomantic
atomantic deleted the claim/issue-159 branch August 30, 2026 23:38
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.

Validate and serialize asynchronous AI discovery runs

1 participant