Skip to content

A coder Job's result log is sometimes read cut off: "the result block is not terminated by the END marker" #313

Open

Description

@Flou21

Seen on the dev stack on 2026-11-09 while running planner-review.spec.ts (#312 stage 5): the second weekly review run (one batch, acme/web#118, fake coder) ended Failed with

Batch 1 of 1 (acme/web#118): the Job's answer could not be read: the result block is not terminated by the END marker

The next attempt of the same test, a minute later, passed; four other runs that hour did not show it.

Where: ReviewRunner.BatchAsync reads launcher.ReadResultLogAsync(job) once, right after ObserveAsync reports the Job ended, and CodeFixResultParser finds the BEGIN marker but not END - the log tail read looks cut. TriageRunner and the investigation Job loop read the result the same way, so they can hit it too.

Possible directions (not decided): read the log again once when BEGIN is there and END is not; or wait for the container to be terminated, not only the Job condition.

Impact: a batch fails and its issues are asked about again next run; for triage the analysis is lost and has to be asked for again.

Activity

  1. added theissue type on Nov 9, 2026
  2. tr-agent-dev commented on Nov 16, 2026

    @tr-agent-dev

    Through Hephaisto - what was done to this issue in Hephaisto's planner, newest last.

    • 2026-11-16 16:54 UTC · florian · agreed with the weekly review: a real bug; Status Inbox → Backlog; Priority is P2 already
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions