aglinxinyuan opened a new issue, #9255:
URL: https://github.com/apache/texera/issues/9255
### Task Summary
Removes unreferenced utility functions, dead assertions, and obsolete
websocket types in rontend:
1. 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.
2. 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.
3.
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).
4. rontend/src/app/workspace/types/collab-websocket.interface.ts:
- Drops orphaned interface file (-74 lines) with zero imports across the
frontend.
5. 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.
### Task Type
- [x] Refactor / Cleanup
--
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]