Skip to content

Fix git remote URLs for GitHub App HTTPS auth#55

Merged
jonathonbyrdziak merged 1 commit intomasterfrom
fix/remote-url-https-auth
Mar 21, 2026
Merged

Fix git remote URLs for GitHub App HTTPS auth#55
jonathonbyrdziak merged 1 commit intomasterfrom
fix/remote-url-https-auth

Conversation

@jonathonbyrdziak
Copy link
Copy Markdown
Contributor

Summary

  • ProtocolStart Stage 2 now updates cloned repos' remote URLs from SSH to HTTPS when GitHub App is configured, preventing auth hangs
  • Also updates the config repo's remote URL if it was cloned with SSH
  • Adds GIT_TERMINAL_PROMPT=0 to GitPull's fetch command to prevent interactive credential prompts

Test plan

  • Run protocol start on a slave node with GitHub App configured — verify no hang at Stage 2
  • Verify git remote URLs are converted from SSH to HTTPS in both primary and config repos
  • Verify git:pull doesn't prompt for credentials when fetch fails

🤖 Generated with Claude Code

The cloned repos at releases/main/ and releases/ghostagent-config/
had SSH remote URLs in .git/config. Subcommands like git:pull and
git:slave use these URLs directly, causing SSH auth failures.

- ProtocolStart Stage 2 now updates remote URLs in both primary and
  config repos to HTTPS when GitHub App is configured
- GitPull fetch uses GIT_TERMINAL_PROMPT=0 to fail fast instead of
  hanging on credential prompts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jonathonbyrdziak jonathonbyrdziak merged commit e9f90fa into master Mar 21, 2026
6 of 8 checks passed
@jonathonbyrdziak jonathonbyrdziak deleted the fix/remote-url-https-auth branch March 21, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant