Skip to content

test(ci): add gateway-conformance tests#214

Merged
rvagg merged 3 commits intoipld:masterfrom
lidel:add-gateway-conformance-tests
Oct 14, 2025
Merged

test(ci): add gateway-conformance tests#214
rvagg merged 3 commits intoipld:masterfrom
lidel:add-gateway-conformance-tests

Conversation

@lidel
Copy link
Contributor

@lidel lidel commented Oct 13, 2025

This PR adds Github workflow for the same conformance test suite Kubo, Rainbow, Boxo, and Service Worker gatways run:

cc @aschmahmann @rvagg for visibility – this provides basic regression tests for trustless retrieval over HTTP

lidel added 3 commits October 14, 2025 01:16
- run trustless-gateway conformance tests from ipfs/gateway-conformance
- use merged fixtures for simpler setup
- test against frisbii listening on 127.0.0.1:3747
- generate test reports (json, html, markdown)
- run on push to main/master, PRs, and manual dispatch
- per trustless gateway spec, CAR responses should include Accept-Ranges: none
- indicates that HTTP range requests are not supported
- only set for CAR responses, not raw block responses
- fixes 50 gateway-conformance test failures
- frisbii supports both CAR and raw block responses
- trustlesshttp.ParseFilename only accepts .car extension
- add fallback to accept .bin extension for raw responses
- fixes 6 gateway-conformance test failures for raw responses
Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah ok, easier than I expected; I'll upstream that filename check too

@rvagg rvagg merged commit 55da90b into ipld:master Oct 14, 2025
10 checks passed
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.

2 participants