Skip to content

feat(desktop): turn a job's harness back on from its card - #4350

Merged
LHagfoss merged 1 commit into
mainfrom
feat/desktop-job-harness-turn-on
Nov 25, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
feat/desktop-job-harness-turn-on

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

A job whose harness is turned off in Settings › Harnesses fails every run and, after three, pauses itself. The card said so but only offered Resume, which just failed again.

  • The job card now checks the job's harness on this computer. When it is installed but turned off, the card shows a Turn on button in place of Resume.
  • Turn on enables the harness and, if the job was paused, resumes it in the same click.
  • A job that is not paused yet still gets the line " is turned off, so this job cannot run" with the button, so it can be fixed before its next run fails.
  • Only local jobs get the button. Jobs on another machine or dispatched by a hub keep the existing reason and Resume, because this computer's harness switch does not apply to them.

Changelog

Jobs whose harness is turned off now offer a Turn on button that enables it and resumes the job.

Testing

  • Mock: the seeded "Dependency audit" job (Claude Code off, paused after 3 failures) shows Turn on. Clicking it enabled Claude Code and resumed the job, and the card went back to its normal state.
  • bunx tsc, biome, bunx vite build and check-comments.py pass. bun run check fails only on the known flaky stopTrace.store.test.ts ("a harness that ignores the Stop is forced").

@github-actions github-actions Bot added the feature New feature or request label Nov 25, 2026
@LHagfoss
LHagfoss merged commit 7eb2884 into main Nov 25, 2026
10 checks passed
@LHagfoss
LHagfoss deleted the feat/desktop-job-harness-turn-on branch November 25, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant