Skip to content

feat: add -d flag to bob build for automatic artifact download - #37

Merged
vtz merged 1 commit into
mainfrom
feat/build-download-flag
May 20, 2026
Merged

vtz merged 1 commit into
mainfrom
feat/build-download-flag

Conversation

@vtz

@vtz vtz commented May 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds -d <output-folder> / --download flag to bob build that waits for the build to complete and automatically downloads artifacts to the specified directory
  • Supports both OCI artifacts (via oras pull) and file-based artifacts
  • Prints phase transitions and elapsed time while waiting, with clear error messaging on failure

Closes #36

Test plan

  • go build ./cmd/bob/ compiles without errors
  • go vet ./cmd/bob/ passes
  • go test ./cmd/bob/ all tests pass (including new flag tests)
  • Manual: bob build <name> -d ./out triggers build, polls, and downloads on success
  • Manual: bob build -f <file> -d ./out creates + polls + downloads
  • Manual: verify build failure prints error and log hint

Made with Cursor

When -d <output-folder> is passed to `bob build`, the CLI now waits for
the build to complete and automatically downloads artifacts to the
specified directory. Supports both OCI and file-based artifacts.

Closes #36

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented May 20, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@vtz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 24 minutes and 3 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 83a5891e-c5a5-4d06-91ae-74fc0a8efe9c

📥 Commits

Reviewing files that changed from the base of the PR and between 5e05db5 and 3cc2ea9.

📒 Files selected for processing (3)
  • cmd/bob/build.go
  • cmd/bob/wait.go
  • cmd/bob/wait_test.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/build-download-flag

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@vtz
vtz merged commit 741b415 into main May 20, 2026
3 checks passed
@vtz
vtz deleted the feat/build-download-flag branch May 20, 2026 15:00
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.

feat: add -d <output-folder> flag to bob build for automatic artifact download

1 participant