Skip to content

feat: dockerized server for simulating js-waku in headless browser #2380

@adklempner

Description

@adklempner

Description

We need to validate that js-waku browser tests can be successfully integrated into DST's simulation environment. Before implementing the full API, we should create a proof-of-concept with minimal functionality to ensure the approach is viable.

User Story

As a DST engineer, I want to run a simple end-to-end test using js-waku in a containerized browser environment, so that I can confirm our simulation infrastructure can integrate with js-waku browser tests before more extensive development is done.

Proposed Solution / Feature Design

Create a minimal proof-of-concept implementation with:

  1. A basic web application running a js-waku node with limited functionality
  2. A server exposing a small subset of the nwaku REST API (3-5 endpoints)
  3. Docker packaging that allows the solution to be run in DST's simulation environment
  4. Documentation for running a simple test case (e.g., connecting to peers, sending/receiving a basic message)

This PoC should focus on validating the core integration rather than implementing all features. Success criteria is DST being able to run at least one simple end-to-end test in their simulation environment.

Notes

  • Implementation should prioritize compatibility with DST's existing simulation infrastructure
  • Only implement enough API functionality to validate the approach (connect, peer info, send/receive on one protocol)
  • Include instructions for DST team on how to integrate and run the test
  • Gather feedback to inform the complete implementation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions