feat(cli): add conduit pipelines inspect (live status + per-stage view)#2587
Merged
Conversation
Adds `conduit pipelines inspect PIPELINE_ID`: the online, status-forward operational view of a running pipeline — the CLI peer of MCP inspect_pipeline. Unlike the offline validate/lint/dry-run verbs it dials the API (mirrors describe/list) and reports live state: current status (the 5-value enum), any error, per-stage source/destination summary, and DLQ. A bounded in-flight record sample (--records N over the InspectConnector stream) is a tracked follow-up; this v1 delivers the live status + per-stage view. ACs: AC-8 (running pipeline → status + stages), AC-9 (missing pipeline → error, classified by the client-result decorator, no panic), AC-12 (status enum renders a distinct label for every proto value). Follows the CLI output conventions. Design: docs/design-documents/20260708-cli-pipeline-inspect-lint-dryrun.md Tier 2. Implemented inline (background-agent infra was stalling). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wave 2, verb 3 of 3.
conduit pipelines inspect PIPELINE_ID— the online, status-forward operational view of a running pipeline (CLI peer of MCPinspect_pipeline). Dials the API (mirrors describe/list); reports live status (5-value enum), error, per-stage source/destination summary, and DLQ.Scope: the
--records Nin-flight sample (InspectConnector stream) is a tracked follow-up — it needs the streaming interface addition + a running-pipeline-with-data integration test. This v1 delivers the live status + per-stage view.ACs: AC-8 (running → status + stages), AC-9 (missing → error/no panic), AC-12 (status enum renders every value distinctly). Tested with mocked API service clients.
Design:
docs/design-documents/20260708-cli-pipeline-inspect-lint-dryrun.md. Tier 2.🤖 Generated with Claude Code