Repository navigation
fix(describe-affected): compare Helm sections with YAML function sources, not raw strings - #3729
Conversation
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
CI timing summaryLatest completed GitHub Actions runs for
Wall-clock time spans the earliest included workflow creation through the latest completion. Aggregate runner time adds each job's execution time, so concurrent jobs are counted separately.
Longest jobs (top 10)
Updated automatically when a PR workflow finishes. |
Quality Gate
Readiness✅ Fewer than 150 changed files Reviews✅ CodeRabbit approval (current head) ✅ Review threads resolved or dismissed MeasuresCurrent commit: Quality Gate details
Atmos performanceNo significant regressions detected against the newest compatible snapshot. Describe affected
All other benchmarks
Full results are available in the comparison artifacts. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3729 +/- ##
==========================================
- Coverage 87.92% 87.91% -0.01%
==========================================
Files 3556 3556
Lines 322960 322960
==========================================
- Hits 283955 283940 -15
- Misses 27202 27214 +12
- Partials 11803 11806 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Thanks! One item blocks this PR:
|
…ces, not raw strings Helm sections went through reflect.DeepEqual, so embedded checkout paths in YAML function values (e.g. !terraform.state) never matched between the compared trees and the component was always reported as affected. Use deepEqualValues like Terraform and Kubernetes components.
d8ca7c1 to
c0a250f
Compare
|
Amended the commit with a verified signature and force-pushed (tree unchanged). |
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
Tip Atmos Pro
No affected stacks workflow was detected for this pull request. |
|
These changes were released in v1.235.0-nightly.45519518476. |
Fixes #3723
what
isComponentSectionEqual(used for native Helm components) now compares sections withdeepEqualValuesinstead ofreflect.DeepEqual.valuessection containing!terraform.statewith different checkout paths in the two trees is equal; a different argument is not.why
reflect.DeepEqualcompared the raw strings, so a Helm component with e.g.vpcId: !terraform.state vpc vpc_idwas reported as affected (stack.values) on every commit. Terraform and Kubernetes components already go throughdeepEqualValues, which decodes the source and compares it withyamlsource.Comparable.values: {vpcId: !terraform.state vpc vpc_id}, thenatmos describe affected --sha HEAD~1 --process-functions=falseafter an unrelated change.references
Disclosure: this change was prepared with the assistance of an AI coding agent (Claude).
Summary by CodeRabbit