Skip to content

Drop unused utility functions and obsolete websocket types in frontend #9255

Closed

Description

@aglinxinyuan

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

  • Refactor / Cleanup

Activity

  1. github-actions commented on Nov 2, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @aglinxinyuan!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  2. added a commit that references this issue on Nov 2, 2026
    675167c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions