Repository navigation
Commit 22d4e2b
Update the validate edge-case tests for the typed configuration
#7085 recorded main's behaviour. Where the typed configuration fixes a wrong
behaviour the Badness is gone (nested and shorthand timestamps, an inline
merge mapping, resources: null, a scalar targets section). Where it behaves
differently in a wrong way a Badness records it: scalar target variable
overrides inherited through a merge key, an aliased complex default rewritten
in place, duplicate and invalid merge keys, a duplicate default key, wrong
types turned into empty strings, the lost location of an unknown field in a
variable default, and presets that an include cannot clear.
Co-authored-by: Isaac <no-reply@databricks.com>1 parent 86509de commit 22d4e2b
42 files changed
Lines changed: 99 additions & 79 deletions
File tree
- acceptance/bundle/validate
- app_resource_duplicate_name_location
- includes
- clears_unforced_preset_values
- merge_failure_short_circuits_diagnostics
- nulls/resources_container
- references
- resolved_invalid_map_value
- resolved_invalid_sequence_item
- to_omitted_struct_defaults
- targets
- inherited_from_root_merge
- scalar_rewrite_diagnostic
- variables
- complex_default_nested_timestamp
- complex_unknown_field_location
- target_inherited_from_target_merge
- target_timestamp_shorthand
- yaml_anchors
- alias_mutates_complex_default
- duplicate_merge_keys
- inline_merge_mapping
- invalid_merge_sequence_member
- yaml_duplicate_keys
- shadowed_invalid_subtree
- target_variable_default
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
7 | | - | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
0 commit comments