Smart CI: tell a Makefile.cbm / test_main.c registration from a build or harness change
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- build-system, ci-cd, testing
調査の方向性
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 の本文から書いたものです。
説明
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeusData/codebase-memory-mcp のほかの issue
-
bug editor/integration
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2787 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
editor/integration parsing/quality
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DeusData/codebase-memory-mcp#2286 ·
メンテナーはふだん 2 日以内に返信
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsオープンbug editor/integration priority/high stability/performance ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2239 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug priority/high ux/behavior
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DeusData/codebase-memory-mcp#2232 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
documentation editor/integration parsing/quality priority/normal
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
DeusData/codebase-memory-mcp#2169 ·
メンテナーはふだん 2 日以内に返信
DeusData/codebase-memory-mcp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HexaCluster/credcheck#86 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mongodb/winkerberos#175 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
difficulty: easy
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100