Repository navigation
feat(artifacts): download one flow's artifacts with --result-id or --… - #338
Merged
Merged
Conversation
Contributor
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
…flow A full run's artifacts can run to hundreds of MB when only one flow's files are needed. dcd artifacts gains two mutually exclusive flags, both requiring --download-artifacts: - --result-id <id>: only that result's flow run, meaning its first attempt and every retry on that one device. - --flow <file|name>: resolved to a result from the upload's results, by file path (with or without ./), file name, or name without extension. When it matches more than one result, e.g. one per device in a matrix, it fails and lists the result ids to pick from. The id is sent to the API as an optional filter (a resultId query param on the bundle route, a resultId body field on the inline route) and only when set, so unfiltered downloads are unchanged. An API without the filter would ignore it and return the whole upload. The CLI accepts a filtered bundle only when the API names it as one, and otherwise fails instead of saving the wrong ZIP. The dcd_download_artifacts MCP tool takes the same two options as resultId and flow.
finalerock44
force-pushed
the
feat/artifacts-result-filter
branch
from
November 18, 2026 16:47
0207131 to
05f546f
Compare
Merged
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.
…flow
A full run's artifacts can run to hundreds of MB when only one flow's files are needed. dcd artifacts gains two mutually exclusive flags, both requiring --download-artifacts:
The id is sent to the API as an optional filter (a resultId query param on the bundle route, a resultId body field on the inline route) and only when set, so unfiltered downloads are unchanged. An API without the filter would ignore it and return the whole upload. The CLI accepts a filtered bundle only when the API names it as one, and otherwise fails instead of saving the wrong ZIP. The dcd_download_artifacts MCP tool takes the same two options as resultId and flow.
What & why
Type of change
fix— bug fixfeat— new featureperf— performance improvementrefactor— code change that's neither a fix nor a featuredocs— documentation onlychore/ci/build/test— tooling, no user-facing change!or PR notes aBREAKING CHANGE:)Checklist
pnpm lintpassespnpm typecheckpassespnpm buildpassesCHANGELOG.md(the release workflow handles this)README.md/STYLE_GUIDE.mdupdated if behaviour or output changedHow to test