aglinxinyuan opened a new pull request, #9624: URL: https://github.com/apache/texera/pull/9624
### What changes were proposed in this PR? Remove unused legacy files, dead mock methods, unread callback parameters, and an unused export modifier across the Angular frontend with no observable UI or runtime behavior change: - **Unused environment and asset files:** Delete the unreferenced `environment.test.ts` file (no tracked import or Angular `fileReplacements` entry) and the redundant `assets/.gitkeep` placeholder (the directory already holds tracked assets). - **Computing-unit status service and mock:** Remove obsolete `listComputingUnits`, `startPolling`, and `stopPolling` methods from `MockComputingUnitStatusService` (absent from `ComputingUnitStatusService` with zero callers) and drop unused `isConnected` and `err` callback parameters in `ComputingUnitStatusService`. - **Workflow cover constant visibility:** Remove the unused `export` modifier on `WORKFLOW_COVER_URL` in `WorkflowCoverService` (used only within its declaring module). ### Any related issues, documentation, discussions? Closes #9621. ### How was this PR tested? Ran in `frontend/` on `1991f8685c` (Node 24, `node .yarn/releases/yarn-4.14.1.cjs install --immutable --inline-builds`): ```bash node .yarn/releases/yarn-4.14.1.cjs format:ci node .yarn/releases/yarn-4.14.1.cjs exec tsc -p src/tsconfig.app.json --noEmit node .yarn/releases/yarn-4.14.1.cjs exec tsc -p src/tsconfig.spec.json --noEmit node .yarn/releases/yarn-4.14.1.cjs build node .yarn/releases/yarn-4.14.1.cjs test ``` - `format:ci` (`prettier-eslint --list-different` and `eslint ./src`): passed. - `tsc --noEmit` (`src/tsconfig.app.json` and `src/tsconfig.spec.json`): passed. - `build` (production Angular AOT build): passed. - `test` (Vitest): `255` suites passed (`7,382` passed, `0` failed, `1` pre-existing skipped in untouched `operator-property-edit-frame.component.spec.ts`). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity (Gemini 4 Neon) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
