Skip to content

test(normalize): rebase remote refs against a local httptest server - #231

Merged
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:test/fix-remote-url
Aug 16, 2026
Merged

test(normalize): rebase remote refs against a local httptest server#231
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:test/fix-remote-url

Conversation

@fredbi

@fredbi fredbi commented Aug 16, 2026

Copy link
Copy Markdown
Member

The remote ref cases used a hardcoded https://example.com base, a domain we don't control. They now rebase against an httptest TLS server, so the base URL is locally owned and carries a port, a shape the previous fixture never covered. A closing check fetches the rebased ref to confirm it resolves against that server.

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

The remote ref cases used a hardcoded https://example.com base, a domain
we don't control. They now rebase against an httptest TLS server, so the
base URL is locally owned and carries a port, a shape the previous
fixture never covered. A closing check fetches the rebased ref to confirm
it resolves against that server.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi

fredbi commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

supersedes #222

@fredbi
fredbi merged commit 4814722 into go-openapi:master Aug 16, 2026
23 checks passed
@fredbi
fredbi deleted the test/fix-remote-url branch August 16, 2026 15:21
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.02%. Comparing base (d5b5620) to head (687540e).
⚠️ Report is 3 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   92.02%   92.02%           
=======================================
  Files          30       30           
  Lines        3399     3399           
=======================================
  Hits         3128     3128           
  Misses        189      189           
  Partials       82       82           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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