orca/tests
Jinjing 4c26ef626c
Extract GitHub task search commit debouncing into a hook (#13112)
* Extract GitHub task search commit debouncing into a hook

Move debounce logic from TaskPage into useGitHubTaskSearchCommit to
prevent excessive GitHub API calls on every keystroke. Uses a 750ms
idle window before committing search values. Add tests for the new hook.

* Keep task rows visible while typing search query

Removed premature row-hiding logic from the search input handler that was
triggering before debounced queries fire. The handler now only updates the
input state; debouncing and query timing are handled by a dedicated hook.
Added e2e test verifying search idles before fetching and Enter doesn't
double-fetch.

* Test that GitHub task search commits cancel on disable and unmount

Verify the useGitHubTaskSearchCommit hook properly cleans up pending
commits when disabled or when the component unmounts. This prevents
unnecessary GitHub API calls during normal user interaction.

Also fix e2e test instrumentation to find the active repo through the
worktree relationship rather than assuming the first repo with a path.
2026-08-07 19:18:29 -07:00
..
e2e Extract GitHub task search commit debouncing into a hook (#13112) 2026-08-07 19:18:29 -07:00
tools refactor(codex): delete the unreachable managed shared-mirror lane (#12614) 2026-08-05 12:57:02 -07:00
.gitignore feat: add idempotent E2E test suite with headless Electron support (#671) 2026-04-19 12:09:32 -07:00
playwright.config.ts Stabilize sharded e2e CI concurrency (#6312) 2026-06-24 18:39:02 -07:00