-
Notifications
You must be signed in to change notification settings - Fork 37
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
[v3] Remove __inputs in state #3772
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approach looks sound to me 👍
provider/pkg/version/version.go
Outdated
func GetVersion() semver.Version { | ||
return semver.MustParse(Version) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as other PR .. this needs a default for unit tests.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3772 +/- ##
==========================================
- Coverage 56.65% 56.64% -0.02%
==========================================
Files 77 78 +1
Lines 11954 11969 +15
==========================================
+ Hits 6773 6780 +7
- Misses 4683 4689 +6
- Partials 498 500 +2 ☔ View full report in Codecov by Sentry. |
This PR implements the next stage of removing the
__inputs
from state. In this stage, the provider has "v2" and "v3" behavior. In "v2" mode, the behavior is unchanged. In "v3" mode,Configure
asserts that the engine is passing the old inputs, and doesn't write__inputs
to state. The fallback code that reads the__inputs
from state is effectively inoperative in the "v3" mode.Added a line item to this ticket for the final phase which is to remove the "v2" code:
#3754
Closes #2686