nodejs / nodejs/docker-node

Add test setup for automated response to Node.js releases

オープン
#2,586 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

alpha alpine ci testing
主要言語
Dockerfile
スター
8.6k
フォーク
2k
平均マージ
10時間 19分
マージ済み PR(30日)
16

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ファイルやテストのエントリーポイントは指定されていません。まず、Node.js のリリースを処理する自動化と、nodejs.org/download/release/index.json および musl ビルドの扱いを特定してください。モックしたエンドポイントを使用して、security-update と upstream-release のシナリオを含むユニットテストおよび統合テストのカバレッジを追加し、自動化が musl ビルドを不必要に待機しないことを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nodejs
領域
release, testing-qa
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。