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

Core: Ensure we have a full story index before caching #16947

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Dec 8, 2021

See #16877 (comment)

What I did

Ensure we wait on the index before trying to cache.

How to test

  • Is this testable with Jest or Chromatic screenshots?

Yes see unit test

@nx-cloud
Copy link

nx-cloud bot commented Dec 8, 2021

Nx Cloud Report

CI ran the following commands for commit c4082de. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

@shilman shilman added bug core patch:yes Bugfix & documentation PR that need to be picked to main branch labels Dec 8, 2021
@shilman shilman changed the title Ensure we have a full story index before caching Core: Ensure we have a full story index before caching Dec 9, 2021
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM! Can repro the original error in the test case

@shilman shilman merged commit addfdbf into next Dec 9, 2021
@shilman shilman deleted the 16877-await-init-before-cache branch December 9, 2021 01:19
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Dec 9, 2021
shilman added a commit that referenced this pull request Dec 9, 2021
Core: Ensure we have a full story index before caching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug core patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants