A failed run should not silently end the schedule
OpenCode’s 2.4.2 release notes say an automation records a failed run and still runs at its next scheduled time. They also describe exceptions: an automation can pause when its creating session or directory disappears, or when its setup is no longer valid. That distinction matters more than a generic claim that the system “retries.” OpenCode 2.4.2.
A later scheduled execution is different from retrying the failed operation immediately. This article proposes a repository-based recovery test that keeps that difference visible. I have not run the experiment in OpenCode. Its purpose is to define what a small team should observe before relying on an unattended coding check.
Choose an output that is easy to inspect
Start with a disposable repository and a check that writes a local report. It could list failing fixture tests or validate a small sample configuration. Keep deployment, package publishing and real customer records outside this first experiment. A missing report should be obvious without reading a long agent transcript.
Define the expected artifact before setting the schedule: the checked commit, run time, result and location of the report. Give the check a normal success case and a deliberate failure case. Keep the working directory stable. Otherwise you may accidentally test an invalid setup when you intended to test recovery from one bad execution.
Fail one execution, then inspect the next one
Arrange for the first scheduled check to encounter the known fixture failure. Record whether the run is marked failed and whether a partial report exists. Then restore the success fixture without replacing the automation itself. At the next scheduled time, inspect whether a new execution occurs and whether its report refers to the current input.
OpenCode 2.4.3 adds a Desktop Automations view with schedule or event-trigger information and the target session. Use it to inspect which automation you are observing. A successful manual run does not establish that the scheduled path recovered. OpenCode 2.4.3.
Give operational states different meanings
- Failed execution: one run could not complete its task.
- Scheduled again: the next execution remains expected.
- Paused or invalid: the automation needs its setup repaired.
- Successful but stale: a report exists, but it describes an earlier input.
The last case deserves its own check. File existence is a weak success condition because yesterday’s output may still be present. Tie the report to the fixture version or commit. Decide in advance who notices two consecutive failures and what evidence that person needs. The maintainer’s recovery behavior does not replace the team’s operational ownership.
Approve recovery using the artifact, not the notification
My acceptance rule would require one recorded failure followed by a genuinely new scheduled report for the corrected input. Keep the run times and artifact identifiers together. If a shell step exceeds its timeout, inspect how that failure is recorded; 2.4.2 also documents stopping timed-out automation shell calls. Release behavior and exceptions.
For a small development team, this is a useful first automation because the evidence is local and bounded. Once the behavior is understood, connect the check to the working process through Workflow Integration. Use AI Stack Setup when the underlying tooling still needs a coherent configuration.
Link Map
Sources and editorial review
Assigned to the 24-30 November 2026 editorial series. Prepared and source-checked on 30 November 2026. The series date does not imply earlier public deployment. Unless explicitly identified as a controlled demonstration, the suggested checks are original JQ AI SYSTEMS editorial guidance, not completed product experiments.
- OpenCode | Version 2.4.2 release notes (26 November 2026). Documented failure recovery and automation exceptions.
- OpenCode | Version 2.4.3 release notes (29 November 2026). Desktop Automations view and run inspection.