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

Fix Publish Integration Test #3591

Merged
merged 4 commits into from
Nov 14, 2024
Merged

Fix Publish Integration Test #3591

merged 4 commits into from
Nov 14, 2024

Conversation

MDrakos
Copy link
Member

@MDrakos MDrakos commented Nov 13, 2024

BugDX-3160 Nightly failure: TestPublishIntegrationTestSuite/TestPublish/*

We now have two graphQL client implementations. I've ported the changes from #3580 into this PR but the real solution will be to unify the client code. I've filed a story for that here: https://activestatef.atlassian.net/browse/DX-3162

@MDrakos MDrakos changed the base branch from master to version/0-48-0-RC1 November 13, 2024 19:44
@MDrakos MDrakos marked this pull request as ready for review November 13, 2024 21:10
@MDrakos MDrakos requested a review from mitchell-as November 13, 2024 21:12
mitchell-as
mitchell-as previously approved these changes Nov 13, 2024
@@ -371,5 +372,20 @@ func (c *Client) runWithFiles(ctx context.Context, gqlReq RequestWithFiles, resp
if err := json.Unmarshal(resp, &gr); err != nil {
return errors.Wrap(err, "decoding response")
}
return nil

if len(intermediateResp) == 1 {
Copy link
Contributor

@mitchell-as mitchell-as Nov 13, 2024

Choose a reason for hiding this comment

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

Nit: a comment describing why this conditional is here or what conditions it may occur under would probably be useful for anyone debugging around this area in the future. However, I recognize the follow up ticket may end up addressing this, so I leave it up to you.

@MDrakos MDrakos merged commit b97540c into version/0-48-0-RC1 Nov 14, 2024
8 checks passed
@MDrakos MDrakos deleted the DX-3160 branch November 14, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants