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: 675167c1fcba483c726a26c990d06323f85794d6 / Xinyuan Lin <[email protected]> refactor(frontend): drop unused utils and obsolete types (#9256) ### What changes were proposed in this PR? Removes unreferenced utility functions, dead assertions, and obsolete websocket types in rontend: - rontend/src/app/common/util/storage.ts & storage.spec.ts: - Drops localRemoveObject and sessionRemoveObject (-24 lines prod + spec) with zero call sites across the repository. - rontend/src/app/common/util/assert.ts & ssert.spec.ts: - Drops obsolete assertion and type guard utilities ssertType, isNull, isNotNull, and onNull (-101 lines prod + spec) with zero callers across the repository. - rontend/src/app/common/service/workflow-persist/stub-workflow-persist.service.ts: - Drops unused route constants WORKFLOW_BASE_URL and WORKFLOW_SEARCH_URL (-3 lines). - rontend/src/app/workspace/types/collab-websocket.interface.ts: - Drops orphaned interface file (-74 lines) with zero imports across the frontend. - rontend/src/app/workspace/types/workflow-websocket.interface.ts: - Drops ResultExportRequest and ResultExportResponse types and their entries in TexeraWebsocketRequestTypeMap and TexeraWebsocketEventTypeMap (-19 lines), which are HTTP REST models rather than websocket messages. **+3/-232 lines across 7 files.** Pure refactoring with no behavior change. ### Any related issues, documentation, discussions? Closes #9255. ### How was this PR tested? - Prettier check passed: `ash yarn prettier --check src/app/common/util/storage.ts src/app/common/util/storage.spec.ts src/app/common/util/assert.ts src/app/common/util/assert.spec.ts src/app/common/service/workflow-persist/stub-workflow-persist.service.ts src/app/workspace/types/workflow-websocket.interface.ts ` - Unit tests passed (20 tests, 2 test files): `ash yarn ng test --watch=false --include=src/app/common/util/storage.spec.ts --include=src/app/common/util/assert.spec.ts ` - Verified 0 callers repo-wide across the entire repository. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Antigravity 2.0 Report URL: https://github.com/apache/texera/actions/runs/41534510127 With regards, GitHub Actions via GitBox
