Skip to content

Add a crash-recovery test for the stuck-queue scenario #4868

Description

@JSONbored

Problem: There's no test today for the stuck-in_progress-item scenario, consistent with the underlying recovery feature not existing yet.

Area: AMS / Testing

Proposal: Once the lease/timeout/reclaim mechanism above exists, add a test that kills a process mid-claim and verifies automated reclaim.

Deliverables:

  • A passing crash-recovery test.

Boundaries:

  • Depends on "Add lease/timeout/reclaim to portfolio-queue's stuck items" above.

Scope note: this test targets portfolio-queue's own crash/reclaim behavior for a single miner's stuck item (mirroring the pattern in #4827) — it is not a test of, and must not be extended into, cross-miner claim-conflict resolution (deciding which of two live miners wins a contested item), which stays maintainer-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions