Skip to content

work: preserve failed worker outcomes when maintenance or checks succeed #28

Open

Description

@n0rpan

requirement for #23

What happened

A worker can fail before doing useful work while a separate branch-maintenance or acceptance step succeeds. A public example is the update at https://github.com/oxstack/ox-llm/pull/658#issuecomment-6916846092, which reports follow-up commits and green outside checks. The contemporaneous worker-failure finding is recorded at https://github.com/oxstack/ox-llm/issues/331#issuecomment-6916938874.

The update alone does not establish that the worker ran successfully or addressed a review finding. This is a process finding to capture in the native work/lead outcome contract; it does not assert that every native runner path currently conflates these states.

Expected

Show worker failure explicitly alongside any successful branch maintenance or acceptance. A failed worker must not be presented as a completed requested fix. Commit existence, successful checks and addressed findings are separate evidence.

Smallest fix

Carry the typed worker outcome through the existing task record, facts and reporting. Require evidence for a completed-fix claim; render failed/no-useful-work attempts as such even when later mechanical steps succeed. Preserve any legitimate check result separately.

Verify

Use a synthetic worker that exits nonzero with an engine_http or model-not-found result, while a separate mechanical update and check succeed. Assert that the final card still reports worker failure, makes no completed-fix claim, retains the independent check result and leaves the requested work visible for retry. Also cover a successful worker and an explicit verified NO-CHANGE result.

Activity

  1. n0rpan commented on Nov 19, 2026

    @n0rpan
    ContributorAuthor

    Triage 2026-11-19: this issue is now tracked in #147 (Cluster: oxa work runner: CI as acceptance, pinned base, honest verdicts, priority P0), planned PR 3: "Admission and ownership rules". It will be fixed there together with its related issues, not one by one.

  2. transferred this issue fromon Nov 26, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions