Tech Insights

Codex One-Time Automation Bug Reports Repeated Runs

A new issue in the official Codex repository reports that a one-time desktop automation ran on three consecutive days despite COUNT=1.

Featured image for Codex One-Time Automation Bug Reports Repeated Runs

A one-time automation is supposed to have a simple contract: run once, then stop. A new issue in the official OpenAI Codex repository says that contract failed for a Codex desktop heartbeat on Windows. The report describes the same automation running on October 30, October 31 and November 1, even though its saved rule specified COUNT=1.

The GitHub issue was opened on November 1, 2026 and is labeled as a Codex desktop app, automations and Windows issue. It is an open user report, not a confirmed root-cause analysis or a published fix. That distinction matters: the useful development here is the public report of repeated one-time execution, not a claim that every Codex automation is affected.

What the issue reports

According to the issue, the heartbeat was intended to run once at 01:20 in the Asia/Shanghai time zone on October 30. Its saved schedule was FREQ=DAILY;COUNT=1;BYHOUR=1;BYMINUTE=20;BYSECOND=0. The reporter says the same automation ID delivered heartbeat messages on three consecutive dates, with the latter two runs not requested by the owner.

The issue also says the repeated runs consumed usage until they were interrupted by a usage limit. The reporter estimates the loss at nearly $10 in tokens, while explicitly noting that the exact cost had not been independently verified. That is a useful example of the difference between an observed event and an attributed cost: the repeated messages are the central observation, while the financial estimate remains an estimate.

The automation was paused after the repeated runs. The issue’s expected behavior is that a one-time schedule should not fire again after its scheduled occurrence, even if a run fails or reaches a usage limit.

Why COUNT=1 is more than a scheduling detail

Recurring automation systems usually separate two ideas: when a trigger is eligible to fire, and how many times the schedule may fire. A daily rule with a count of one should create one eligible occurrence. Once that occurrence is consumed, the scheduler should mark the rule finished or expired independently of whether the task’s agent reaches a cleanup instruction.

The issue points to a possible gap between those layers. It says the heartbeat run was interrupted after reaching a usage limit and that a prompt instruction to delete the automation was therefore not reached. If the scheduler relies on the agent completing a cleanup step, a failed or interrupted run can leave the schedule alive for the next day. That is the behavior the reporter asks the project to investigate; it is not yet a confirmed explanation of the underlying implementation.

This distinction is important for any automation platform. User-facing prompts can request cleanup, but durable scheduling state should still enforce the schedule’s expiration. A task that says “run once” should not depend on a model or script successfully performing a second action to become one-time.

The operational risk is wasted work, not just duplicate messages

Repeated execution can have different consequences depending on what the automation does. A read-only check may simply produce duplicate notifications. A content workflow, cloud job, data export or deployment task could create duplicate artifacts, consume API quotas or repeat an external side effect.

The public issue does not claim that a specific customer environment was changed by the repeated runs, and it does not establish that the behavior affects all desktop automations. It records one report from a Windows local heartbeat environment. Still, the scenario is meaningful because it exposes a failure mode that is easy to miss in normal testing: a one-time task may look correct on day one and only reveal the problem when the scheduler reaches the next calendar day.

A concrete example is a developer who creates a one-time reminder to inspect a release candidate. The first run completes partway, hits a usage limit or is interrupted, and the task remains eligible. The following day, the same reminder runs again. If the action only sends a message, the result is annoying. If it triggers a paid API or a deployment, the result can be materially different.

What is confirmed and what is not

The issue provides several concrete facts: the platform was Codex desktop on Windows; the automation used a daily rule with COUNT=1; the reporter observed three dated heartbeat messages; later runs were not requested; and the automation was paused afterward.

Other points remain open. The issue does not identify a verified app version, does not confirm the scheduler’s root cause and does not show whether the behavior reproduces across other time zones or automation types. It links a possible duplicate issue, but that relationship is not proof that the two reports share one cause.

Keeping those boundaries clear prevents a bug report from becoming an unsupported product-wide claim. It also gives the project a better starting point for reproduction: one-time schedules, interrupted runs, usage-limit termination, time-zone handling and next-day trigger evaluation are separate variables that can be tested.

Why scheduler state should not depend on cleanup prompts

The issue’s most durable engineering lesson is about ownership of state. The scheduler owns whether a job is still eligible to run. The task executor owns the work performed during that run. Cleanup instructions can be useful as a secondary safeguard, but they should not be the only mechanism that turns a one-time rule off.

When an executor stops unexpectedly, the scheduler should already know whether the occurrence was consumed, whether a retry is permitted and whether the rule has expired. A robust design can record those transitions before execution, after execution or through an explicit retry policy. It can also expose enough history for users to distinguish a scheduled retry from an unintended duplicate.

What to watch next

  1. Issue activity: look for maintainer confirmation, a reproduction, or a linked change in the Codex repository.
  2. Automation history: compare the saved rule with actual trigger timestamps rather than assuming that a “one-time” label proves the schedule expired.
  3. Side-effect scope: use extra care with one-time automations that call paid services, publish content or change external systems.
  4. Failure behavior: note whether a run ended normally, was interrupted or reached a usage limit, because the report specifically connects the unexpected repeats with interrupted execution.

These are observations for understanding the reported behavior, not a claim that any named organization is affected. Until the project confirms a cause or fix, the correct status is that an open public issue reports repeated runs from a one-time Codex desktop automation under a particular Windows heartbeat scenario.

The bigger lesson for agentic tools

As AI tools gain schedulers, background tasks and recurring workflows, “run once” becomes a reliability promise rather than a UI label. The promise should survive model interruption, quota exhaustion, network failure and incomplete cleanup. A scheduler that remembers its own state can make that promise testable.

The Codex issue is valuable because it turns an easy-to-dismiss duplicate notification into a concrete engineering question: does the schedule expire when the occurrence is consumed, or only after the task finishes? The answer will determine whether one-time automation is a dependable primitive or merely a best-effort instruction.

This article is a general information summary based on the cited public sources. It is not legal, cybersecurity, or compliance advice.

Written By

PragnaTeja Bandiboyina

Web Designer

PragnaTeja Bandiboyina shares practical publishing insights, comparisons, and WordPress-focused growth guidance for modern web teams.

212 articles published Member since 2026