Skip to content

Commit 9356d54

Browse files
committed
Fix rule_id attribution, $data coercion, Fn/ dispatch, and rule bugs
Engine fixes: 1. KeywordRuleRegistry::dispatch stamps rule_id on errors from rules 2. Walker inline validation respects existing rule_id on errors 3. json_schema_rule sets rule_id on all returned errors 4. Numeric validators coerce string constraints for $data resolution 5. Walker dispatches Fn/{name} synthetic keywords for Function nodes 6. Walker inline validation respects pre-set rule_id Rule fixes: 7. W2506: extract param name from Ref node (not pre-resolved string) 8. E3675: use validate_regional (schema is region-keyed, not flat) All 10 previously-silent rules now fire correctly: E3028, E3009, E6102, E4001, E4002, E3706, E3712, W1019, W2506, E3675 133/133 integration tests pass. Zero known gaps.
1 parent 8b73136 commit 9356d54

49 files changed

Lines changed: 87248 additions & 36460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crates/cfn-lint/data/schemas/extensions/aws_amazonmq_broker/instancetype_enum.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
"mq.m5.4xlarge",
66
"mq.m5.large",
77
"mq.m5.xlarge",
8+
"mq.m7g.12xl",
9+
"mq.m7g.16xl",
10+
"mq.m7g.2xl",
11+
"mq.m7g.4xl",
12+
"mq.m7g.8xl",
13+
"mq.m7g.large",
14+
"mq.m7g.medium",
15+
"mq.m7g.xlarge",
816
"mq.t3.micro"
917
]
1018
},
@@ -222,6 +230,22 @@
222230
"mq.t3.micro"
223231
]
224232
},
233+
"ap-southeast-6": {
234+
"enum": [
235+
"mq.m7g.12xl",
236+
"mq.m7g.16xl",
237+
"mq.m7g.2xl",
238+
"mq.m7g.4xl",
239+
"mq.m7g.8xl",
240+
"mq.m7g.large",
241+
"mq.m7g.medium",
242+
"mq.m7g.xlarge",
243+
"mq.m7i.2xl",
244+
"mq.m7i.4xl",
245+
"mq.m7i.large",
246+
"mq.m7i.xlarge"
247+
]
248+
},
225249
"ap-southeast-7": {
226250
"enum": [
227251
"mq.m5.2xlarge",

0 commit comments

Comments
 (0)