Skip to content

feat: Add wasm support to net_diagnostics#93

Open
matheus23 wants to merge 22 commits into
mainfrom
matheus23/wasm
Open

feat: Add wasm support to net_diagnostics#93
matheus23 wants to merge 22 commits into
mainfrom
matheus23/wasm

Conversation

@matheus23

@matheus23 matheus23 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Description

Switches some std::time/tokio::time use over to n0-future to enable Wasm support.

Also adds an integration test that runs against the n0/dogfood project in production both natively and from node.js with Wasm (via wasm_bindgen_test) to ensure Wasm support stays working.

For that, I added an IROH_SERVICES_API_SECRETS github action secret to this repo and need to pass it through to the test in various ways, thus all the changes to workflow files.

Breaking Changes

None

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@matheus23 matheus23 self-assigned this Jun 24, 2026
@matheus23 matheus23 added this to iroh Jun 24, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jun 24, 2026
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-services/pr/93/docs/iroh_services/

Last updated: 2026-06-26T08:16:33Z

@matheus23 matheus23 marked this pull request as ready for review June 24, 2026 16:00
@dignifiedquire

Copy link
Copy Markdown
Contributor

ci seems sad

@matheus23

Copy link
Copy Markdown
Member Author

I'm kind of at a loss as to why the IROH_SERVICES_API_SECRET env var is working for the Wasm check but not the the native one? Is there something about environment overrides that I'm missing in github actions?

@matheus23

Copy link
Copy Markdown
Member Author

Well this was a long fight... Mind taking another small look at this PR @dignifiedquire?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

2 participants