Skip to content

WorkspaceProvider: allocate through durable SlipJay attempts #108

Open

Description

@pechhe

SlipJay now records allocation attempts durably (pechhe/slipjay#80, landed in 4848f4ed): slipjay start --attempt <id> and slipjay attempt show|release <id>.

WorkspaceProvider should pass --attempt <uuid> on every allocation. On failure or app restart it should call slipjay attempt show <id> to adopt a workspace that was in fact allocated, or slipjay attempt release <id> to free it. That way an interrupted allocation no longer strands a checkout.

Keep the existing soft-cancellation behaviour (WorkspaceProvider.test.ts:101): a cancelled request still lets an allocation already in flight finish, then releases it through its attempt.

Refs pechhe/slipjay#77.

Activity

  1. pechhe commented on Oct 17, 2026

    @pechhe
    OwnerAuthor

    Spec review note (pechhe/slipjay#77): soft cancellation is still tested only by WorkspaceProvider.test.ts:101, which does not use --attempt. When this lands, extend that test so a cancelled request whose allocation finishes is released through slipjay attempt release <id>.

  2. added
    spec
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions