Add test setup for automated response to Node.js releases
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 8.6k
- Forks
- 2k
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 16
Description
What would you like
Add a test setup so that automation responses to new Node.js releases can be tested without requiring production server availability.
Add unit tests and integration tests.
Mock relevant endpoints, such as:
Determine if tests should still assume sourcing musl builds from https://unofficial-builds.nodejs.org or if this should fast-forward to a scenario where this is no longer necessary.
Why is it needed
Automation that deals with processing Node.js updates often fails, leading to manual effort to correct the situation.
Problems have been known about for some time, but efforts so far to correct the issues have had limited success. The outcome of new releases has tended to cause surprises.
Security updates, which typically cause release of updates for each supported release line on the same day, have proved particularly difficult to deal with correctly. Automation is supposed to proceed without waiting for musl builds, which can take many hours, and instead is waiting when it shouldn't.
Planned upstream changes mean that code changes will be necessary:
- promotion of Alpine to Tier 2
- Node.js introduction with alpha releases
If these can be tested before their function is needed, that would help with automation predictability.
Contributor 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.
Research direction
No files or test entry points are named. Start by locating the automation that processes Node.js releases and its handling of nodejs.org/download/release/index.json and musl builds. Add unit and integration coverage using mocked endpoints, including security-update and upstream-release scenarios, and verify automation does not wait unnecessarily for musl builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs
- Domain
- release, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100