Skip to content

Decide D3 — progress reporting mechanism #564

Done

Description

@athvin

Open work found in plan-to-aws.md D3 · release post-appexchange · estimate 0.5 eng-weeks

An open decision gate, not a build. The recommendation on the table is that the runner writes its own progress.

How this was verified

plan-to-aws D3 (§6.3, §18.5).


Coverage, sizing and status were verified against this repo on 2026-11-05, not taken from the doc's checkbox — several docs/ checkboxes are stale in the direction of understating what is built.


Product context (2026-11-26)

Why this matters for the API product: Progress reporting is how a customer polling run status learns what their job is doing. It's exposed as GET /v1/orgs/{org}/datasets/{ds}/jobs/{job_id}/tasks (rust/crates/er-server/src/lib.rs:4972).

Current state: The decision gate is closed in practice. Only the checkbox in plan-to-aws.md:76 is stale.

  • D-PROGRESS (infra-platform/references/infrastructure-decisions.md:343) took the recommendation: the runner writes its own progress. batch-orchestration-design.md:869 amends it so the runner reports through four er-server routes (/v1/internal/attempts/{id}, /start, /heartbeat, /finish) and never holds a DSN.
  • This is implemented in rust/crates/er-server/src/exec_task.rs (lines 228, 342, 416 and 503). Counters land in task_instances.counters, "replaced on every heartbeat" (entities/task_instance/entity.yaml:161).
  • infrastructure.md:791 already says "Runner writes its own progress — DONE".

Definition of done: Tick D3 in plan-to-aws.md and point it at D-PROGRESS. Then close this ticket. No build remains.

Dependencies / sequencing: None.

Size: Under 0.1 engineer-weeks, a doc tick.

Activity

  1. added
    post-appexchange
    docs-backlog
    post-mvp
    and removed
    post-appexchange
    on Nov 5, 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

    docs-backlogpost-mvp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions