Skip to content
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

Check common Thunderscope launch arguments in CI #3392

Open
1 task
itsarune opened this issue Oct 26, 2024 · 0 comments
Open
1 task

Check common Thunderscope launch arguments in CI #3392

itsarune opened this issue Oct 26, 2024 · 0 comments
Labels
DevOps For everything related to logistics of code Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope

Comments

@itsarune
Copy link
Contributor

Description of the task

Thunderscope--due to its Pythonic nature--is very prone to runtime bugs due to incorrectly configured widgets, types, etc. We should have CI in PRs sanity check the most common runtime arguments to Thunderscope so that we don't have to manually checkout each branch and check for breaking changes.

Here is an example of how CI could run Thunderscope on a headless machine

Here are common runtime arguments we should check:

  1. bazel run //software/thunderscope:thunderscope_main -- --run_blue --run_diagnostics --interface lo --keyboard_estop
  2. bazel run //software/thunderscope:thunderscope_main -- --blue_log {path_to_replay_log} [usually /tmp/tbots/blue/protolog_{timestamp}/]
  3. bazel run //software/ai/hl/stp/tactic:goalie_tactic_test -- --enable_thunderscope

Acceptance criteria

  • If any of the Thunderscope commands has an error (some kind of a runtime error or type mismatch error), then the CI action should fail

Blocked By

@itsarune itsarune added Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope DevOps For everything related to logistics of code labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps For everything related to logistics of code Difficulty - 7 Well-defined tasks that requires some understanding about the relevant system and tools Thunderscope
Projects
None yet
Development

No branches or pull requests

1 participant