Skip to content

Make content deploy timeout configurable with 600s default#31

Draft
ian-flores wants to merge 1 commit intomainfrom
fix-shiny-deploy-timeout
Draft

Make content deploy timeout configurable with 600s default#31
ian-flores wants to merge 1 commit intomainfrom
fix-shiny-deploy-timeout

Conversation

@ian-flores
Copy link
Collaborator

Summary

Fixes #23test_deploy_shiny timed out because the deploy timeout was hardcoded at 120s (later 300s), which is insufficient when R packages need to be compiled from source.

Changes

  • Added deploy_timeout field to ConnectConfig (default: 600s)
  • Wired configurable timeout into wait_for_deploy step
  • Added deploy_timeout to vip.toml.example with documentation
  • Added 4 selftests for the new config field

Files changed

  • src/vip/config.py
  • tests/connect/test_content_deploy.py
  • vip.toml.example
  • selftests/test_config.py

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://posit-dev.github.io/vip/pr-preview/pr-31/

Built to branch gh-pages at 2026-03-06 17:38 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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.

test_deploy_shiny times out: R package install exceeds 300s on staging

1 participant