Skip to content

Board search result ordering could change although the query term is the same #1763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
kittaakos opened this issue Jun 14, 2022 · 0 comments · Fixed by #2128
Closed
3 tasks done

Board search result ordering could change although the query term is the same #1763

kittaakos opened this issue Jun 14, 2022 · 0 comments · Fixed by #2128
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

Describe the problem

When I search for a board, I would expect to receive the same matches in the same order when the query term does not change. If I search for a board, the result list changes sometimes.

To reproduce

Run board search with the same query term for a could of times and investigate the result. They might change.

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040     
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 
Arduino Nano RP2040 Connect                                     arduino:mbed      

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect                                     arduino:mbed      
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 

a.kitta@Akoss-MacBook-Pro build % ~/Downloads/arduino-cli board search rp2040
Board Name                  FQBN                                Platform ID       
Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect arduino:mbed_nano 
Arduino Nano RP2040 Connect                                     arduino:mbed      

Expected behavior

The matches and the order of the matches are the same if the query string does not change.

Arduino CLI version

arduino-cli Version: nightly-20220614 Commit: 76fab32 Date: 2022-06-14T08:23:46Z

Operating system

macOS

Operating system version

12.3.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@kittaakos kittaakos added the type: imperfection Perceived defect in any part of project label Jun 14, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jun 14, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
3 participants