Skip to content

ObservationResult

ObservationResult Schema

Description: The durable, instrument-agnostic deliverable — one materialized leaf cell (observation, request, epoch, sample, copy). Supersedes the old ObservationResult: it carries the leaf-cell identity, the fulfillment lifecycle (deliverable obtained?), AND the reduced-data-product orchestration (the products themselves are ObservationResultProcessingRunOutput rows, 1:N — a result is a multi-product container, not a single product). One result has 1:N ObservationTask execution attempts. See docs/OBSERVATION_RESULT_MATERIALIZATION_DESIGN.md.

Properties

Name Type Description
id Integer No description
uid UUID No description
observation_id Integer No description
request_id Integer No description
epoch_index Integer No description
sample_index Integer No description
copy_index Integer No description
instrument_id Integer (Optional) No description
copies_mode Enum(single, all_eligible, count) No description
not_before DateTime (Optional) No description
spec_snapshot JSONB (Optional) No description
fulfillment_status Enum(pending_dispatch, dispatched, partially_fulfilled, fulfilled, canceled) No description
fulfilled_on DateTime (Optional) Set by the gateway when a task fulfills the result; feeds calibration last_success.
data_product_status Enum(PENDING, BUILDING, READY, BLOCKED, FAILED, SKIPPED, STALE) No description
assets_revision Integer Rebuild counter; bumped by any contributing per-asset run (B4).
dirty_from_revision Integer (Optional) assets_revision that first marked this result dirty.
next_eligible_run_at DateTime (Optional) Earliest rebuild time after debounce.
last_built_revision Integer (Optional) assets_revision last used to build this result.
current_processing_run_id Integer (Optional) No description

Relationships

Relationship Name Type
observation Observation
request ObservationRequest
instrument Instrument
tasks ObservationTask
result_processing_runs ObservationResultProcessingRun
current_processing_run ObservationResultProcessingRun