Skip to content

immutable-paths: overlay does not materialise an immutable leaf when its ancestor is missing #3102

Closed

Description

What

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

  1. added
    kind/bugCategorizes issue or PR as related to a bug
    area/dashboardIssues or PRs related to the dashboard / UI
    on Jun 26, 2026
  2. added a commit that references this issue on Aug 17, 2026
    ffe9f49
  3. added a commit that references this issue on Aug 27, 2026
    0ebc6ba
  4. added a commit that references this issue on Oct 7, 2026
    2da6594
  5. added a commit that references this issue on Oct 11, 2026
    bcde187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/dashboardIssues or PRs related to the dashboard / UIkind/bugCategorizes issue or PR as related to a bugpriority/backlogGeneral backlog priority. Lower than priority/important-longtermtriage/acceptedIndicates an issue is ready to be actively worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions