Skip to content

[Bug]: tasks audit reports false-positive inconsistent_timestamps on succeeded/failed/running tasks #69229

Description

@aemeathpa

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Summary

openclaw tasks audit is reporting a large number of inconsistent_timestamps warnings with:

startedAt is earlier than createdAt

This appears on tasks with multiple outcomes, including:

  • succeeded
  • failed
  • timed_out
  • fresh running

Because it also shows up on successful and fresh-running tasks, this looks like a task timestamp bookkeeping/audit bug rather than a real "blocked task" condition.

Steps to reproduce

  1. Run background tasks normally.
  2. Run:
    bash
    openclaw tasks audit
  3. Observe inconsistent_timestamps warnings for tasks in different states, including succeeded.

Notes

  • This does not seem tied to only failed tasks.
  • The warning appears even for fresh successful tasks.
  • The warning may be orthogonal to the actual task result.
  • Real task failures still need separate inspection via openclaw tasks show <full-task-id>.

Expected behavior

I expected task timestamps to be monotonic, and for tasks audit not to warn on healthy successful/fresh-running tasks.

Actual behavior

openclaw tasks audit reports many warnings like:
text
Task warn inconsistent_timestamps succeeded fresh startedAt is earlier than createdAt
Task warn inconsistent_timestamps failed fresh startedAt is earlier than createdAt
Task warn inconsistent_timestamps timed_out fresh startedAt is earlier than createdAt
Task warn inconsistent_timestamps running fresh startedAt is earlier than createdAt
This makes task audit output noisy and makes it harder to identify real task issues.

OpenClaw version

OpenClaw 2026.4.15 (041266a)

Operating system

OS: Windows 11

Install method

npm

Model

codex openai 5.4

Provider / routing chain

codex openai 5.4

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Tasks audit: 64 findings · 0 errors · 64 warnings
Task findings: 64 · TaskFlow findings: 0
Scope    Severity Code                   Item       Status     Age      Detail
Task     warn     inconsistent_timestamps cac6277e-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 8fc647a4-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps a4de69f4-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 3229cd74-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps b30847dd-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 434e94f2-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 23812a0b-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 69bebc88-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 859c1424-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 9ca2ac78-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps bac060c8-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 9a85713a-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 9d8fb72e-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 5994e991-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 250c1396-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps ceadaea5-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps e0fa1ca9-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps c8e4e444-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 6c0b7798-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 1eced824-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 2954f785-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 81817326-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 976babb5-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 3e6d1d21-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps ef9d06ac-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 3708ee16-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 6acc61b4-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps e664399e-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 6ebca159-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps cdd36900-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 9bc0cfe5-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps de10f58d-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 5393a892-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 1cef7887-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps c2496128-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 83a56a46-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 53cb4c51-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 4592bb9a-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 60e4cef8-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps f1f47025-… timed_out  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps facba15c-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 40c085ad-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps ea00a53f-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps c345c383-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 390a95e7-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 65fa0caa-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 9e1d3c74-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 3bcc5432-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps e3ed0079-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 3719e9ad-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 001f83b8-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 35332960-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps d4bd2203-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 21a61299-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 6d103f95-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps a6ef1329-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps deee46b9-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 15f59c70-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 09ac5782-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 758f0e3c-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 5e00807e-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 67251345-… succeeded  fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 12927754-… failed     fresh    startedAt is earlier than createdAt
Task     warn     inconsistent_timestamps 0ce2be08-… running    fresh    startedAt is earlier than createdAt

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions