Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Fix] #353: Evaluate Buildscan Directly When Root is Evaluated #541

Merged
merged 7 commits into from
Apr 7, 2022

Conversation

bmarcaur
Copy link
Member

@bmarcaur bmarcaur commented Dec 2, 2021

Before this PR

Issue is described at length: #353

After this PR

Usages of git-version on submodules no longer errors out.

Possible downsides?

It's possible that this check was meant to fail when a user does not apply the plugin at the root, but as it stands all it does is runtime check that our code properly calls out to a project's root and then applies it. So an alternative fix is to hard error when this is called in submodules. However, fixing that "bug" is a breaking change.

@policy-bot policy-bot bot requested a review from xRuiAlves December 2, 2021 16:05
@bmarcaur bmarcaur changed the title [Fix] 353: Evaluate Buildscan Directly When Root is Evaluated [Fix] #353: Evaluate Buildscan Directly When Root is Evaluated Dec 2, 2021
@bmarcaur
Copy link
Member Author

bmarcaur commented Dec 2, 2021

Note for the reviewers: I wrote the test, observed the failing behavior, and then I applied the fix. So this definitely exhibits and fixes the behavior described in #353

@stale
Copy link

stale bot commented Jan 8, 2022

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Jan 8, 2022
@bmarcaur bmarcaur removed the stale label Mar 16, 2022
@bmarcaur bmarcaur requested review from carterkozak and removed request for ferozco April 4, 2022 20:50
@bulldozer-bot bulldozer-bot bot merged commit 4833418 into develop Apr 7, 2022
@bulldozer-bot bulldozer-bot bot deleted the fix/after-evaluate branch April 7, 2022 00:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants