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(store): ensure features are initialized after root state #2083

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

arturovt
Copy link
Member

We have a check that ensures states are initialized in the correct order and that the UpdateState action shouldn't be dispatched before the InitState action. This code updates the order of environment providers to place features at the end. As a result, the root environment initializer runs earlier, dispatching the InitState action.

Copy link

nx-cloud bot commented Nov 28, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3b57ef5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

Copy link

bundlemon bot commented Nov 29, 2023

BundleMon (Integration Projects)

Files updated (1)
Status Path Size Limits
Main bundles(Gzip)
hello-world-ng15/dist-integration/main.(hash)
.js
63.38KB (+34B +0.05%) +1%

Total files change +34B +0.05%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

We have a check that ensures states are initialized in the correct order and
that the `UpdateState` action shouldn't be dispatched before the `InitState` action.
This code updates the order of environment providers to place features at the end.
As a result, the root environment initializer runs earlier, dispatching the `InitState` action.
Copy link

nx-cloud bot commented Dec 15, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 16ae0d0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

@markwhitfeld markwhitfeld changed the title fix(store): ensure features are initialized later fix(store): ensure features are initialized after root state Dec 15, 2023
@markwhitfeld
Copy link
Member

@arturovt do you have any idea on why the unit tests might be timing out?

@arturovt
Copy link
Member Author

I don't know, it's typical for Circle to time out, but there's no reason. Seems like it's executed more than it's allowed to.

Copy link

codeclimate bot commented Dec 18, 2023

Code Climate has analyzed commit 16ae0d0 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 95.4% (0.0% change).

View more on Code Climate.

@arturovt arturovt merged commit 414599c into master Dec 18, 2023
14 checks passed
@arturovt arturovt deleted the fix/features-last branch December 18, 2023 10:31
@markwhitfeld markwhitfeld added this to the v.18.0.0 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants