Skip to content

🐞 Blobs referenced by private fields in a module object can disappear #6406

Closed

Description

@vito

What is the issue?

Right now linkDependencyBlobs walks over an object's map[string]any and uses the object's field definitions to convert each any to a HasPBDefinitions so it can find blobs to link to the current session.

The problem is private fields don't actually have a field definition, so we don't know how to convert it to a HasPBDefinitions-able value.

Maybe we need to also register private fields, and just mark them private so they don't show up in the schema?

Dagger version

main (zenith)

Steps to reproduce

No response

Log output

No response

Activity

  1. added
    kind/bug
    on Jan 11, 2024
  2. removed
    kind/bug
    on May 31, 2024
  3. locked and limited conversation to collaborators on Mar 24, 2026
  4. converted this issue into a discussion #12360 on Mar 24, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions