Skip to content

ENG-893: Document the pipeline drift-status endpoint - #164

Merged
beckyconning merged 2 commits into
masterfrom
eng-893-dataset-schema-drift-status
Dec 3, 2026
Merged

beckyconning merged 2 commits into
masterfrom
eng-893-dataset-schema-drift-status

Conversation

@beckyconning

@beckyconning beckyconning commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Linear: ENG-893

Documents GET /pipelines/{pipeline-id}/drift-status, added by precog/services#3747. It returns the schema drift status of each dataset of the pipeline that has had a load checked:

{
  "id": "…",
  "datasets": [
    { "id": "…", "state": "drifted", "at": 1796140800000, "offset": { "type": "num", "value": 7 } },
    { "id": "…", "state": "unchanged", "at": 1796137200000 }
  ]
}
  • unchanged: every load checked so far fit the schema.
  • drifted: a load did not fit it; this stands until the dataset is loaded with a new schema. offset is that load's offset, when it had one.
  • A dataset none of whose loads has been checked is not listed.

The pipeline status endpoint is unchanged. An earlier revision of this PR documented a schemaDrift property on each dataset of the pipeline status; review of the services PR moved it to its own endpoint.

Merge after precog/services#3747.

🤖 Generated with Claude Code

beckyconning and others added 2 commits December 1, 2026 15:59
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…maDrift on dataset status

Review of precog/services#3747 moved the per-dataset drift status off the
pipeline status onto GET /pipelines/{pipeline-id}/drift-status.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@beckyconning beckyconning changed the title ENG-893: Document schemaDrift on each dataset of the pipeline status ENG-893: Document the pipeline drift-status endpoint Dec 1, 2026
@beckyconning
beckyconning merged commit f8642f3 into master Dec 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant