Skip to content

GEN-2116: Refresh jobs and run pages through lifecycle changes - #177

Merged
exe-dev-github-integration[bot] merged 4 commits into
mainfrom
gen-2116-lifecycle-refresh
Sep 19, 2026
Merged

exe-dev-github-integration[bot] merged 4 commits into
mainfrom
gen-2116-lifecycle-refresh

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Jobs and job detail pages now discover new runs and update lifecycle state automatically. Run detail refreshes its status, kill control, live indicator, and artifact status through completion without replacing the trace or open prompt disclosure.

  • Shared completion-based polling runs every 3 seconds while active and every 10 seconds for idle job pages or pending terminal artifacts. It pauses in hidden tabs, refreshes on focus/return, and retries failures with capped exponential backoff.
  • Job refresh preserves the selected cursor page, open details, keyboard focus, and manual prompt drafts; unchanged responses retain the existing DOM.
  • Trace reads remain incremental and bounded to 100 events. Load more and automatic refresh are serialized, including a final fetch after an in-flight request when a run completes. Settled terminal runs stop polling.

Validation: npm run check passed (159 tests, including 11 new browser lifecycle cases; API boundaries; workspace TypeScript; app and tail-relay Worker dry-run builds). git diff --check passed.

Reviewed #176, #175, #172, and #169. This change is based on main and only changes refresh orchestration/lifecycle UI; timing calculations, provenance, run titles, trace presentation, and backend finalization are unchanged. Those PRs share long lines in ui.ts, so their additions should be retained when resolving merge conflicts.

Fixes GEN-2116: https://linear.app/generation/issue/GEN-2116/updates-to-page

@linear

linear Bot commented Sep 18, 2026

Copy link
Copy Markdown

GEN-2116

@github-actions
github-actions Bot enabled auto-merge September 18, 2026 22:03
@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Sep 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 18, 2026
@github-actions
github-actions Bot added this pull request to the merge queue Sep 18, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 18, 2026
@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit d17c5d4 Sep 19, 2026
2 checks passed
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.

1 participant