Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

Risk: forced finalize can stall and leave callbacks registered #16

Description

@acgxv

Problem
Forced finalize could stall if the engine never emits segment_end or endpoint_reset, leaving callbacks registered indefinitely.

Impact

  • Callback registrations can remain active longer than intended.
  • Finalize completion is ambiguous when no update arrives.
  • Harder lifecycle debugging if the engine misbehaves.

Expected
Finalize should complete (or fail fast) and ensure callbacks are cleaned up even if the engine fails to emit updates.

Notes
Repro would require a forced finalize path where the engine does not emit segment_end or endpoint_reset.

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions