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

BUGFIX: Clear project.configCache before starting the build #8819

Closed

Conversation

colenso
Copy link
Contributor

@colenso colenso commented Sep 3, 2019

Fixes #8478
The problem I noticed was that get-serve-url would access project.config after finalizeBuild and hence the config would get cached and would be used in the next build. Hence each build was using the previous build's config.
This PR simply clears the project.configCache before the build is started.

@milindalvares
Copy link

Yes please!

@rwjblue rwjblue changed the base branch from master to beta December 19, 2019 19:49
@rwjblue
Copy link
Member

rwjblue commented Dec 19, 2019

@colenso - Would you mind adding some tests here so that we don't regress again?
Also, I've updated the target branch of this PR to beta so that we can get the fix into a released version a bit faster.

@rwjblue
Copy link
Member

rwjblue commented Feb 11, 2020

Still needs some tests...

@locks
Copy link
Contributor

locks commented Mar 26, 2020

@colenso I tried rebasing but I don't think I have access! Do you have some cycles to rebase and submit the test?

@locks locks added this to Needs Contributor in Triaging Mar 31, 2020
@locks locks self-assigned this May 9, 2020
@colenso
Copy link
Contributor Author

colenso commented Mar 19, 2021

@locks Sorry. I haven't seen this in a while, but I want to get this through so I rebased and made another PR #9489.
Closing this in favor of #9489

@colenso colenso closed this Mar 19, 2021
Triaging automation moved this from Needs Contributor to Done Mar 19, 2021
@colenso colenso deleted the clear_config_cache_before_build branch March 19, 2021 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants