Gateway supervisor retry handler is missing #6843

Closed
opened 2026-02-16 18:05:25 -05:00 by yindo · 1 comment
Owner

Originally created by @adolago on GitHub (Jan 19, 2026).

Originally assigned to: @thdxr on GitHub.

Problem

GatewaySupervisor.start() calls scheduleRetry() but no such function exists. This breaks typecheck and drops any retry behavior when the Zee gateway fails to start.

Proposed fix

  • Add a scheduleRetry helper in packages/agent-core/src/cli/cmd/daemon.ts near the gateway supervisor.
  • Track a retry timer and backoff (e.g., exponential with a max cap) and ensure retries stop when gatewayEnabled is false or shutdown starts.
  • Alternatively, remove the call if retries are not desired, and log a clear failure reason once.

Acceptance criteria

  • scheduleRetry is defined or the call is removed without losing expected behavior.
  • bun run typecheck passes.
  • A failed gateway start no longer crashes the daemon due to an undefined symbol.

Test plan

  • bun run typecheck
Originally created by @adolago on GitHub (Jan 19, 2026). Originally assigned to: @thdxr on GitHub. ## Problem `GatewaySupervisor.start()` calls `scheduleRetry()` but no such function exists. This breaks typecheck and drops any retry behavior when the Zee gateway fails to start. ## Proposed fix - Add a `scheduleRetry` helper in `packages/agent-core/src/cli/cmd/daemon.ts` near the gateway supervisor. - Track a retry timer and backoff (e.g., exponential with a max cap) and ensure retries stop when `gatewayEnabled` is false or shutdown starts. - Alternatively, remove the call if retries are not desired, and log a clear failure reason once. ## Acceptance criteria - `scheduleRetry` is defined or the call is removed without losing expected behavior. - `bun run typecheck` passes. - A failed gateway start no longer crashes the daemon due to an undefined symbol. ## Test plan - `bun run typecheck`
yindo closed this issue 2026-02-16 18:05:25 -05:00
Author
Owner

@adolago commented on GitHub (Jan 19, 2026):

Opened in the wrong repo; will recreate on the fork.

@adolago commented on GitHub (Jan 19, 2026): Opened in the wrong repo; will recreate on the fork.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6843