Repository navigation
Quote resource keys in bundle config sync paths - #7328
Open
ilyakuz-db wants to merge 2 commits into
Open
ilyakuz-db wants to merge 2 commits into
ilyakuz-db wants to merge 2 commits into
Conversation
Contributor
|
Commit: Regression test reportSelected 2 changed tests (limit=20, 0 not selected) 4 tests: regression=4 unreleased=0 coverage=0 failing=0
TestAccept/bundle/config-remote-sync/resource_keys/DMS=: branch ✅ | main (a11ca9f) ❌ | latest (v1.23.0) ❌main (a11ca9f): latest (v1.23.0): same output as main (a11ca9f) TestAccept/bundle/config-remote-sync/resource_keys/DMS=true: branch ✅ | main (a11ca9f) ❌ | latest (v1.23.0) ❌main (a11ca9f): latest (v1.23.0): same output as main (a11ca9f) TestAccept/bundle/config-remote-sync/task_rename_revert/DMS=: branch ✅ | main (a11ca9f) ❌ | latest (v1.23.0) ❌main (a11ca9f): latest (v1.23.0): same output as main (a11ca9f) TestAccept/bundle/config-remote-sync/task_rename_revert/DMS=true: branch ✅ | main (a11ca9f) ❌ | latest (v1.23.0) ❌main (a11ca9f): latest (v1.23.0): same output as main (a11ca9f) |
Collaborator
Integration test reportCommit: 8b39123
Top 4 slowest tests (at least 2 minutes):
|
This branch has not been 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.
Changes
Quote resource names when constructing config-sync field paths, keeping spaces, dots, and quotes within one key. Use structured paths for variable-reference lookups so edits and new sequence elements preserve their references.
Why
bundle config-remote-syncfails for resource keys such asdaily jobbecause it passes an unquoted path to the path parser. Quoting the resource key lets sync locate and update the intended YAML entry.Tests
go vet ./bundle/configsync, formatting, shell syntax, and whitespace checks passed.Local Go validation used a temporary YAML v3.0.5 override because the pinned v3.0.6 dependency was unavailable in the test environment. Dependency files are unchanged.
Dotted resource names are covered at the YAML rewrite layer; the separate existing deployment failure for dotted keys is outside this change.
This PR was created with GitHub MCP.