Skip to content

Remove the never-emitted CacheStatusUpdateEvent #8689

Closed

Description

@aglinxinyuan

Task Summary

CacheStatusUpdateEvent is a websocket event the backend no longer sends. The frontend still subscribes to it.

Introduced by #1328 (2021-09-08, "[Operator Caching Step 3] add operator cache backend new files and config changes"). The frontend handler came in #1327, the day before.

Usage removed by #3111 (2024-11-26, "Update amber to depend on sub projects"). That PR deleted the EditingTimeCompilationRequest branch of WorkflowWebsocketResource, which ran the cache checker and called sessionState.send(CacheStatusUpdateEvent(...)). Nothing has constructed the event since.

It has been dead for nearly two years. Several pieces remain:

  • the case class and its @JsonSubTypes registration;
  • protocol-spec entries;
  • the frontend interface and type-map entry;
  • a subscribeToEvent("CacheStatusUpdateEvent") handler in OperatorReuseCacheStatusService, which never fires, and its two tests.

This is a pure deletion with no behaviour change: +3/−87 lines. The service's other subscription, which repaints the reuse-cache marker when an operator's reuse flag changes, is live and stays.

Task Type

  • Refactor / Cleanup

Activity

  1. github-actions commented on Sep 26, 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 Sep 26, 2026
    2b154f1
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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions