Skip to content

Remove unused SCHEDULER_TIME_SLOT_EXPIRED_PAUSE pause type and dead handler #4532

Closed

Description

@Yicong-Huang

Task Summary

SchedulerTimeSlotExpiredPause (Scala) and PauseType.SCHEDULER_TIME_SLOT_EXPIRED_PAUSE (Python) are no longer referenced anywhere in the codebase. The Python MainLoop._scheduler_time_slot_event handler that uses this pause type is also never called. Remove this dead code.

Files affected:

  • amber/src/main/scala/org/apache/texera/amber/engine/architecture/worker/PauseType.scala — drop SchedulerTimeSlotExpiredPause.
  • amber/src/main/python/core/architecture/managers/pause_manager.py — drop SCHEDULER_TIME_SLOT_EXPIRED_PAUSE enum entry.
  • amber/src/main/python/core/runnables/main_loop.py — drop the unused _scheduler_time_slot_event method.

Priority

P3 – Low

Task Type

  • Refactor / Cleanup

Activity

  1. added a commit that references this issue on Apr 27, 2026
    a099f0c
  2. added theissue type on May 1, 2026
  3. added a commit that references this issue on Jun 22, 2026
    6b3a5a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions