Smart CI: tell a Makefile.cbm / test_main.c registration from a build or harness change
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- build-system, ci-cd, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 45.8k
- Fork
- 3.8k
- Merge medio
- 3g 6h
- PR unite (30g)
- 201
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DeusData/codebase-memory-mcp
-
Generated Pi extension (cbmem.ts) breaks Gemini/Antigravity: Type.Union of Type.Literal serializes to anyOf/constForse già presa @divakantpandey l’ha presa oggi. Apertabug editor/integration
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2787 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
editor/integration parsing/quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DeusData/codebase-memory-mcp#2286 ·
I maintainer di solito rispondono entro 2 giorni
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsApertabug editor/integration priority/high stability/performance ux/behavior
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2239 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug priority/high ux/behavior
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2232 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
documentation editor/integration parsing/quality priority/normal
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
DeusData/codebase-memory-mcp#2169 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di DeusData/codebase-memory-mcp
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yunusemreyl/omen-space#337 ·
I maintainer di solito rispondono entro 1 giorno
-
dependency component: oneMKL module: dpclang
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
intel/torch-xpu-ops#5880 ·
I maintainer di solito rispondono entro 2 giorni