Skip to content

List a build’s dynamic step uploads - #1050

Merged
mcncl merged 2 commits into
mainfrom
feat/build_step_uploads
Oct 19, 2026
Merged

mcncl merged 2 commits into
mainfrom
feat/build_step_uploads

Conversation

@mcncl

@mcncl mcncl commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Description

Inspecting dynamic pipeline upload failures currently requires raw API requests.
Add a dedicated command to see upload outcomes and identify the source job for
further investigation.

Changes

bk build step-uploads 123 --pipeline my-pipeline --json
bk build step-uploads acme/my-pipeline/123 --text

Fetch all cursor pages, newest first, with upload states, source jobs, created
job counts, replacement flags, timestamps, and rejection/failure messages.
JSON and YAML never prompt for pipeline selection. Unavailable job counts remain
distinct from zero, and errors do not emit partial results.

Requires read_builds. History is limited to the build's maximum lifetime, up to
30 days after creation; expired history returns an error rather than an empty
result. Uploaded definitions are not fetched. For diagnostics beyond the API's
outcome message, inspect the source job's pipeline upload command output.

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with go fmt ./...)

@mcncl
mcncl requested review from a team as code owners October 19, 2026 02:06
buildsworth-bk-app[bot]
buildsworth-bk-app Bot previously approved these changes Oct 19, 2026
@buildsworth-bk-app
buildsworth-bk-app Bot dismissed their stale review October 19, 2026 03:38

Superseded by a newer Buildsworth review.

@mcncl
mcncl merged commit c143a5d into main Oct 19, 2026
2 checks passed
@mcncl
mcncl deleted the feat/build_step_uploads branch October 19, 2026 03:45
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