Skip to content

fix: surface detailed GitHub auth errors#11248

Draft
captainsafia wants to merge 2 commits into
masterfrom
oz-agent/github-auth-error-messages
Draft

fix: surface detailed GitHub auth errors#11248
captainsafia wants to merge 2 commits into
masterfrom
oz-agent/github-auth-error-messages

Conversation

@captainsafia
Copy link
Copy Markdown
Contributor

Description

Render the server-provided GitHub auth failure message in cloud-mode GitHub auth surfaces instead of always showing the generic “Missing GitHub authentication.” copy.

This lets the app show more specific failures such as a connected GitHub account missing access to repos defined by the selected environment.

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Slack thread: D0AU96L8CDV / 1779148608.734439

Testing

  • cargo test --manifest-path /workspace/warp/Cargo.toml -p warp github_auth_url_for_initial_run_includes_focus_cloud_mode_next
  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

Not captured; this PR changes copy rendering for an existing auth error state and is paired with a server PR that supplies the specific messages.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation: https://staging.warp.dev/conversation/e3ac34bc-4985-48fc-bd92-970fd4be91aa
Run: https://oz.staging.warp.dev/runs/019e3d85-5d38-72b4-b0ed-18430632414f
This PR was generated with Oz.

Render the server-provided GitHub authentication error message in cloud-mode auth surfaces instead of always falling back to a generic missing-auth copy.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 19, 2026
Constrain Cloud Mode GitHub auth and setup error messages so long server-provided copy stays within the pane/card layout without changing the displayed text.

Co-Authored-By: Oz <oz-agent@warp.dev>
@captainsafia captainsafia force-pushed the oz-agent/github-auth-error-messages branch from 8d471e5 to 4ad168a Compare May 19, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant