The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-9224-4b393c4ac559932e90919aa3019a9aa630dc0767 has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: c69988905955acea184284834aed26ee065336ce / Xinyuan Lin <[email protected]> refactor(frontend): drop orphaned test fixtures and mocks (#9224) ### What changes were proposed in this PR? Removes unreferenced legacy test fixtures, mock data, and stub services across frontend workspace and dashboard test suites: 1. `frontend/src/app/workspace/service/execute-workflow/mock-result-data.ts`: - Drops orphaned file (-88 lines) containing `mockData`, `mockResultSnapshotUpdate`, `mockResultPaginationUpdate`, `mockResultOperator`, and `mockResultPoint` with zero references across the repository. 2. `frontend/src/app/dashboard/service/user/model/stub-model.service.ts`: - Drops orphaned in-memory `StubModelService` class (-47 lines) with zero callers or imports. 3. `frontend/src/app/workspace/service/execute-workflow/mock-workflow-plan.ts`: - Drops unreferenced mock plans `mockWorkflowPlan_scan_sentiment_result` and `mockLogicalPlan_scan_sentiment_result` (-41 lines). - Drops companion unused imports `mockScanSentimentLink`, `mockSentimentPredicate`, `mockSentimentResultLink` (-8 lines). 4. `frontend/src/app/workspace/service/operator-metadata/mock-operator-metadata.data.ts`: - Drops unreferenced `testJsonSchema` definition (-17 lines). - Drops companion unused import `CustomJSONSchema7` (-1 line). **+1/-202 lines.** Pure refactoring with no behavior change. ### Any related issues, documentation, discussions? Closes #9223. ### How was this PR tested? - Prettier check passed: ```bash yarn prettier --check src/app/workspace/service/execute-workflow/mock-workflow-plan.ts src/app/workspace/service/operator-metadata/mock-operator-metadata.data.ts ``` - Unit tests passed: ```bash yarn ng test --watch=false --include='src/app/workspace/service/execute-workflow/execute-workflow.service.spec.ts' yarn ng test --watch=false --include='src/app/workspace/service/operator-metadata/operator-metadata.service.spec.ts' ``` - Verified 0 callers or imports repo-wide on `origin/main` for `StubModelService`, `mock-result-data`, `mockWorkflowPlan_scan_sentiment_result`, `mockLogicalPlan_scan_sentiment_result`, and `testJsonSchema`. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity (Claude Opus 5.5) Report URL: https://github.com/apache/texera/actions/runs/41398641734 With regards, GitHub Actions via GitBox
