nodejs / nodejs/docker-node

Add test setup for automated response to Node.js releases

Offen
#2,586 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

alpha alpine ci testing
Vorherrschende Sprache
Dockerfile
Sterne
8.6k
Forks
2k
Ø Merge
10 Std. 19 Min.
Gemergte PRs (30 T.)
16

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es werden keine Dateien oder Test-Einstiegspunkte genannt. Beginne damit, die Automatisierung zu finden, die Node.js-Releases verarbeitet, sowie deren Umgang mit nodejs.org/download/release/index.json und musl-Builds. Füge Unit- und Integrationstests mit gemockten Endpunkten hinzu, einschließlich der Szenarien security-update und upstream-release, und überprüfe, dass die Automatisierung nicht unnötig auf musl-Builds wartet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nodejs
Bereich
release, testing-qa
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.