You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
immutable-paths: overlay does not materialise an immutable leaf when its ancestor is missing #3102
In overlayImmutable (apps/console/src/lib/immutable-paths.ts), when the submitted body is missing an intermediate object that the original has, the recursion ends at the missing parent and the immutable leaf is silently dropped from the PUT body.
Why it matters
A YAML-editor bypass that strips a parent object lets the user remove an immutable leaf indirectly. The defence-in-depth claim doesn't extend to this shape.
Pinned
Current behaviour is pinned by the FIXME test in apps/console/src/lib/immutable-paths.test.ts ("FIXME: does NOT materialise an immutable leaf when its ancestor is missing in target"). Either materialise ancestors when source has them, or revise the docs to scope the defence-in-depth claim to leaf paths with present ancestors.
Activity
fix(console): bail on shrink for nested-immutable arrays, handle root…
fix(dashboard): materialise an immutable leaf whose ancestor is gone
fix(dashboard): materialise an immutable leaf whose ancestor is gone
fix(dashboard): materialise an immutable leaf whose ancestor is gone
fix(dashboard): small Console fixes from the cozystack#3828 triage (c…