Skip to content

Add resolver failure-injection and recovery tests #81

Closed

Description

@LunaStev

Motivation

Resolver tests focus on successful graphs and selected policy failures. Package-manager reliability also depends on recovery from process interruption, disk errors, malformed repositories, disappearing refs, and partial state.

Acceptance criteria

  • Introduce injectable filesystem, Git, and lockfile boundaries or an equivalent deterministic harness.
  • Cover clone, fetch, checkout, manifest read, lock write, rename, and cleanup failures.
  • Assert the previous locked graph remains usable after every failed mutation.
  • Verify diagnostics contain the affected package, operation, cause, and next action.
  • Run recovery tests under locked and offline policies.
  • Include concurrent-process cases with Serialize concurrent dependency state mutations #23 and staged publication cases with Stage dependency graph changes before publishing checkout state #44.

Activity

  1. added
    needs testing
    dependencies
    stability
    on Sep 18, 2026
  2. self-assigned this
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesneeds testingstability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions