Skip to content

feat: generates parts of the dashboard async, using ipfs/gateway-conformance #442

@laurentsenta

Description

@laurentsenta

The ipfs/gateway-conformance has reached a point where we should be able to generate most of the info needed by our public gateway checker. Reusing the project should reduce maintenance and avoid the "Red Message Of Death" caused by the user's browser connecting with many gateways.

Interop

  • Agree on the output format we want to share between conformance and the frontend

conformance.json:

{
  "gateway.ipfs.io": {
    "metadata": { "timestamp": ...., "country": .... },
    "results": {
          "CORS": { "success": 12, "fail": 0, "skipped": 0 },
          "IPNS": ...,
    }
   },
  "another-gateway.link": ...
}

CI: Call the gateway conformance workflow - #450

@laurentsenta

  • Reuse the workflow from e2e production workflow
  • Make the list of gateways that live in gateways.ts available to the workflow
  • create a minimal output we can render in the CI
  • Extract the results in a format that can be reused here
    • Export TestGroups metadata
    • Aggregates results with a piece of js

CI: Generate metadata (country) on the server side - #451

Frontend: Render the results

Make the tests pass

  • likely we'll have issues with missing fixtures

Follow-ups

Metadata

Metadata

Assignees

Labels

effort/daysEstimated to take multiple days, but less than a weekexp/intermediatePrior experience is likely helpful

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions