You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Field: parameters
validate: No warning
Terraform deploy: Succeeds
Direct deploy: Succeeds
API stores: 2 entries (deduped, last wins)
────────────────────────────────────────
Field: job_clusters
validate: No warning
Terraform deploy: Succeeds
Direct deploy: Succeeds
API stores: 1 entry (deduped, field-level merge)
────────────────────────────────────────
Field: environments
validate: No warning
Terraform deploy: API error
Direct deploy: API error
API stores: N/A — rejected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Use key-slice for
job.parameters,job.job_clustersandjob.environmentsto make comparison order-independent and more predictableWhy
For non-keyed arrays when the new item is added we show the full array as replaced instead of only one last element
Example:
Tests
Updated existing tests and added separate test suite for variables (I will be add more fields there in future PRs)
Also I tested that key-value pairs cannot be duplicated as this is the only thing that can affect the behavior, see this comment #4921 (comment)