Skip to content

fix(runs): open runs directly and refresh remote progress sooner - #414

Merged
aitianshi merged 5 commits into
mainfrom
fix/run-live-board-navigation
Nov 24, 2026
Merged

aitianshi merged 5 commits into
mainfrom
fix/run-live-board-navigation

Conversation

@aitianshi

@aitianshi aitianshi commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #413

What

Single-job launches now open the job page directly; launches without exactly one job retain the launches list. When the first usable feed arrives, default and explicit ?view=live requests switch to Live, while explicit Logs and Results choices remain selected.

The execution follow loop waits one second instead of ten between updates. Standard runs report model-list and network/machine requirements checks as stages, so preparation no longer leaves that work invisible before benchmark setup. This follows #380.

Touches

Backend execution · standard runner · progress labels · run-start route · live-board JavaScript · backend and route tests · the standard page and run diagrams.

Before and after

Before: Run opens the launches list; explicit Live links remain on Logs after feed readiness; remote updates include a ten-second idle wait; preflight checks have no active stage.

After: single-job launches open their job page; Live requests activate on feed readiness; the follow loop waits one second; preflight checks show their state and duration.

Paired browser captures are not attached.

Verified

  • Full route suite (674 tests) passes with current main merged in. It exposed a missing job_ids in existing run stubs; the route now reads the plan's jobs.
  • Backend suite (2874 tests) on that merge, before the route fix: one failure, test_osworld2_api_logs, which passed when rerun alone. A later local rerun was cut off by its time limit.
  • Regression cases inspect progress while preflight checks are blocked and after refusal, and bound the follow loop's idle wait.
  • The follow loop waits with _stop.wait(1.0), which a Stop interrupts.
  • git diff --check passed.
  • Not verified: a live remote benchmark on the final commit or browser appearance. No benchmark was launched for validation.

Risk

The shorter interval increases SSH, rsync and filesystem activity. Copies and network requests remain synchronous, so their duration still adds latency; this does not guarantee a one-second end-to-end switch. The interval also applies to local execution following.

Direct navigation changes the destination after a single-job launch. Preflight events extend progress logs; the checks themselves remain in the same order. Scores, recipes and stored run formats are unchanged. Revert the squash commit to undo.

@aitianshi
aitianshi marked this pull request as ready for review November 24, 2026 17:41
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown

🔴 PR judge · 7 of 8 yes · #414 ↔ #413

Merge risk 🔴 MAJOR the judge's reading of the diff; app/nullius/execution.py is in the path of every run
Priority 🔴 EXTREME the deepest path is app/nullius/execution.py
Question Verdict
Changes do what the issue asks · 4 of 4 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff, no more, no less ✅ yes
Diff stays in scope ✅ yes
Tests cover the change, or Verified says how ✅ yes
Docs follow the change ✅ yes
Risk named in the description ✅ yes
Before and after shown · 0 images · the diff touches what is visible ❌ no
Acceptance criteria, 4 of 4 met
# Criterion Verdict
1 Single-job launches open their job page; launches with several jobs retain the launches list. ✅ met
2 Feed readiness activates Live for default and explicit Live requests while preserving explicit Logs or Results choices. ✅ met
3 The execution follow loop waits at most one second after each update, while remaining interruptible. ✅ met
4 Model-list and requirements checks report running, completion and failure stages. ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@aitianshi
aitianshi merged commit 2daed42 into main Nov 24, 2026
2 checks passed
@aitianshi
aitianshi deleted the fix/run-live-board-navigation branch November 24, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run navigation and remote progress still lag after launch

1 participant