Skip to content

[Story] Cancellable, time-limited analysis jobs on the host #78

In review

Description

@aMonteSl

As a developer, I want long Git and Python work to be cancellable and to time out, so that one stuck job never blocks the analysis for the rest of the session.

Findings: EVO-2, EVO-3, EVO-4, EVO-17, HIST-7, HIST-9, DEPGRAPH-9, LAUNCHER-11.

Acceptance criteria

  • A shared job runner provides:
    • a job id;
    • a state: queued, running, cancelled, failed or done;
    • a timeout;
    • a cancel action that kills the child processes (git, Python, worker pool) on all three OSes.
  • A job starts atomically, with no check-then-act race. A "busy" error goes only to the requester.
  • Cancel and Clear are separate actions. Leaving a mode never changes the server state.
  • The late result of a cancelled job is discarded, never published.
  • The job state is shared with the room, so every client renders the same progress and errors.

Part of #72. Evidence: docs/xr-audit/ (#67).

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    tfm
    user-story
    area: extension
    stream: xr-bugfix-1.2.1
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: extensionstream: xr-bugfix-1.2.1tfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions