You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky test: a dirty worktree with an unmerged branch and an agent is deleted once both boxes are ticked #484
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-delete-worktree]').locator('[data-delete-result="finished"]')
Expected: visible
Timeout: 60000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" locator('[data-delete-worktree]').locator('[data-delete-result="finished"]') with timeout 60000ms
- waiting for locator('[data-delete-worktree]').locator('[data-delete-result="finished"]')
Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.
Flaky deletion tests with an agent often come from the agent finishing work after the UI ticks both boxes. A robust pattern is to gate deletion on an explicit agent completion signal and log every step so you can see the race in CI. If helpful, our gateway docs have an example of logging agent driven state changes: https://shield-agent.com/docs
Activity
github-actions commentedon Oct 5, 2026
Flaky again on Windows: https://github.com/modakbul-gongbang/hide/actions/runs/37288613490 (pull request #497, commit 7a97707).
cc-bb-aa commentedon Oct 5, 2026
Flaky deletion tests with an agent often come from the agent finishing work after the UI ticks both boxes. A robust pattern is to gate deletion on an explicit agent completion signal and log every step so you can see the race in CI. If helpful, our gateway docs have an example of logging agent driven state changes: https://shield-agent.com/docs
Wait for a closed pane's processes to end before its worktree folder …
github-actions commentedon Oct 5, 2026
Flaky again on Windows: https://github.com/modakbul-gongbang/hide/actions/runs/37352905893 (refs/heads/main, commit 0db27d0).
Record which processes hold a folder when its set-aside rename is ref…
Scan for a folder's holders off the removal's thread, one scan at a time
Read the scan thread's start failure in the test that starts one
Join the holder scan thread in its tests instead of spinning on the slot
Wait for every process under a closed pane's shell before its worktre…