[PR #7194] fix(cli): clarify error when GitHub event context is missing #12290

Open
opened 2026-02-16 18:17:12 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7194

State: open
Merged: No


Fixes #7193

When running bun dev github run without a GitHub Actions event context, the CLI currently fails with an unclear error (Unsupported event type: undefined).

This PR detects the missing event context earlier and returns a clearer, more actionable error message, improving the CLI UX without changing behavior.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7194 **State:** open **Merged:** No --- Fixes #7193 When running `bun dev github run` without a GitHub Actions event context, the CLI currently fails with an unclear error (`Unsupported event type: undefined`). This PR detects the missing event context earlier and returns a clearer, more actionable error message, improving the CLI UX without changing behavior.
yindo added the pull-request label 2026-02-16 18:17:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12290