You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gstack-artifacts-url accepts host-only and owner-only remotes as repositories #1597
gstack-artifacts-url accepts malformed remotes that contain only a host, or
only a host plus owner, and treats those partial paths as valid repositories.
Those outputs are not valid owner/repo remotes. A caller that passes a truncated
or misconfigured artifacts remote can silently derive the wrong SSH/HTTPS URL
instead of failing fast.
Expected behavior
The helper should reject remote forms whose path is empty, missing the owner, or
missing the repo. It should keep accepting valid inputs like:
Other open gstack-artifacts PRs target artifacts sync, docs, migration, or
branch wiring rather than the URL parser accepting host-only/owner-only input.
Candidate fix shape
Tighten parse_url() so the parsed path must contain at least two non-empty
segments (owner/repo) after stripping .git, and add regression coverage in test/gstack-artifacts-url.test.ts.
Activity
jbetala7 commentedon May 19, 2026
Opened PR #1598 with the fix: #1598