Skip to content

Manual browser smoke test of Hypatia GUI wasm artifact #216

Closed

Description

@hyperpolymath

Follow-up to #196 / #212.

Once Build Gossamer GUI publishes a hypatia-gui-wasm artifact (gated on hyperpolymath/ephapax#36 → CLI subcommand → workflow auto-promote → wasm-validate pass → upload), run the manual browser smoke procedure documented in src/ui/gossamer/README.adoc (the "Manual browser smoke test" section added by #212):

  1. Start the Hypatia OTP backend so the IPC listener is up on :9090.
  2. Download the hypatia-gui-wasm artifact from the workflow run and drop hypatia_gui.wasm under src/ui/public/assets/wasm/.
  3. From src/ui/public/, run python3 -m http.server 8000.
  4. Open http://localhost:8000. Confirm:
    • Panel renders the initial hypatia_view(init) text without console errors.
    • Clicking each of the four department buttons updates #app.
    • "Step Back (History)" pops state.

Definition of done

  • One full pass with screenshots / console transcript attached to this issue.
  • If anything fails, file a tighter issue against loader.js or index.html and link from here.

Scope

This is the last DoD bullet from #196. The DoD explicitly permits this to be a documented manual step rather than a CI gate.

Activity

  1. hyperpolymath commented on May 11, 2026

    @hyperpolymath
    OwnerAuthor

    Status update from #219:

    The DoD here requires a real hypatia_gui.wasm artifact to drop under src/ui/public/assets/wasm/ and a manual browser pass. Both still depend on Build Gossamer GUI producing the artifact, which is gated on hyperpolymath/ephapax#36.

    What #219 does land that's relevant:

    • Manual smoke step in README.adoc now names the correct OTP launcher (iex -S mix / mix run --no-halt, not mix phx.server — this repo isn't a Phoenix app). Port is configurable via :hypatia, :http_port.
    • loader.js now supports multi-channel IPC, buffered sends until WebSocket.onopen, and reads the ipc_send body — so the manual smoke, when it runs, will exercise a loader closer to the production shape.
    • New Node smoke harness (test/gossamer/loader_smoke.test.mjs, runs in CI) locks the extern "gossamer" import surface against bridge.eph, so the manual browser smoke isn't the first thing that catches an import-name drift.

    Holding open until ephapax#36 lands and the workflow uploads hypatia-gui-wasm — at that point the procedure documented in README.adoc is runnable.


    Generated by Claude Code

  2. hyperpolymath commented on May 11, 2026

    @hyperpolymath
    OwnerAuthor

    Followup to the earlier comment with a refined upstream gate description (see also #215 for the full investigation):

    The block isn't "ephapax#36 needs to ship a CLI subcommand" — Ephapax v1.0.0 already ships ephapax compile <file> -o <out>. Verified by cloning and running locally: the binary exists, the subcommand exists, but bridge.eph fails to parse against v1.0.0's grammar because the grammar is v1-only (just fn / type declarations).

    The real gate is the v2 grammar in ephapax-parser upstream — accepting module / import / extern / data / match / let!. Once the parser learns v2, the manual browser smoke documented in README.adoc is runnable against the produced artifact.

    The latest commit on #219 updates the workflow to probe ephapax compile directly, so we get a real artifact the moment the parser change lands.


    Generated by Claude Code

  3. added 2 commits that reference this issue on May 12, 2026
    fdc5a9f
    509b100
  4. added 2 commits that reference this issue on May 12, 2026
    0291a08
    91c6334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions