Skip to content

fix(daemon): wait for async knowledge extraction before TempDir cleanup - #10

Merged
ndzuki merged 1 commit into
mainfrom
fix/ci
Sep 7, 2026
Merged

ndzuki merged 1 commit into
mainfrom
fix/ci

Conversation

@ndzuki

@ndzuki ndzuki commented Sep 7, 2026

Copy link
Copy Markdown
Owner

TestProcessMergeTaskReusesExistingPR flakes with 'directory not empty' because completeMerge launches extractProjectKnowledge in a goroutine that writes under the fixture vault after the test returns. Register a TempDir cleanup that waits for runner.activeTasks to drain before cleanup runs, matching the existing manual_merge/audit test pattern.

TestProcessMergeTaskReusesExistingPR flakes with 'directory not empty'
because completeMerge launches extractProjectKnowledge in a goroutine that
writes under the fixture vault after the test returns. Register a TempDir
cleanup that waits for runner.activeTasks to drain before cleanup runs,
matching the existing manual_merge/audit test pattern.
@ndzuki
ndzuki merged commit 03032fc into main Sep 7, 2026
3 checks passed
@ndzuki
ndzuki deleted the fix/ci branch September 7, 2026 02:25
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