Skip to content

Response collection and storage #62

Description

@jorisvilardell

Context

Receive execution results from agent and store them in the job.

Acceptance Criteria

  • Backend waits for agent response (with timeout)
  • Parses { exit_code, stdout, stderr }
  • Updates job with results
  • Sets job status to Done or Error
  • Client can retrieve results via `GET /status/{id}
  • Clean up VM after handled

Related Code:**

  • src/main.rs - get_status() handler
  • src/main.rs - AgentExecuteResponse struct
  • src/main.rs - Job TTL cleanup task

Activity

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions