You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hil: name metro_m4_express by its registered probe - #644
pre-commit has been failing on master since #616. That PR passed its checks on a base older than #633 and added metro_m4_express to test/hil/ci.json with an explicit flasher. agentrc's board registry (at the pin in test/hil/agentrc.json) already registers that probe, so test_every_ci_board_loads_with_its_registered_flasher refuses the entry:
metro_m4_express: probe 000063728691 is registered (metro_m4_express): name it as "probe": "000063728691" instead
Every open PR inherits this failure, #641 among them.
Solution
Name the board by "probe": "000063728691", like every other ci.json board. The registry resolves the same flasher as before: jlink, uid 000063728691, -device ATSAMD51J19.
pre-commit run --all-files passes locally with agentrc at the CI pin.
No actionable comments were generated in the recent review.
Walkthrough
The Metro M4 Express HIL configuration now specifies a probe identifier instead of explicit J-Link flasher settings. The tinyUF2 reentry setting is unchanged.
Changes: HIL board configuration
Layer / File(s)
Summary
Metro M4 Express probe entry test/hil/ci.json
The entry now specifies a probe identifier and omits the explicit J-Link flasher name, UID, and device arguments. The tinyUF2 reentry setting is unchanged.
adafruit/tinyuf2#633: Establishes the HIL contract that this entry now follows: specify a probe and resolve the flasher from agentrc.
adafruit/tinyuf2#639: Contains the same Metro M4 Express probe configuration change.
adafruit/tinyuf2#616: Adds the Metro M4 Express entry that this change updates to the probe-based form.
Suggested reviewers:greptile-apps
Merge Risk: Minimal · up to 03b51
This change only updates a test configuration entry to use the registered probe, and the resolved flasher is unchanged. It should fix the reported pre-commit failure with no meaningful merge risk.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly identifies the main change: naming the metro_m4_express board by its registered probe.
Description check
The description explains the pre-commit failure, the configuration change, and the expected resolved flasher.
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between dc2f6f8 and 03b514e.
Files selected for processing: 1
test/hil/ci.json
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
pre-commithas been failing on master since #616. That PR passed its checks on a base older than #633 and addedmetro_m4_expresstotest/hil/ci.jsonwith an explicitflasher. agentrc's board registry (at the pin intest/hil/agentrc.json) already registers that probe, sotest_every_ci_board_loads_with_its_registered_flasherrefuses the entry:Every open PR inherits this failure, #641 among them.
Solution
Name the board by
"probe": "000063728691", like every otherci.jsonboard. The registry resolves the same flasher as before: jlink, uid000063728691,-device ATSAMD51J19.pre-commit run --all-filespasses locally with agentrc at the CI pin.