The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-9112-fdd860d2709582be4973c3391052ad90eb7abb1a has failed. Run started by GitHub user kunwp1 (triggered by kunwp1).
Head commit for run: b636a805c6168a86fc5b9d526b0beec3c4236dae / Xinyuan Lin <[email protected]> refactor(frontend): remove unused AiAnalystService injection (#9112) ### What changes were proposed in this PR? Removes `AiAnalystService`'s unused `workflowActionService` constructor injection and its import. **+2/−9 lines.** There is no behaviour change. The field is public, but nothing reads it: not the service, its one consumer `ReportGenerationService` (which uses its own `WorkflowActionService`), any template or any spec. Nothing builds the service by hand; Angular DI creates it, and `WorkflowActionService` is provided in root, so dropping the parameter is safe. The spec drops its empty `WorkflowActionService` stub, whose comment already said it existed only for this unused dependency. ### History | | | | --- | --- | | **Introduced by** | #2816 (2024-10-15), "Enhancing Report Generation by Adding Story-teller Ai based on Ai flag" | | **Usage removed by** | **never used** | It has been unused for the two years since it was added. ### Any related issues, documentation, discussions? Closes #9109 ### How was this PR tested? No new tests. >From `frontend/`: - `npx ng test --watch=false --include='**/ai-analyst.service.spec.ts' --include='**/report-generation.service.spec.ts' --include='**/menu.component.spec.ts'`: 3 files, 178 tests, all pass. The last two specs cover the service's consumer. - `npx tsc --noEmit -p src/tsconfig.app.json` and `-p src/tsconfig.spec.json`: clean. - `yarn format:ci`: clean. - `npx ng build`: success. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Report URL: https://github.com/apache/texera/actions/runs/40214124364 With regards, GitHub Actions via GitBox
