Skip to content

Add Job IDs #13

@le91688

Description

@le91688

Title: Add Job IDs for Actions Run by Lariat on the Device Range

Description:

To provide better tracking and organization of tasks performed by the Farmhand tool on a range of devices, we should introduce a job ID for each action executed. The job ID could serve as the key for the resulting JSON output, for example:

{
"job_id": 1234,
"results": [{}, {}, {}]
}

This enhancement will help in tracking the progress and outcome of each job, and can simplify the debugging process in case of any issues.

Tasks:

  1. Modify the action execution function to generate and attach a unique job ID for each action.
  2. Update the JSON output structure to include this job ID as a key.
  3. Validate and test this enhancement in various scenarios.
  4. Update the documentation to reflect the introduction of job IDs in action execution and the resulting JSON output.

Acceptance Criteria:

  • A unique job ID is generated and attached for each action executed by Farmhand on a range of devices.
  • The resulting JSON output includes this job ID as a key.
  • The new functionality is validated and tested in different scenarios.
  • The documentation is updated to reflect the introduction of job IDs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions