Skip to content

dagger.connect takes too long #4456

Closed
Closed

Description

@shykes

Problem

Opening a Dagger session from a client library takes too long.

This has been reported twice in the last week.

Reported by kokizzu on Discord:

[12:00 PM]kokizzu: how long normally dagger.Connect complete? it seems stuck, and where is it connect to?
[12:00 PM]kokizzu: oh nevermind it's already running in 2s now '__') previously i was waiting 30s and nothing happened
[12:07 PM]kokizzu: so it was stuck downloading docker image
[12:07 PM]kokizzu: 3rd world country problem
[12:08 PM]kokizzu: and nothing shown on terminal so i dont know if its doing something at all

Reported by @rawkode on today's community call.

Solution

Make it faster :)

Activity

  1. kokizzu commented on Jan 26, 2023

    @kokizzu

    or at least show the status/progress of what it's currently doing (downloading docker image)

  2. helderco commented on Jan 26, 2023

    @helderco
    Contributor

    or at least show the status/progress of what it's currently doing (downloading docker image)

    I experimented with that in Nov 17 community call (0:42:30).

  3. TomChv commented on Feb 1, 2023

    @TomChv
    Member

    So basically?

    • 1: Add logs to report what's happening: quick win
    • 2: Download faster (hard), do we have any part of the setup that can be enhanced to be faster? I feel that the slowest part is the downloading of the engine, which depends on the Network :/
  4. added
    kind/bug
    on Mar 7, 2023
  5. jammutkarsh commented on May 12, 2023

    @jammutkarsh
    Contributor

    Hey @shykes
    If this issue is not closed, I'm interested in contributing to the issue.

    I appreciate any information you can provide and look forward to contributing to the project.

    Thank you,
    Utkarsh Chourasia

  6. gerhard commented on May 16, 2023

    @gerhard
    Contributor

    I believe that this is related to #4820. Once we have a PR that resolves that, we should also resolve this one. Both of these should be top of the Ready for Work.

  7. helderco commented on Jul 28, 2023

    @helderco
    Contributor

    I believe that this is related to #4820. Once we have a PR that resolves that, we should also resolve this one. Both of these should be top of the Ready for Work.

    According to the user feedback in the description, it's actually the same thing, not just related. It's the lack of feedback on auto-provisioning that's giving the impression that connect takes too long, so one of these should be a duplicate.

  8. shykes commented on Nov 18, 2024

    @shykes
    ContributorAuthor

    I think this has been mostly addressed?

    • More clear feedback in the TUI, so you know something is happening
    • Performance optimizations to make it incrementally faster than before.

    wdyt @marcosnils @aluzzardi , ok to close?

  9. marcosnils commented on Nov 18, 2024

    @marcosnils
    Contributor

    wdyt @marcosnils @aluzzardi , ok to close?

    yes, all performance aspects around session initialization / connect have been addressed AFAIK. SGTMt to close

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

    kind/bugkind/user-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions