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

PWA-3166::Queries fire multiple times #4143

Merged
merged 2 commits into from
Sep 27, 2023
Merged

PWA-3166::Queries fire multiple times #4143

merged 2 commits into from
Sep 27, 2023

Conversation

glo80771
Copy link
Contributor

Description

Whilst I was updating my project to PWA Studio 8.0 I noticed that some queries run twice. Couldn't directly see why this was happening so decided to check https://venia.magento.com/ where the same issue occurred.

To reproduce

Steps to reproduce the behavior:

Go to https://venia.magento.com/
Open the chrome network tab and set the filter to XHR + graphql
Click in the menu on 'Accessories'
As you can tell the GetCategories query is running twice. I've checked to see if there is a difference and but request (including params) are exactly the same.

I'm not sure if this is actually a bug or intended behaviour, hope someone can clarify?

Related Issue

Closes https://jira.corp.adobe.com/browse/PWA-3166.

Acceptance

Verification Stakeholders

Specification

Verification Steps

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

@pwa-studio-bot
Copy link
Collaborator

pwa-studio-bot commented Jul 10, 2023

Messages
📖

Associated JIRA tickets: PWA-3166.

📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

Generated by 🚫 dangerJS against 78624b0

@glo80771 glo80771 added the version: Patch This changeset includes backwards compatible bug fixes. label Jul 10, 2023
@m2-community-project m2-community-project bot moved this from Ready for Review to Reviewer Approved in Pull Request Progress Jul 11, 2023
@glo42707 glo42707 added the version: Minor This changeset includes functionality added in a backwards compatible manner. label Jul 11, 2023
@glo82145
Copy link
Collaborator

run lighthouse-desktop

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 27, 2023

Successfully started codebuild job for lighthouse-desktop

@glo82145
Copy link
Collaborator

run lighthouse-mobile

@pwa-test-bot
Copy link

pwa-test-bot bot commented Sep 27, 2023

Successfully started codebuild job for lighthouse-mobile

@glo82145 glo82145 merged commit af73f69 into develop Sep 27, 2023
11 checks passed
@m2-community-project m2-community-project bot moved this from Reviewer Approved to Done in Pull Request Progress Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:peregrine Progress: done version: Minor This changeset includes functionality added in a backwards compatible manner. version: Patch This changeset includes backwards compatible bug fixes.
Development

Successfully merging this pull request may close these issues.

None yet

4 participants