Establish consumer/distribution test strategy
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- express, react, typescript, vite
- Domain
- backend, build-system, frontend, testing
Research direction
Start with the package and generator entry points that produce the SDK/React/store/generator npm tarballs, then inspect the proposed code/apps/reference-frontend and code/apps/reference-backend shapes. Run the consumer flow against npm pack tarballs in Chromium, including rectangle, a second node type, undo/redo, reconnect, and concurrent collaboration cases. Done means the reference apps work as real consumers without changing existing templates, with Firefox nightly coverage added.
Written by the indexing model from the issue text.
Description
Summary
Add a testing layer that validates Weave.js as consumers actually experience it: packed npm tarballs, generator output, and real browser-to-browser WebSocket collaboration. Two new minimal, non-published reference apps (code/apps/reference-frontend Vite+React, code/apps/reference-backend Express+WS) exercise a rectangle + a second node type + undo/redo plugin + collaboration (including a concurrent-edit convergence case), tested against npm pack tarballs of the SDK/React/store/generator packages — Chromium on PRs, +Firefox nightly. Existing generator templates stay untouched; the canonical Vite+React/Express+WS shape is added as a new, additional generator option.
Basic example
Two clients open reference-frontend, connected via reference-backend. Client A creates a rectangle and updates it; Client B renders the same state and reconnects to see current state. Packages are installed via npm pack tarballs (not workspace links) to catch broken exports/types/peer-deps as a real npm consumer would hit them.
Motivation
Current tests prove package internals, not that published artifacts install and work for real consumers. This can let broken exports, omitted files, peer-dependency issues, generator/starter drift, or collaboration regressions reach a release. This adds an explicit, additive (nothing removed/replaced) validation layer for that gap, without duplicating existing unit-test coverage. Out of scope: performance/load testing and live Azure Web PubSub e2e (kept mock/contract-tested only).
- Dominant language
- TypeScript
- Stars
- 276
- Forks
- 26
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 47
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InditexTech/weavejs
-
Server-side render fails with "requestAnimationFrame is not defined" when the room has a video nodePossibly taken @jesusmpc claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
InditexTech/weavejs#1294 ·
Maintainers usually reply within 1 day
-
internal
Difficulty 4/5 3-5 days Newbie friendliness 35/100
InditexTech/weavejs#1258 ·
Maintainers usually reply within 1 day
-
Generated create-weave-*-app projects do not install, build or run without manual fixesPossibly taken @txnioh claimed this 9 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
InditexTech/weavejs#1257 ·
Maintainers usually reply within 1 day
-
Add sticky note canvas primitive and interactive placement toolPossibly taken @jmcaamanog claimed this 21 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 58/100
InditexTech/weavejs#1232 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
InditexTech/weavejs#1217 ·
Maintainers usually reply within 1 day
All issues in InditexTech/weavejs
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jupyterlite/jupyterlite#2111 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
karlhorky/electron-app-patcher#241 ·
Maintainers usually reply within 1 day
-
Tab bar scrolls past its last tab in Firefox until no tabs are visiblePossibly taken @daviwil claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-theia/theia#18367 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day