Repository navigation
Conversation
dwoz
force-pushed
the
issue/33437/3006.x
branch
from
December 14, 2025 01:37
254c753 to
f298ff7
Compare
dwoz
force-pushed
the
issue/33437/3006.x
branch
from
December 14, 2025 02:22
f298ff7 to
6e99078
Compare
Contributor
|
We are no longer accepting Bugfix releases on the 3006.x branch. Please rebase this on the 3008.x branch. |
Contributor
Author
|
@dwoz 3006.x has entered security only. Please rebase these changes on 3008.x |
twangboy
approved these changes
Oct 29, 2026
…llar data When merging pillar data, if one pillar file is empty (e.g., due to conditional rendering that produces no output), None values were overwriting existing non-empty dictionaries. This fix adds a _filter_none_overwrites function that recursively removes None values that would overwrite existing non-empty dicts during the pillar merge process. - Added _filter_none_overwrites function to salt/pillar/__init__.py - Applied filter before merging pillar state - Added test case to test_pillar.py to verify the fix
Contributor
|
The current patch doesn't seem to take implicit vs explicit null into account. |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3008.x #68533 +/- ##
==========================================
- Coverage 73.78% 73.72% -0.06%
==========================================
Files 2585 2585
Lines 369632 369685 +53
Branches 48817 48825 +8
==========================================
- Hits 272704 272521 -183
- Misses 83499 83776 +277
+ Partials 13429 13388 -41
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When merging pillar data, None values were overwriting existing non-empty dictionaries. This fix adds a _filter_none_overwrites function that filters out None values during pillar merging to preserve existing data.
Fixes #33437