Skip to content

feat: add a --quiet flag for deploy commands#828

Draft
joshyam-k wants to merge 3 commits into
mainfrom
feat/deploy-quiet
Draft

feat: add a --quiet flag for deploy commands#828
joshyam-k wants to merge 3 commits into
mainfrom
feat/deploy-quiet

Conversation

@joshyam-k

@joshyam-k joshyam-k commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Intent

rsconnect deploy subcommands now accept --quiet, which suppresses the step-by-step progress lines and the streamed server build log, printing only the deployed content URL to stdout so it can be captured with URL=$(rsconnect deploy ... --quiet).

Errors still go to stderr, and on a failed deploy the server task log is emitted to stderr so failures remain diagnosable. --quiet cannot be combined with -v/--verbose, and for shinyapps.io deploys it also skips opening a browser.

resolves #827

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

Automated Tests

Directions for Reviewers

Review rsconnect/actions.py most carefully. The rest of the diff is just tests and passing the new quiet flag to all of the necessary places.

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.
  • I have run the rsconnect-python-tests-at-night workflow in Connect against this feature branch.

@joshyam-k
joshyam-k marked this pull request as draft July 21, 2026 22:24
@joshyam-k
joshyam-k force-pushed the feat/deploy-quiet branch from 8babbe8 to 6159be4 Compare July 21, 2026 22:25
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://posit-dev.github.io/rsconnect-python/pr-preview/pr-828/

Built to branch gh-pages at 2026-07-22 15:31 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
7714 6429 83% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/actions.py 60% 🟢
rsconnect/api.py 81% 🟢
rsconnect/bundle.py 86% 🟢
rsconnect/environment.py 91% 🟢
rsconnect/log.py 75% 🟢
rsconnect/main.py 81% 🟢
TOTAL 79% 🟢

updated for commit: 3e5ec09 by action🐍

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.

Add a --quiet flag to deploy commands

1 participant