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

feat(gatsby): PQR worker can run page queries #32017

Merged
merged 23 commits into from
Jun 24, 2021
Merged

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Jun 22, 2021

Description

Follow-up of #32000

  • Adjust grouped query IDs to contain full page objects
  • Convert src/query/index.js to TS
  • Adjust readFromCache and writeToCache
    • Write worker slices to own .cache/worker folder
  • Add worker information to activities of run-page-queries & run-static-queries
  • Add tests for static query and two page queries (with context variables)
  • Add runQueriesInWorkersQueue

Related Issues

[ch32045]

@LekoArts LekoArts added the topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) label Jun 22, 2021
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 22, 2021
@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 22, 2021
@LekoArts LekoArts marked this pull request as ready for review June 22, 2021 14:25
@pieh pieh merged commit 44257b6 into master Jun 24, 2021
@pieh pieh deleted the pqr/run-page-queries-for-real branch June 24, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants