Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved batch status #1156

Open
mattias-p opened this issue Mar 11, 2024 · 0 comments
Open

Improved batch status #1156

mattias-p opened this issue Mar 11, 2024 · 0 comments

Comments

@mattias-p
Copy link
Member

mattias-p commented Mar 11, 2024

Today batch_jobs returns a counts of the jobs in the running state and an aggregate count of the jobs in the completed, cancelled and crashed states. It also returns a list of ids of finished jobs in the batch.

This method should be updated to match the formal states defined in #960. The list of job ids should also be removed from the output. This way it's possible to check the status of a batch without getting a large response, and the job ids are available from the batch_domains method when you need them.

Outputs parameters to remove:

  • The number of finished tests.
  • The list of job ids of finished jobs in this batch.

Outputs parameters to add:

  • waiting_count - A non-negative integer. The number of waiting jobs in the batch.
  • completed_count - A non-negative integer. The number of completed jobs in the batch.
  • cancelled_count - A non-negative integer. The number of cancelled jobs in the batch.
  • crashed_count - A non-negative integer. The number of crashed jobs in the batch.

Stabilization

Tracking issue

Affected interfaces

Incompatibly changed:

  • batch_status

Dependencies

Overlapping proposals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant