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

core: Fix crash for marked data source prior value #27567

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

alisdair
Copy link
Contributor

When planning a data source change, the object compatibility verification step should be performed with unmarked values. This value is transient and preserving marks is not necessary, and the object change code is not fully marks-aware.

Fixes #27565

I intend to backport to 0.14, although I expect the cherry pick robot will fail due to changes in this package on the main branch.

When planning a data source change, the object compatibility
verification step should be performed with unmarked values. This value
is transient and preserving marks is not necessary, and the object
change code is not fully marks-aware.
@alisdair alisdair added core 0.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged labels Jan 21, 2021
@alisdair alisdair requested a review from a team January 21, 2021 22:16
@alisdair alisdair self-assigned this Jan 21, 2021
@codecov
Copy link

codecov bot commented Jan 21, 2021

Codecov Report

Merging #27567 (4fe76d3) into master (543706c) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
terraform/node_resource_abstract_instance.go 73.14% <100.00%> (+0.05%) ⬆️
internal/providercache/dir.go 67.34% <0.00%> (-6.13%) ⬇️
dag/marshal.go 63.49% <0.00%> (+1.58%) ⬆️

@ghost
Copy link

ghost commented Feb 22, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Applied archive_file data source with sensitive content crashes future plans
2 participants