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

Sub request id + improve retries logging for ihe v2 + Retries for ERR_BAD_RESPONSE on DQ #2315

Merged
merged 8 commits into from
Jun 21, 2024

Conversation

jonahkaye
Copy link
Member

@jonahkaye jonahkaye commented Jun 20, 2024

Ticket: #1667

Dependencies

Description

  • add concept of subRequestId to improve ability to track and understand retry logic in PRs

Testing

  • Staging
    • logs look good.

Release Plan

  • Merge this

@jonahkaye jonahkaye self-assigned this Jun 20, 2024
@jonahkaye jonahkaye changed the base branch from develop to 1667-stream-flow-epic-larger-chunks June 20, 2024 18:30
@jonahkaye jonahkaye marked this pull request as ready for review June 20, 2024 18:31
@jonahkaye jonahkaye changed the title 1667 improve retries logging ihe v2 Sub request id + improve retries logging for ihe v2 Jun 20, 2024
Base automatically changed from 1667-stream-flow-epic-larger-chunks to develop June 21, 2024 00:50
@jonahkaye jonahkaye changed the title Sub request id + improve retries logging for ihe v2 Sub request id + improve retries logging for ihe v2 + Retries for ERR_BAD_RESPONSE on DQ Jun 21, 2024
@@ -31,6 +31,7 @@ export type SamlAttributes = z.infer<typeof SamlAttributesSchema>;

export const baseRequestSchema = z.object({
id: z.string(),
subRequestId: z.string().optional(),
Copy link
Member

Choose a reason for hiding this comment

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

Will there always be a subRequestId? If not should we set as optional?

Copy link
Member

Choose a reason for hiding this comment

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

nit: I'd use .nullish(), since those are used to validate HTTP requests and passing "null" for a prop is a common thing there.

Refs: #1667
Signed-off-by: Jonah Kaye <[email protected]>
Refs: #1667
Signed-off-by: Jonah Kaye <[email protected]>
@github-merge-queue github-merge-queue bot merged commit f092077 into develop Jun 21, 2024
13 checks passed
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.

None yet

3 participants