Skip to content

Bug: run-assigned-task sets In progress before live admission, then rolls back to To do #2604

Closed

Description

@larryro

Problem

When an agent assignment fails admission, the task still flashes In progress then rolls back to To do. Operators see a status flip with no primary failure state.

Part of epic #2602. Same repro as the assign-non-live bug.

Current behaviour

Activity on task “Connect an integration”:

  • To do → In progress (workflow ack)
  • automated comment: agent disabled or not installed — returned to To do
  • In progress → To do (rollback)

status flip

Code pointers

  • builtin-configs/workflows/projects/tasks/run-assigned-task.json — ack (In progress) before run_on_task
  • Fail path: fail_comment → rollback to todo

Proposed change

Preflight live/admission before acknowledging In progress. On preflight failure: keep prior status + clear comment (or block assign upstream).

Acceptance criteria

  • Failed admission never moves the task to In progress
  • Successful admission still acks In progress (or equivalent)
  • Failure reason remains visible on the task

Activity

  1. added
    priority: high
    bug
    service: platform
    on Jul 9, 2026
  2. larryro commented on Jul 9, 2026

    @larryro
    ContributorAuthor

    Fresh-org confirmation (UX Audit Org): after assigning non-live issue-triager, task ends on To do with the automated rollback comment (same pattern as Acme evidence on the issue body).

    fresh org fail comment

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

    bugpriority: highservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions