ipfs / helia-verified-fetch

A fetch-like API for obtaining verified & trustless IPFS CIDs on the web
https://npmjs.com/package/@helia/verified-fetch
Other
11 stars 1 forks source link

epic: improve gateway conformance coverage #82

Open SgtPooki opened 1 month ago

SgtPooki commented 1 month ago

related to https://github.com/ipfs/service-worker-gateway/issues/224

Chatted with @lidel about this. We should focus on the following order of improvement:

### Tasks
- [ ] https://github.com/ipfs/helia-verified-fetch/issues/84
- [ ] 100% gateway conformance: TestUnixFSDirectoryListing
- [x] 100% gateway conformance: TestPathGatewayMiscellaneous
- [ ] 100% gateway conformance: TestGatewayCache
- [ ] 100% gateway conformance: TestGatewayCacheWithIPNS
- [ ] 100% gateway conformance: TestRedirectsFileSupport
- [ ] 100% gateway conformance: TestRedirectsFileWithIfNoneMatchHeader
SgtPooki commented 1 month ago

FYI https://github.com/ipfs/helia-verified-fetch/pull/45 bumped TestPathGatewayMiscellaneous GWC from 40% to 100% success rate, but dropped TestDagPbConversion from 43.08% to 35.38%

Verified when working on https://github.com/ipfs/helia-verified-fetch/pull/83

SgtPooki commented 1 month ago

i’m up to 50% success rate on subdomain gateway tests.. I was trying to focus on the order listed in the issue description, but ran into so many issues with network requests not working that should have, I just started diving in where i could

SgtPooki commented 1 month ago

I should be able to start on some other tests now that I have most of the gateway-conformance routing issues resolved in the test setup