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

Remove eager call on CommandLineWithOutputValue for BuildScan output #7

Merged
merged 3 commits into from
Jan 11, 2023

Conversation

cdsap
Copy link
Owner

@cdsap cdsap commented Jan 11, 2023

Build Scan output invalidated the configuration cache because of an eager call on the ValueSource:

Calculating task graph as configuration cache cannot be reused because a build logic input of type 
'CommandLineWithOutputValue' has changed.

Issue #6.

This was caused by the following:

ConsolidateProcesses().consolidate(project.jStat().get(), project.jInfo().get())

Moved the provider call in the BuildScanExtension block.

Added unit test in CI to test the BuildScan output(requires environment variables GE_URL and GE_API_KEY).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant