feat(logs): add --dag-processor and generic --component flags to deployment logs - #2131
Merged
Merged
Conversation
The deployment logs command exposed scheduler/webserver/apiserver/triggerer/worker sources but not dag-processor, which the platform API has supported for some time. Adds a dedicated --dag-processor flag, a generic --component flag for forward-compat with future API sources, and includes dag-processor in the default fallback when no component flag is set. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Coverage Report for CI Build 25346Coverage increased (+0.01%) to 39.756%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
kushalmalani
approved these changes
May 8, 2026
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.
Summary
--dag-processorflag toastro deployment logs. The platform API has supported this source for a while; the CLI just never exposed it.--componentflag (repeatable/comma-separated) so future API sources can be opted into without a CLI release.dag-processorto the default fallback set when no component flag is passed.Test plan
go test ./cloud/deployment ./cmd/cloud— all green, including 3 new subtests covering--dag-processor,--component, and the updated default fallbackastro deployment logs <id> --dag-processorreturns dag-processor logsastro deployment logs <id> --component dag-processorreturns dag-processor logsastro deployment logs <id> --component scheduler,dag-processoraccepts comma-separated valuesapiserveranddag-processor🤖 Generated with Claude Code