Repository navigation
nightly: drop the recipes self-test unit that check-recipes already runs - #692
Conversation
There was a problem hiding this comment.
Verdict: CLEAN: Nightly retains the recipes self-test through check-recipes.sh and removes only its duplicate unit.
Checked
Duplicates: 0 new functions, types or constants; the duplicate nightly entry is removed.
Complexity: one validation branch added to nightly_problems.
Silent failure: 0 new suppression sites; the diagnostic reaches the check command's nonzero exit and nightly's named error.
Tests: in-memory checks with stubbed dependencies passed for normal, duplicate, skipped-owner, absent-owner and unrelated-extra cases. Removing the guard at tools/recipes.py:6336 makes the added assertion at line 12298 fail. AST comparison confirms unit assembly and crate selection are unchanged.
Gates: no pins moved; check-recipes.sh:79 retains the self-test and propagates failure.
Escape catalog: no patterns matched.
Notes
No dryer or crapper results were supplied; the diff changes only Python. The full self-test suite was not run.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
The review is done and the contribution check passed, so I'm merging this. |
nightly가 레시피 self-test를 두 번 돌리던 중복을 없앴습니다.
What and why
Closes #683.
The nightly host unit list ran the recipes self-test twice.
check-recipesalready runspython3 tools/recipes.py --self-test, andHOST_EXTRA_UNITSadded a second unit with the same command right after it.HOST_EXTRA_UNITSis now empty, so the self-test runs once per nightly.nightly_problemsnow reports an extra unit that runsrecipes.py --self-testwhilecheck-recipes.shis itself a unit, so the duplicate cannot come back. No other entry inHOST_EXTRA_UNITSexisted.Release notes: internal: the nightly no longer runs the recipes self-test a second time.
Code shape
check-recipesruns; it is removed, andcheck-recipesstays the one owner.recipes-self-testentry and its mention in thehostdoc text are gone.nightly_problems.cargo fmtandcargo clippy: no Rust changes (Python only).Duplication found or removed (
path:line), or "none":tools/recipes.py:6291, therecipes-self-testunit that repeated the self-test ofblk_selftestintools/check-recipes.sh.What I ran
On an x86 Linux machine.
python3 tools/recipes.py --self-testreportsself-test FAIL: host nightly: an extra unit that repeats the check-recipes self-testandself-test: FAIL (224 gate recipes, 1 failures).python3 tools/recipes.py --self-testreportsself-test: ok (224 gate recipes, 0 failures).What I ran into
None of this blocks the PR. There is nothing else to report.
Hardware (if the change is for a machine)
Not a hardware change.
AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.