The board order is not deterministic in core search
#2466
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
core search --format json
provides different output for the same args. Theboards
item per platform differs.To reproduce
(prints the name + FQBN of the first
boards
item of thearduino:avr
core):Run the same command twice (or sometimes the third time):
Expected behavior
The
core search --format json
output is deterministicArduino CLI version
0.35.0-rc.7 Commit: 77222ec
Operating system
macOS
Operating system version
14.1
Additional context
I remember we had this problem, which was solved, but I could not find the corresponding issue/PR. Please close if it's a duplicate.
Issue checklist
The text was updated successfully, but these errors were encountered: