fix(web): resolve flaky CI test failures #433

Merged
jason.woltje merged 1 commits from fix/ci-flaky-tests into main 2026-02-21 21:12:01 +00:00
Owner

Summary

  • LinkAutocomplete: use refs for event handler state to prevent stale closures in slow CI
  • FilterBar: increase debounce test timeout from 100ms to 500ms

Pipeline #523 web test failed on FilterBar debounce timing. Pipeline #521 failed on LinkAutocomplete arrow key navigation. Both are timing-sensitive tests that pass locally but fail in slower CI environments.

Test plan

  • All 1133 web tests pass locally
  • CI pipeline green
## Summary - LinkAutocomplete: use refs for event handler state to prevent stale closures in slow CI - FilterBar: increase debounce test timeout from 100ms to 500ms Pipeline #523 web test failed on FilterBar debounce timing. Pipeline #521 failed on LinkAutocomplete arrow key navigation. Both are timing-sensitive tests that pass locally but fail in slower CI environments. ## Test plan - [x] All 1133 web tests pass locally - [ ] CI pipeline green
jason.woltje added 1 commit 2026-02-21 21:09:28 +00:00
fix(web): resolve flaky CI test failures in LinkAutocomplete and FilterBar
All checks were successful
ci/woodpecker/push/web Pipeline was successful
064b06fff4
- LinkAutocomplete: use refs for event handler state to prevent stale
  closures when effect re-attachment is delayed in slower CI environments
- FilterBar: increase debounce test timeout from 100ms to 500ms to
  prevent premature timer firing during userEvent.type in CI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit 25ae14aba1 into main 2026-02-21 21:12:01 +00:00
Sign in to join this conversation.