fix(jenkins-ps3-k8s): render ps3-clouds without YAML aliases (JCasC reload)#94
Merged
Merged
Conversation
…eload) PyYAML emitted anchors/aliases for repeated nodes; the configScript had 81 aliases. JCasC (SnakeYAML) caps aliases at 50, so the live reload threw ConfiguratorException and the controller kept its old (identical) in-memory clouds. The hand-written original had none. - render-clouds.py: ignore_aliases (spell repeated nodes out fully) + a no-alias gate. - Regenerate ps3-clouds anchor-free (semantically identical: 4 clouds, 70 slots, 0 effective diff vs the running config). - ADR 0029: record the no-YAML-aliases requirement.
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.
Bug
ps3-cloudsconfigScript carried 81 YAML anchors/aliases (PyYAML emits them for repeated nodes). JCasC (SnakeYAML) caps aliases at 50, so the live reload threwConfiguratorExceptionand the controller kept its prior, identical in-memory clouds. No outage, but a fresh boot would fail to load the clouds. Caught on the ps3 testbed after the static render gates accepted the aliased form.Fix
render-clouds.pynow disables anchors/aliases (spells repeated nodes out fully, like the hand-written original) and adds a no-alias drift gate.ps3-cloudsanchor-free. Zero aliases, semantically identical (4 clouds, 70 slots, 0 effective diff vs the running config).