Skip to content

feat(cli): deployment-filtered status renders the data-plane apply id as APPLY ID - #1062

Draft
aparajon wants to merge 3 commits into
armand/deployment-apply-id-readfrom
armand/deployment-apply-id-cli
Draft

feat(cli): deployment-filtered status renders the data-plane apply id as APPLY ID#1062
aparajon wants to merge 3 commits into
armand/deployment-apply-id-readfrom
armand/deployment-apply-id-cli

Conversation

@aparajon

@aparajon aparajon commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Why this matters

An operator running a deployment-filtered status scan is asking the data plane's question: what is the control plane driving on my deployment? The handle they correlate with the data plane's own storage and logs is the data-plane apply id — but the list rendered only the control-plane identifier, forcing a detour through detail views (or the data plane's tables) to find it.

What it does

  • In --deployment mode the APPLY ID column renders the deployment's data-plane apply id when one is recorded — the id the read model now surfaces for both single-operation and folded per-shard rows.
  • Rows without a recorded data-plane id (not yet dispatched, locally driven, or omitted after divergence) fall back to the control-plane apply id, so every row keeps a usable handle.
  • The EXTERNAL OP ID column is unchanged (per-operation remote row id), and nothing changes outside deployment mode.

How it moves us toward the northstar

One data-plane apply per deployment; operations dispatch into it.

0  per-shard reconcile                          ✅ shipped
pre vschema-only deployment-scoped shape        ✅ shipped
pre op-lease drives settle projection-safely    ✅ shipped
1  dispatch granularity
   ├─ data-plane sibling attach                 ✅ merged
   └─ deployment-keyed idempotency + echo       ✅ merged
2  correlation persistence                      🔍 in review
3  op-scoped data-plane drive (shared apply)    verified in step 6
4  read model exposes the deployment apply id   🔍 in review
5  CLI renders it as APPLY ID in deployment mode ⬅ this PR
6  test matrix

Opened by Claude (Fable 5).

aparajon and others added 3 commits August 17, 2026 12:21
… as APPLY ID

A deployment-filtered status list is the deployment's view of each apply,
and the handle its operator correlates with the data plane's own storage
and logs is the data-plane apply id — not the control-plane identifier. The
APPLY ID column now carries the deployment's data-plane apply id when one
is recorded, falling back to the control-plane apply id when none is (not
yet dispatched, locally driven, or omitted after divergence) so every row
keeps a usable handle. The EXTERNAL OP ID column keeps the per-operation
remote row id; outside deployment mode nothing changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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