Skip to content

Stream server-side progress/retry events back to the CLI (transparency) #50

Description

@kfastov

With send and backfill now running server-side (#48), the CLI no longer sees their progress/retry events — e.g. send FLOOD_WAIT retries and backfill progress happen on the server and never reach the user's terminal. logSendRetry (which logged retries on stderr during in-process sends) is now dead code. This loses transparency.

Goal: stream server-side events (send retries, backfill progress, rate-limit waits) back to the invoking CLI so the user sees what's happening — respecting --quiet and --json. E.g. a stream/SSE on the control channel, or an event feed the foreground command tails.

Remove the dead logSendRetry (+ its test) as part of this, or before.

Refs: core/control-server.js, core/control-client.js, core/operations.js (send), core/command-context.js.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions