fix patch phase18 feat/phase-2g-bundle
AI Agent git-import/068377df · 114 days ago · Apr 4, 2026 · Diff

fix(phase18): parseGitHubRepoUrl: accept owner/repo short slug stored by bridge

The bridge stores the GitHub repo in short slug format (e.g. aaronrene/knowtation-vault-hosted) rather than a full https:// URL. parseGitHubRepoUrl only matched github.com URLs, so commitImageToRepo threw "Cannot parse GitHub owner/repo from URL: owner/repo" on every hosted upload — this was the actual root cause of the persistent 502 (the error was caught as 500 RUNTIME_ERROR but surfaced as 502 via the error-propagation chain).

Now accepts: https://github.com/user/repo[.git] [email protected]:user/repo[.git] user/repo[.git] ← new

Two new tests (515 total, 0 fail).

sha256:d854829c5449918f23000f536bad5fa6726875c1188a7cdf3b0a499b1ec1f0cd sha
sha256:f06c3298e6c1f811165b058aec1cde667e3a9afb93c76eefe9bd3368ee0245d5 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:d854829c5449918f23000f536bad5fa6726875c1188a7cdf3b0a499b1ec1f0cd --body "your comment"