Skip to content

fix: abort auto-recall retrieval on timeout#856

Open
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-643-autorecall-abort
Open

fix: abort auto-recall retrieval on timeout#856
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-643-autorecall-abort

Conversation

@TurboTheTurtle
Copy link
Copy Markdown
Contributor

Summary

  • abort in-flight auto-recall retrieval work when the outer timeout fires
  • thread AbortSignal through retrieveWithRetry and retriever vector/hybrid embedding paths
  • suppress expected post-timeout abort noise while keeping the existing timeout warning

Fixes #643

Tests

  • node --test test/auto-recall-timeout.test.mjs
  • node test/retriever-rerank-regression.mjs
  • npm run build

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.

[BUG] auto-recall timeout 在首次啟動或多進程 session 時容易發生

1 participant