Skip to content

🐞 Logs are duplicated when a vertex is used multiple times #6501

Closed

Description

@vito

What is the issue?

This issue is only on main; the current release, v0.9.7, is not affected.

If you run a pipeline with a vertex that is used multiple times in the same session, the log output will be duplicated, possibly with each extra use (i.e. cache hit).

Dagger version

main

Steps to reproduce

Once #6456 is merged, run a function that calls another function twice; you should see duplicate logs in its codegen vertex.

Log output

main:

image

v0.9.7:

image

Activity

  1. added
    kind/bug
    on Jan 26, 2024
  2. jedevc commented on Jan 26, 2024

    @jedevc
    Contributor

    Note: you don't actually need to call the function twice.

    The issue comes from calling the module codegen twice (the request is properly de-duped) - but the edge merge occurs, because the parent client ids are different between the calls. See #6505 for more info.

  3. removed
    kind/bug
    on May 31, 2024
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