Skip to content

Decouple Dashboard status computation from task queue #1064

@opcode81

Description

@opcode81

Instead of computing status updates on demand whenever a request comes in and computing it via the task queue, maintain the current status and just return it.
Update the status ...

  • upon agent initialisation
  • after every task execution (as part of the execution).

Technically: Add to SerenaAgent a method _update_status and call it in task execution. The method itself shall call a method in the dashboard (if enabled), which then computes the status as before, albeit without the task queue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions