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 PULUMI_GCP_DISABLE_GLOBAL_PROJECT_WARNING/gcp:disableGlobalProjectWarning #2831

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Jan 8, 2025

The current "disableGlobalProjectWarning" check happens after the global project warning has already been displayed, and instead serves to skip the gcloud config validation. This PR moves the check to the correct place, and puts in tests on the logged output.

Fixes #2829

…tWarning

The current "disableGlobalProjectWarning" check happens after the global project warning
has already been displayed, and instead serves to skip the gcloud config validation. This
PR moves the check to the correct place, and puts in tests on the logged output.

Fixes #2829
@iwahbe iwahbe requested review from rshade and a team January 8, 2025 13:41
@iwahbe iwahbe self-assigned this Jan 8, 2025
Copy link

github-actions bot commented Jan 8, 2025

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (dabbe88) to head (ac05889).
Report is 4 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #2831   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files           3       3           
  Lines         161     161           
======================================
  Misses        161     161           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rshade
Copy link
Contributor

rshade commented Jan 8, 2025

Looks good to me, thank you. I will 👍 once its a PR.

@iwahbe iwahbe marked this pull request as ready for review January 8, 2025 16:13
@iwahbe iwahbe force-pushed the iwahbe/2829 branch 2 times, most recently from 1ab770a to d668c2e Compare January 9, 2025 09:43
Copy link
Contributor

@rshade rshade left a comment

Choose a reason for hiding this comment

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

👍 but do we need to worry about the dotnet warnings?

@iwahbe
Copy link
Member Author

iwahbe commented Jan 9, 2025

👍 but do we need to worry about the dotnet warnings?

What dotnet warnings?

@rshade
Copy link
Contributor

rshade commented Jan 9, 2025

👍 but do we need to worry about the dotnet warnings?

What dotnet warnings?
There are a couple on the files page like this?

 Check warning on line 1144 in sdk/dotnet/Provider.cs


GitHub Actions
/ build_sdk / build_sdk (dotnet)

Possible null reference argument for parameter 'value' in 'Input<string>.implicit operator Input<string>(string value)'.

@iwahbe
Copy link
Member Author

iwahbe commented Jan 9, 2025

👍 but do we need to worry about the dotnet warnings?

What dotnet warnings?
There are a couple on the files page like this?

 Check warning on line 1144 in sdk/dotnet/Provider.cs


GitHub Actions
/ build_sdk / build_sdk (dotnet)

Possible null reference argument for parameter 'value' in 'Input<string>.implicit operator Input<string>(string value)'.

Ah. We don't need to worry about those. A codegen change is needed to fix them, and it's unrelated to this PR.

@rshade
Copy link
Contributor

rshade commented Jan 9, 2025

:shipit:

@iwahbe iwahbe added the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Jan 10, 2025
@iwahbe iwahbe merged commit 3383e28 into master Jan 10, 2025
25 checks passed
@iwahbe iwahbe deleted the iwahbe/2829 branch January 10, 2025 10:25
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v8.13.1.

@github-actions github-actions bot removed the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Jan 10, 2025
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.

Config setting to disable the global project warning isn't working
3 participants