Skip to content

Improve performance of dependency resolution #481

Closed

Description

@isc-tleavitt

Dependency resolution is currently very slow, we believe because there are many individual requests being sent to the package registry.

It may be practical to have a call to the registry at the start of dependency resolution to say "list everything you have" (including dependencies) - or perhaps just to cache better. A lock file is an independent need but would also help as at that point the dependency resolution is performed once and reused.

(From discussion with @isc-kiyer today.)

Activity

  1. self-assigned this
    on May 16, 2024
  2. added
    bugSomething isn't working
    and removed
    enhancementNew feature or request
    on Oct 4, 2024
  3. isc-tleavitt commented on Oct 4, 2024

    @isc-tleavitt
    ContributorAuthor

    On review today: the awfulness of this performance makes it a bug to be fixed, not an enhancement.

  4. moved this from To do to In progress in v1.0 targetson Oct 15, 2024
  5. moved this from In progress to To do in v1.0 targetson Oct 15, 2024
  6. isc-shuliu commented on Dec 4, 2024

    @isc-shuliu
    Contributor

    Several packages failed to pass on v1 because of this problem. See #645

  7. added this to the Backlog milestone on Dec 10, 2024
  8. isc-shuliu commented on Jan 21, 2025

    @isc-shuliu
    Contributor

    We might want to consider the steps outlined in HSIEO-4444

  9. isc-shuliu commented on Jan 21, 2025

    @isc-shuliu
    Contributor

    Also, HSIEO-5745 mentions that IPM sometimes fails to detect cyclic dependencies. Should add a unit/integration test for that.

  10. 2 remaining items

  11. modified the milestones: v0.10.3, v0.10.4 on Aug 21, 2025
  12. modified the milestones: v0.10.4, v0.11.0 on Aug 21, 2025
  13. modified the milestones: v0.10.5, v.10.x on Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions