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

Smart CI: tell a Makefile.cbm / test_main.c registration from a build or harness change

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c

調査の方向性

Start by reading scripts/ci/select-lanes.sh and the builtin:build test-impact engine rules, then inspect how they classify changes to Makefile.cbm, tests/test_main.c, and tests/test_framework.h. Compare registration-only diffs with build or harness changes; done when registration-only hunks map to the listed test files while other changes still trigger a full run. The issue describes the desired cases but does not name tests to run.

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

説明

enhancement github_actions

PR test selection (Smart CI) runs everything whenever a PR touches Makefile.cbm or tests/test_main.c / tests/test_framework.h. Both layers decide by file name: the lane selector (scripts/ci/select-lanes.sh, "registration and flag changes are indistinguishable by name") and the test-impact engine (builtin:build, the harness rule).

That is right for a flag or harness change, but most of these edits only register a new test file or suite: every new tests/test_*.c has to be added to a source list in Makefile.cbm, and every new suite to tests/test_main.c.

Measured on the 128 PR runs since 2026-10-09 that kept their changed-file lists: Makefile.cbm forced a full run in 24 (10 PRs), the harness files in 14; in 11 of them registration was the only remaining reason.

Proposal: classify by diff content. A hunk that only adds or removes entries of a source list in Makefile.cbm (or a RUN_SELECTED_SUITE(...) / extern void suite_... line in tests/test_main.c) counts as a change to the listed files themselves, not a build or harness change. Anything else in those files keeps running everything.

Follow-up to the Smart CI work; not part of that PR.

主要言語
C
スター
45.8k
フォーク
3.8k
平均マージ
3日 4時間
マージ済み PR(30日)
208

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

DeusData/codebase-memory-mcp のほかの issue

DeusData/codebase-memory-mcp の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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