The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
968144bdfa9eb96df1024c3c4f5ba34afdcf8122 / Matthew B. <[email protected]>
test: cover SearchBarComponent debounce, cache, and routing (#5237)

### What changes were proposed in this PR?
- Added `search-bar.component.spec.ts` next to `search-bar.component.ts`
with 11 cases covering every documented behavior of the component.
- Covered `isLogin` initialization plus live updates from
`UserService.userChanged()`, the empty-query clear path in
`onSearchInputChange`, `searchSubject` debounce via `fakeAsync` +
`tick(200)`, the full `SearchService.search` argument list, per-query
result caching, 20-entry cache eviction in `addToCache`, type dispatch
in `convertToName` (workflow, project, file, dataset, plus the throw
path), and `performSearch` navigation to `DASHBOARD_SEARCH`.
- No production code changes.
### Any related issues, documentation, or discussions?
Closes: #5228
### How was this PR tested?
- `yarn ng test --watch=false --include
"src/app/dashboard/component/user/search-bar/search-bar.component.spec.ts"`:
11 passed.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.7 in compliance with ASF

Report URL: https://github.com/apache/texera/actions/runs/26492307416

With regards,
GitHub Actions via GitBox

Reply via email to