Skip to content

Move wait_robot_booted before accessing PolyScope - #633

Merged
urfeex merged 1 commit into
masterfrom
quickfix/move_wait_robot_booted
Nov 23, 2026
Merged

urfeex merged 1 commit into
masterfrom
quickfix/move_wait_robot_booted

Conversation

@urfeex

@urfeex urfeex commented Nov 20, 2026

Copy link
Copy Markdown
Member

Otherwise PolyScope might not be fully initialized when we start the tests which can lead to the DashboardClientX tests failing.

Otherwise PolyScope might not be fully initialized when we start the tests which can lead to the DashboardClientX tests failing.
@urfeex urfeex added the CI label Nov 20, 2026
Copilot AI balanced review requested due to automatic review settings November 20, 2026 08:40
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.82%. Comparing base (048a295) to head (46254a4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #633      +/-   ##
==========================================
- Coverage   83.83%   83.82%   -0.02%     
==========================================
  Files         127      127              
  Lines        8561     8560       -1     
  Branches     3913     3913              
==========================================
- Hits         7177     7175       -2     
- Misses        970      972       +2     
+ Partials      414      413       -1     
Flag Coverage Δ
python_scripts 49.69% <ø> (ø)
start_ursim 89.08% <ø> (-0.54%) ⬇️
unit 64.07% <ø> (ø)
ur20-latest 81.48% <ø> (-0.04%) ⬇️
ur5-3.14.3 81.23% <ø> (+0.03%) ⬆️
ur5e-10.11.0 77.06% <ø> (ø)
ur5e-10.12.0 77.99% <ø> (-0.06%) ⬇️
ur5e-10.7.0 76.60% <ø> (ø)
ur5e-5.9.4 81.40% <ø> (-0.04%) ⬇️
ur7e-10.13.0 78.43% <ø> (+0.01%) ⬆️
ur7e-10.14.0 78.69% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the CI startup-ordering change.

No open issues 🎉

What changed in this PR

This PR adjusts CI startup ordering to reduce DashboardClientX test failures caused by accessing PolyScope before the robot is ready.

Changes:

  • Moves wait_robot_booted.py before the “Access PolyScope” step.
  • Preserves the existing exception for URSim version 10.7.0.
File Description
.github/​workflows/​ci.yml Reorders the robot boot wait to run before PolyScope access.

Review effort: Balanced

@urfeex
urfeex marked this pull request as ready for review November 20, 2026 12:16
@urfeex
urfeex requested a review from a team November 20, 2026 12:16
@cursor

cursor Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
CI step ordering only; no production code or auth/data paths touched.

Overview
Reorders the integration test workflow so Wait for robot to boot (scripts/wait_robot_booted.py) runs immediately after artifact setup and before the headless Chrome Access PolyScope step (still skipped for URSim 10.7.0).

Previously the wait ran after Python/Playwright setup, so PolyScope could be opened before the sim was ready, which led to flaky DashboardClientX failures.

Reviewed by Cursor Bugbot for commit 46254a4. Bugbot is set up for automated code reviews on this repo. Configure here.

@mergify

mergify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@urfeex

urfeex commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

I've re-started the 10.14.0 run 3 times and it succeeded in every run. I think, this finally resolves the DashboardClientX tests being flaky on 10.14.0

@urfeex
urfeex merged commit e13368e into master Nov 23, 2026
206 of 210 checks passed
@urfeex
urfeex deleted the quickfix/move_wait_robot_booted branch November 23, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants