posit-dev / posit-dev/rsconnect-python

Raise an error if providing environment variables to shinyapps.io

Open
#439 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
28
Avg merge
1d 3h
Merged PRs (30d)
7

Description

Environment variables are silently ignored when deploying to shinyapps.io.

Does shinyapps.io just silently ignore the --environment parameters? Can this error informatively so that you don't have to read the docs to figure out why the app isn't working as expected?

Originally posted by @nealrichardson in https://github.com/rstudio/rsconnect-python/issues/438#issuecomment-1614943782

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the shinyapps.io deployment path and how the --environment parameters are handled. Make the unsupported environment-variable case fail with an informative error instead of being silently ignored, then verify that deployments without those parameters continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.