Skip to content

ui replay: Add progress bar#37471

Open
TheSecurityDev wants to merge 6 commits intocommaai:masterfrom
TheSecurityDev:replay-progress-bar
Open

ui replay: Add progress bar#37471
TheSecurityDev wants to merge 6 commits intocommaai:masterfrom
TheSecurityDev:replay-progress-bar

Conversation

@TheSecurityDev
Copy link
Contributor

@TheSecurityDev TheSecurityDev commented Feb 28, 2026

Adds a progress bar to the diff replay. Really useful when you're running the replay over and over while making adjustments to the script, especially as it gets longer. The expected duration doesn't help much because it renders faster than real-time in headless mode.

Example:

Built replay script with 46 events and 814 frames (13.57 seconds)
Replaying:  23%|███████████████▌                                                    | 187/814 [00:04<00:12, 48.42frame/s]

Copilot AI review requested due to automatic review settings February 28, 2026 04:15
@github-actions github-actions bot added the ui label Feb 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a CLI progress bar to the UI diff replay script to provide feedback during repeated replays, including in the CI “Create UI Report” job.

Changes:

  • Import tqdm and wrap the replay render loop with a progress bar.
  • Update the bar once per rendered frame during replay.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2026

UI Preview

mici: Videos are identical! View Diff Report
big: Videos are identical! View Diff Report

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.

2 participants