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:
f030df12b73c2c6a8f2e8b325c6e762d54fead7f / Xinyuan Lin <[email protected]>
refactor(frontend): remove unused imports, modules, and state (#9538)

### What changes were proposed in this PR?

Remove unused imports, redundant standalone module imports, dead
helper/stub methods, unmatched SCSS rules, unused template refs, and
unread component/service fields across the Angular frontend with no
observable UI or runtime behavior change:

- **User/auth services and test stubs:** Remove unused
`GuiConfigService` injection in `AuthGuardService`, unused `HttpClient`
injection and `AppSettings` import in `UserService`, unused `Input`
import in `RegistrationRequestModalComponent`, and dead
`checkAffiliation`/`updateAffiliation` methods on `StubUserService`.
- **Dashboard search, unread state, and dataset helpers:** Remove unused
`#searchInput` template references in `SearchBarComponent`,
`UserDatasetComponent`, and `UserModelComponent`, unmatched
`.nz-input-group`/`.nz-prefix-icon` SCSS rules in `SearchBarComponent`,
unused `getUid()` and `UserService` injection in
`SearchResultsComponent` (with its `getUid`-only unit tests), unread
`isLogin`/`currentUid` state and `UserService` subscription in
`UserComputingUnitComponent` (with its paired unit test), unread
`isLogin` in `LandingPageComponent` (retaining `currentUid` and its
assertions), unread `map` in `MiniMapComponent`, unread `coeditorStates`
in `CoeditorPresenceService`, unread `viewPort` `@ViewChild` in
`ConsoleFrameComponent`, unused `DICT_PREFIX` and `of` import in
`PresetService`, and spec-only `getPathsUnderOrEqualDatasetFileNode`
(with its unit tests).
- **Standalone and duplicate imports:** Remove redundant `FormsModule`
standalone imports alongside `ReactiveFormsModule` in
`AdminGmailComponent` (and its spec), `DatasetFileSelectorComponent`,
`DatasetVersionSelectorComponent`, `SettingsComponent`,
`PortPropertyEditFrameComponent`, and
`OperatorPropertyEditFrameComponent`, unused `NzTooltipModule` in
`HubSearchResultComponent`, unused `NzButtonModule` in
`JupyterNotebookPanelComponent`, and duplicate module imports in
`WarehouseActionsService`, `UserDatasetFileRendererComponent`, and
`UiUdfParametersParserService`.

### Any related issues, documentation, discussions?

Closes #9537.

### How was this PR tested?

Ran in `frontend/` on `5202d9582b` (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,379` 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), Claude Code (Claude Opus 5.5)

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

With regards,
GitHub Actions via GitBox

Reply via email to