Skip to content

Reuse Git sources fetched by download-sequence #1431

Closed

Description

@LalatenduMohanty

Prefetching Git sources does not allow a later build to run offline. The build tries to clone again even though the required checkout is already present.

Run download-sequence, then build-sequence using the same settings and work directory, without a cached wheel:

  • With cleanup enabled, the existing checkout is deleted and cloned again.
  • With --no-cleanup, the build raises FileExistsError.

Why fix it: A build without access to the source host fails despite having prefetched its sources. Online builds also repeat the download unnecessarily.

Expected: Safely reuse a matching, clean checkout. Add coverage for offline replay and --no-cleanup.

Observed on new-resolver-config at ff8d7683. Related: #1414 — review comment.

Activity

  1. LalatenduMohanty commented on Nov 2, 2026

    @LalatenduMohanty
    MemberAuthor

    We’re treating this as a blocker for merging #1414 into main. The fix and regression tests should land in new-resolver-config before that merge.

  2. added a commit that references this issue on Nov 2, 2026
    78f119d
  3. LalatenduMohanty commented on Nov 2, 2026

    @LalatenduMohanty
    MemberAuthor

    #1437 has merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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