Skip to content

scripts/dtc: let the ADT coverage ratchet introduce a new board - #1215

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
fix/adt-coverage-new-board
Nov 8, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
fix/adt-coverage-new-board

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

scripts/dtc/apple-adt-coverage.py bootstraps the baseline for a board whose inventory is new by measuring the head inventory against the base DTB. If the board itself is new, that base DTB doesn't exist, and dt-checks fails with ENOENT. The aurora-wip sync #1210 hit this for t6050-j716s and t6050-j873s, because aurora-wip has no T6050 trees yet.

With this change, a board that has no base DTB counts as new: nothing at the base can regress, but every path in its inventory must still resolve in the head DTB. A new test covers both outcomes, and it fails without the fix.

Test: python3 scripts/dtc/apple-adt-coverage-test.py, 19 tests OK (18 before plus the new one).

🤖 Generated with Claude Code

A board added together with its inventory had no base DTB, so the
bootstrap measured the head inventory against a file that did not exist.
The coverage step then failed with ENOENT. The aurora-wip sync #1210 hit
this for t6050-j716s and t6050-j873s, because aurora-wip had no T6050
trees yet. Nothing at the base can regress for such a board, so only
check that its own inventory resolves in the head DTB.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
@RyanTheTide
RyanTheTide merged commit 6efd5fd into integration/aurora Nov 8, 2026
2 checks passed
@RyanTheTide
RyanTheTide deleted the fix/adt-coverage-new-board branch November 8, 2026 11:27
RyanTheTide added a commit that referenced this pull request Nov 8, 2026
Brings #1215, the ADT coverage fix for boards that are new to the base.

Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
Assisted-by: LLM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant