Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

CI: docs-only PRs fail macOS — 'Require compiler guard activity' runs on always() and sees examined=0

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

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

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

評価

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

調査の方向性

.github/workflows/ci.yml で、macOS およびその他の "Require compiler guard activity" ステップを、285 行目付近にある正しく guard されたステップと比較することから始めます。tools/cc_guard.sh と tools/ci_tier_check.sh を読み、次に tier check を実行して、docs-only とコンパイルされないコードのシナリオを検証します。コンパイルされるジョブが引き続き guard activity を報告し、docs-only ジョブが空のレポートを実行せずにパスすれば完了です。

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

説明

area:ci kind:gate-defect

Every docs-only PR fails the macos / macos-latest required job (first seen on #1447, which only edits docs/BUILTINS.md).

In .github/workflows/ci.yml, the macOS job's build and test steps are all guarded by if: needs.scope.outputs.code == 'true', but its final step "Require compiler guard activity" is if: always() and runs bash tools/cc_guard.sh --report. On a docs-only PR nothing compiles, so the report prints cc-guard: examined=0 and exits 1. The same unguarded if: always() report step appears in three more jobs (ci.yml around lines 352, 390 and 428 at ea9ee90); line 285 is guarded correctly.

The report's refusal of an empty log is right. The step's condition is what's wrong.

Done when

  • Every "Require compiler guard activity" step runs only when its job compiled: the same code == 'true' guard as that job's build steps, or an equivalent.
  • tools/ci_tier_check.sh still passes, and any re-pinned waiver shows that its old pin matched main's step.
  • A docs-only PR passes every required job, and a code PR whose build compiles nothing still fails the report.
主要言語
C
スター
3
フォーク
7
平均マージ
4時間 1分
マージ済み PR(30日)
121

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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