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

Enable DiffStrategy PlanState by default #1976

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented May 15, 2024

This has been rolled out to GCP and AWS providers for a considerable time and should be the new default behavior. Retaining the WithDiffStrategy and similar functions as deprecated to avoid breaking provider builds that set them.

This has been rolled out to GCP and AWS providers for a considerable time and should be the new default behavior.
Retaining the WithDiffStrategy and similar functions as deprecated to avoid breaking provider builds that set them.
@t0yv0
Copy link
Member Author

t0yv0 commented May 15, 2024

Tests uncovered a change in behavior, logging it in #1977

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.58%. Comparing base (98847bf) to head (5b75c91).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1976      +/-   ##
==========================================
+ Coverage   60.55%   60.58%   +0.03%     
==========================================
  Files         331      331              
  Lines       44726    44625     -101     
==========================================
- Hits        27084    27038      -46     
+ Misses      16120    16070      -50     
+ Partials     1522     1517       -5     

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

@t0yv0 t0yv0 marked this pull request as ready for review May 15, 2024 16:28
@VenelinMartinov
Copy link
Contributor

Should we run this through downstream tests? Do we expect this to break anything?

@@ -21,6 +21,8 @@ import (

// Configures how the provider performs Diff. Since this is a sensitive method that can result in unexpected breaking
// changes, using a configurable DiffStrategy as a feature flag assists gradual rollout.
//
// Deprecated.
Copy link
Member

Choose a reason for hiding this comment

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

Let's make sure there is an issue to clean these up.

@t0yv0
Copy link
Member Author

t0yv0 commented May 15, 2024

I can fire up downstream tests, good idea.

@t0yv0
Copy link
Member Author

t0yv0 commented May 15, 2024

@VenelinMartinov
Copy link
Contributor

aiven and cloudamqp are unrelated.

Fastly is the same panic as in #1964

Just restarted f5bigip, the rest were flakes

@t0yv0
Copy link
Member Author

t0yv0 commented May 16, 2024

anton@anton-mbp-m3> python  scripts/downstream_checks.py --hash 5b75c91691ebb718a0038d5908d395507b6aa816
FAILURE https://github.com/pulumi/pulumi-aiven/pull/611
FAILURE https://github.com/pulumi/pulumi-fastly/pull/538
FAILURE https://github.com/pulumi/pulumi-cloudamqp/pull/441
MISSING https://github.com/pulumi/pulumi-meraki/actions/workflows/upgrade-bridge.yml

@t0yv0
Copy link
Member Author

t0yv0 commented May 16, 2024

Excellent this is down to #1964 having a look.

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.

None yet

3 participants