fix: detect forge from parsed remote host #670

Merged
barrettruth merged 1 commit from fix/662-detect-parsed-host into main 2026-05-09 02:39:06 +00:00
Owner

Summary

  • match configured forge host aliases against the parsed remote host instead of the full remote URL
  • keep configured host overrides working for actual hosts while ignoring forge names in repo/user paths
  • add detection coverage for path-only forge aliases

Closes #662

Verification

  • nix develop .#ci --command just test spec/detect_spec.lua
  • nix develop .#ci --command just ci

Remote Forgejo CI was not awaited because the Spark runner is down.

## Summary - match configured forge host aliases against the parsed remote host instead of the full remote URL - keep configured host overrides working for actual hosts while ignoring forge names in repo/user paths - add detection coverage for path-only forge aliases Closes #662 ## Verification - nix develop .#ci --command just test spec/detect_spec.lua - nix develop .#ci --command just ci Remote Forgejo CI was not awaited because the Spark runner is down.
fix: detect forge from parsed remote host
All checks were successful
quality / Format (pull_request) Successful in 12s
quality / Test (pull_request) Successful in 10s
quality / Lint (pull_request) Successful in 15s
72048b12f9
barrettruth deleted branch fix/662-detect-parsed-host 2026-05-09 02:39:06 +00:00
Sign in to join this conversation.
No description provided.