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

chore: Add a Visible Job Status Function #404

Merged
merged 1 commit into from
Feb 8, 2024
Merged

chore: Add a Visible Job Status Function #404

merged 1 commit into from
Feb 8, 2024

Conversation

zinic
Copy link
Collaborator

@zinic zinic commented Feb 8, 2024

Description

This adds a function to enumerate the intended visible job statuses for use when querying upload jobs for display purposes.

Motivation and Context

This will centralize usage of this sub-set of job statuses instead of having them replicated across different locations in the codebase.

Types of changes

  • Chore (a change that does not modify the application functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Documentation updates are needed, and have been made accordingly.
  • I have added and/or updated tests to cover my changes.
  • All new and existing tests passed.
  • My changes include a database migration.

JobStatusTimedOut JobStatus = 4
JobStatusFailed JobStatus = 5
JobStatusIngesting JobStatus = 6
JobStatusAnalyzing JobStatus = 7
JobStatusPartiallyComplete JobStatus = 8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm im going to check out why my editor didnt format this! I think I may have been the last person to touch this file

@zinic zinic merged commit b4f8b0a into stage/v5.6.0 Feb 8, 2024
3 checks passed
@zinic zinic deleted the BED-4111 branch February 8, 2024 22:50
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants