Skip to content

[Bug]: A thread waiting on an agent-scheduled wake looks finished, and the wake is announced by a generic untranslated divider #39795

Closed

Description

@MINIlaolao

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

With the Antigravity provider (gemini-4-neon), ask the agent to wait six minutes and then continue the work. The agent schedules its own wake through a tool that T3 renders as Run schedule with a DurationSeconds: 360 argument, and then ends the turn.

Right after the turn ends:

  1. The thread is completed with pendingBackgroundTasks: [].
  2. The sidebar row shows only the last-activity time (5 分钟), exactly like any finished thread.
  3. The thread header shows only 工作了 1 分 26 秒. No waiting state, no "resumes at 23:47" anywhere.
  4. About six minutes later a new turn starts on its own, introduced by a generic, untranslated Background activity updated divider.

Expected behavior

While a wake is armed, the thread should not read as finished. A waiting state in the sidebar row and in the thread header (for example "waiting, resumes 23:47") would make the pending step visible. When the wake fires, the divider should say what woke the thread (a scheduled wait, a monitor, a subagent) instead of the generic fallback text.

Actual behavior

Between the two turns the thread is indistinguishable from a settled thread: same sidebar treatment, no pending marker, status completed. The only place the pending wake exists is the agent's prose ("I set a 6 minute wake"), so a reader has no way to tell whether the next step will ever run.

When it does fire, the divider is the hard-coded fallback summary Background activity updated, which is also not translated: the rest of the UI is Chinese, this one line stays English.

Impact

Minor bug or occasional failure

Version or commit

0.1.12-nightly.20261120.4994

Environment

Windows 11, T3 Code desktop (nightly channel), provider Antigravity / gemini-4-neon, Chinese UI

Logs or stack traces

Thread timeline (UTC, from the thread's run record):

  • run 7: requested 15:40:19, completed 15:41:46 (1m26s). During the run the agent calls Run schedule with DurationSeconds: 60.
  • run 8: requested 15:47:36, completed 15:48:11. It starts by calling Run schedule with DurationSeconds: 360.

Between 15:41:46 and 15:47:36 the thread was completed, pendingBackgroundTasks was empty, and the sidebar showed only 5 分钟.

Thread items around the wake:

  • position 91, type notification, text Background activity updated
  • position 92, type dynamic_tool, Run schedule, input {DurationSeconds: 60, Prompt: "60s elapsed: ..."}
  • position 102, type notification, text Background activity updated
  • position 103, type dynamic_tool, Run schedule, input {DurationSeconds: 360, Prompt: "6-minute wait elapsed: ..."}

Attachments

Screenshot available; it shows the sidebar row with only 5 分钟, the Background activity updated divider above 工作了 1 分 26 秒, and the Run schedule / DurationSeconds 360 card. Happy to attach it to this issue on request.

Workaround

None known. The next run does fire on time; the problem is that nothing on screen says it is pending.

Note

If the only way to express this is t3_background_wait, keep in mind that the Antigravity provider does not call it when it schedules its own wake, so the same symptom will keep appearing for provider-side timers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions