Skip to content

fix: lockfile entry is discarded for matching urls due to inverted comparison #1105

Description

@Nam0101

Description

Repo.__init__ only keeps locked_version when locked_version.url != url.geturl(). This is inverted: lock data is retained when URLs differ and dropped when they match. That can silently clear valid lock state and lead to unnecessary re-prefetch/re-evaluation or incorrect update behavior.

Severity: high
File: ci/nur/manifest.py

Expected Behavior

The code should handle this case properly to avoid unexpected errors or degraded quality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions