build: change verification fails on boards that cannot build on a dev host (stale local master, Synergy SSP, ESP-IDF)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, ci-cd, tooling
Direzione di ricerca
Start with .claude/skills/build/SKILL.md lines 13-14 and 55: the recipe resolves local master while the code-size guidance already fetches origin/master, so make the build recipe compare against a fetched origin/master or fail when the local base is behind. Then read check_build.py (invoked as check_build.py --base master [--worktree]) to see how its selector picks boards, and add skip/uncovered reporting for license-gated SDKs (hw/bsp/synergy/family.cmake:20-21, dk_s124), ESP-IDF boards when idf.py is absent, and cmake: null rows like olimex_emz64 (see #4545). Done means a selection including dk_s124 without SSP or an espressif board without ESP-IDF does not fail verification, with tests added under .claude/test/.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while verifying repairs on #4610.
Problem
The build contract's change verification fails on boards that can never build on a dev host, so correct repairs are
rejected for reasons unrelated to the change. Two consecutive pr-babysit repairs on #4610 were reported
fix-verification-failed and left uncommitted.
- Stale base:
.claude/skills/build/SKILL.md:13-14runscheck_build.py --base master [--worktree], which resolves the
localmasterbranch. Here localmasterwas490eb4ec9whileorigin/masterwas93aa62bce, so the build
verification of a 3-filesrc/classchange resolved the full matrix, including non-code paths landed since
(.claude/skills/hil-contract/SKILL.md,.github/workflows/*,test/hil/hil_flash.py): 57 boards. The same file
(line 55) already tells code-size users to fetchorigin/masterbecause a stale ref inflates the diff; the build
recipe has no such guard. Same class of problem as #4292 (closed, code-size only). - Licensed SDK:
dk_s124always fails in that matrix.hw/bsp/synergy/family.cmake:20-21raises FATAL_ERROR
"Renesas Synergy SSP was not found or is incomplete"; SSP is licensed and not fetched bytools/get_deps.py, so no
dev host has it. The other 56 of 57 boards built. - ESP-IDF environment: a second launch's build ran without
. "$IDF_PATH/export.sh"yet still selected
espressif_p4_function_ev, failing withFileNotFoundError: ... 'idf.py'. The first launch's setup had exported it;
the second's did not. - Make-only family: with
--base origin/masterthe selector picked 69-70 boards and still includedolimex_emz64
(pic32mz), failingFamily pic32mz is not known/supported; itsfamily.jsonrow hascmake: null. Tracked in #4545.
Solution
- Compare against an up-to-date base:
origin/masterafter a fetch, or fail on a local base behind it, in the recipe
and in thepr-babysitbuild verification. - Make the selector skip, or report as uncovered, boards that cannot build on the host: license-gated SDKs (Synergy
SSP) and Make-only families (the pic32mz part is #4545). - Set up or skip ESP-IDF boards consistently across launches, so a missing
idf.pyis reported as uncovered rather
than a failed build. - Test in
.claude/test/: a selection that includesdk_s124without SSP, or an espressif board without ESP-IDF,
must not fail the verification.
Deferred from #4610: outside its scope (class driver fixes); its repairs were verified by hand with
--base origin/master.
Related: #4545 - same failure for pic32mz only, on the resolver side; this one adds the stale base, Synergy SSP and
ESP-IDF cases.
Related: #3941 - check_build.py coverage checks in --board mode, not which boards a scope selects.
Originating PR: https://github.com/hathach/tinyusb/pull/4610
- Lingua principale
- C
- Stelle
- 7.3k
- Fork
- 1.6k
- Merge medio
- 1g 19h
- PR unite (30g)
- 67
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 hathach/tinyusb
-
follow-up Port WCH USBFS Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
follow-up Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
hil-contract: a background hil_remote.py launch is killed at the Bash default 10 min timeoutForse già presa @hathach l’ha presa 16 giorni fa. Apertafollow-up Prio 📌
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
ch32v30x: debug UART loses queued bytes when its TX ring fillsForse già presa @hathach l’ha presa 16 giorni fa. Apertafollow-up Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
followup Prio 📌
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hathach/tinyusb
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
rofl0r/proxychains-ng#631 ·
-
RP2350: enabling secure boot via rescue fails with 6400 (BOOTKEY written as 33 bytes in ECC mode)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
pcqpcq/open-source-android-apps#619 ·
I maintainer di solito rispondono entro 1 giorno
-
Can't link with minizip-ngAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
Missing slice offset check in jvp_equal fast path corrupts slice comparison and aborts delpathsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni