Smoke-test the create-*-app output on every PR
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions, nextjs, node.js, typescript
- Domain
- ci-cd
Research direction
Start with the workflow file code-npm_node-PR_verify.yml and the existing Verdaccio setup used to serve local packages. Then look at the create() generator for the WebSockets and Azure templates to see what it writes. Done means a CI job that installs, type-checks, lints, builds the frontend and gets 200 from GET /api/v1/health for both templates. Ask in the thread before choosing whether the job is required on template changes.
Written by the indexing model from the issue text.
Description
Summary
Add a CI job that generates the quickstart apps, installs them, builds them and starts the backend, so dependency updates cannot silently break them. In 5.7.1 they do not install, build or start (#1257).
Basic example
A job in code-npm_node-PR_verify.yml that, for each template (WebSockets and Azure):
- Builds the packages and serves them from a local registry. The repo already has a Verdaccio setup, and
npm packwould also work. - Generates the frontend and the backend with
create(), with no prompts. - Runs
npm installwith no extra flags. - Runs
tsc --noEmitandnpm run lint, andnext buildfor the frontend. - Starts the backend and checks that
GET /api/v1/healthreturns 200.
Motivation
Nothing in CI runs the generated apps today. The Next.js 14 → 16 upgrade (#1160) and a new postprocessing release, which broke the install with no change in this repo, are two of the causes. I ran steps 2 to 5 by hand with the published 5.7.1 packages, and they catch every problem in #1257.
This is a small first step towards #1135. Browser and collaboration tests stay out of scope.
Open question: should the job be required on every PR that changes a template's package.json?
- 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
-
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
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
InditexTech/weavejs#1163 ·
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