undef-engine
2026-02-19
Port fixes from Responsum for queries, regex, and E2E test selectors
6 files · 73+ · 33-
N+1 query optimization and regex compilation fix
2 files changed
screens.pyMoved regex compilation to module level to avoid repeated recompilation on every requesttimer.pyOptimized N+1 query pattern with bulk lookups
- Moved regex compilation to module level in the screens route to eliminate repeated recompilation on every request
streamline
internal
1 file
screens.py
- Optimized N+1 query pattern in the timer repository by batching sequential per-entity queries into bulk lookups
streamline
internal
1 file
timer.py
E2E test selector updates
4 files changed
RegisterForm.tsxAdded test IDs for stable selector targetingflow-complete.spec.tsUpdated registration form selectors to match current DOMroom-browsing.spec.tsUpdated room browsing test IDstest_screens_rich_parsing.pyAdded unit tests for screen parsing with new regex approach
- Updated registration form E2E test selectors and added test IDs to RegisterForm.tsx for stable targeting
qualify
behavioral
2 files
RegisterForm.tsxflow-complete.spec.ts
- Updated room browsing test IDs to align with current component rendering
qualify
internal
1 file
room-browsing.spec.ts
- Added unit tests for screens rich parsing
qualify
internal
1 file
test_screens_rich_parsing.py