Lint does not block a merge, and the same test step runs twice

オープン 初心者向け
#243 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@spikedeeev がすでに取り組んでいます。

2026年11月23日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, shell, typescript, yaml

調査の方向性

.github/workflows/ci.yml から始めます。2 つ目の Test http-server ステップを削除し、Lint ステップから continue-on-error: true を取り除いてください。ローカルで pnpm run lint を実行し、apps/frontend に eslint のエラーが残っているか確認してください。それらを修正することが唯一の実質的な作業です。CI が lint エラーで失敗し、Test http-server がワークフロー内に 1 回だけ現れれば完了です。

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

説明

Backend first issue bug good first issue help wanted

Two problems in .github/workflows/ci.yml, both small.

1. Lint is advisory
      - name: Lint
        run: pnpm run lint
        continue-on-error: true

The step is allowed to fail. It was set that way while apps/frontend had around twenty eslint errors, with a note to drop the flag once they were cleared. Worth checking whether they still exist:

pnpm run lint

If it passes, remove continue-on-error: true and lint becomes a real gate. If some remain, fixing them is the issue — and the count is probably small now, since the type gate and the tests have both been tightened since.

2. Test http-server runs twice
      - name: Test http-server
        run: pnpm --filter http-server run test

      # The ws-server authorization tests ...
      - name: Test ws-server
        run: pnpm --filter ws-server run test

      # The auth middleware tests sign real tokens and need no services.
      - name: Test http-server          # <- again
        run: pnpm --filter http-server run test

Two pull requests added the same step independently and both merged. Harmless beyond wasting a minute of CI on every run, but it is the kind of thing that makes a workflow harder to read and encourages the next duplicate.

Worth doing while in there

Each service has its own step, so adding a sixth service means remembering to add a seventh line. A test task in turbo.json plus a root "test": "turbo run test" would collapse all of them into one step and make pnpm test locally mean the same thing as CI. That is a slightly bigger change — fine to do separately, but mention it if you take it on.

Definition of done
  • A pull request with a lint error fails CI
  • Test http-server appears once
  • The full suite still passes

Good first issue: the duplicate is a two-line deletion, and the lint flag is one more. The only real work is whatever pnpm run lint reports.

主要言語
TypeScript
スター
21
フォーク
7
平均マージ
7時間 54分
マージ済み PR(30日)
28

環境構築

はじめの一歩

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

TheCodeHeist-Coder/Rexial のほかの issue

TheCodeHeist-Coder/Rexial の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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