nodeSolidServer / nodeSolidServer/node-solid-server

Tests are not running anymore in CI

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

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

主要言語
JavaScript
スター
1.8k
フォーク
308
PR マージ指標
30日以内にマージされた PR はありません

説明

Tests are not running anymore in CI
There is no issue locally. Issue is the same with c8 or nyc with and without --experimental-require-module (not needed anymore the require module has been backported in node 20.19.0 and 22.14.0)

This is an example https://github.com/nodeSolidServer/node-solid-server/tree/refs/heads/fix/issue%231798
branch fix/issue#1798

Run npm run nyc

> solid-server@5.8.5 nyc
> cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 nyc --reporter=text-summary mocha --recursive test/integration/ test/unit/

(node:2062) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);
    ^

[Error: EEXIST: file already exists, mkdir '/home/runner/work/node-solid-server/node-solid-server/test/resources/accounts/single-user'] {
  errno: -1[7](https://github.com/nodeSolidServer/node-solid-server/actions/runs/14363534639/job/40270776945#step:13:8),
  code: 'EEXIST',
  syscall: 'mkdir',
  path: '/home/runner/work/node-solid-server/node-solid-server/test/resources/accounts/single-user'
}

Node.js v22.14.0

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

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

はじめの一歩

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

調査の方向性

npm run nyc コマンドと例のブランチ fix/issue#1798 から始めます。Node.js 22.14.0 で CI 上の失敗を再現し、その後、統合テストと単体テストの実行中に test/resources/accounts/single-user がどのように作成されるかを調べます。CI のテストコマンドが EEXIST エラーなしで完了すれば完了です。

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

評価

技術スタック
javascript, nodejs
領域
ci-cd, testing-qa
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

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

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