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

CRDCDH-754 Poll for Batch Status Updates #269

Merged
merged 8 commits into from
Jan 30, 2024
Merged

Conversation

amattu2
Copy link
Member

@amattu2 amattu2 commented Jan 24, 2024

Overview

This PR updates the BatchStatus type to conform to the current definition from CRDCDH-736 and implements listBatch polling if there are any batches in the Uploading state.

Change Details (Specifics)

  • Update TypeScript definition of BatchStatus per CRDCDH-736
  • Modify listBatches GraphQL to query for full list of batch statuses
  • Poll listBatches until there are no batches uploading, when there are no batches, update the data submission to retrieve latest stats

Related Ticket(s)

CRDCDH-754

@amattu2 amattu2 added this to the MVP-2.1.0 (M3) milestone Jan 24, 2024
@amattu2 amattu2 marked this pull request as ready for review January 30, 2024 17:04
Copy link
Collaborator

@Alejandro-Vega Alejandro-Vega left a comment

Choose a reason for hiding this comment

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

LGTM!

@Alejandro-Vega Alejandro-Vega merged commit 6c749d5 into mvp-2.1.0 Jan 30, 2024
1 check passed
@Alejandro-Vega Alejandro-Vega deleted the CRDCDH-754 branch January 30, 2024 18:48
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

Successfully merging this pull request may close these issues.

2 participants