Skip to content

Clean up rsconnect-python deployment records on teardown - #93

Merged
nealrichardson merged 2 commits into
mainfrom
claude-issue-92-20260909-1727
Sep 9, 2026
Merged

nealrichardson merged 2 commits into
mainfrom
claude-issue-92-20260909-1727

Conversation

@nealrichardson

Copy link
Copy Markdown
Contributor

rsconnect-python writes a deployment record directory (rsconnect-python/) into the working directory during deploy. If left on disk, it can override the default server on subsequent deploys, breaking workflows that deploy to multiple Connect servers. Remove it during teardown alongside the logout step.

Still needs to pull in the change to the workflow listed in the issue comment.

Closes #92

github-actions Bot and others added 2 commits September 9, 2026 17:29
rsconnect-python writes a deployment record directory (rsconnect-python/)
into the working directory during deploy. If left on disk, it can override
the default server on subsequent deploys, breaking workflows that deploy to
multiple Connect servers. Remove it during teardown alongside the logout
step.

Closes #92

Co-authored-by: Neal Richardson <2975928+nealrichardson@users.noreply.github.com>
Verifies rsconnect-python/ is removed from the fastapi fixture directory
after the production deploy, per the teardown step added in 172b45f.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployed to Connect (localhost:3941): http://localhost:3941/connect/#/apps/4ba6367e-3661-4bcb-88e1-fc379632af6a/draft/8

Deployed from commit 54be4b6.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployed to Connect (localhost:3942): http://localhost:3942/connect/#/apps/d56ae452-4cf3-44e2-a4a9-95dfede75d9e/draft/8

Deployed from commit 54be4b6.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Cleaned up 1 preview bundle(s) on http://localhost:3941: 8

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployed to Connect (localhost:3940): http://localhost:3940/connect/#/apps/2440a760-7b98-4441-9aa0-50c17c7cd45f/draft/8

Deployed from commit 54be4b6.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Cleaned up 1 preview bundle(s) on http://localhost:3942: 8

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Cleaned up 1 preview bundle(s) on http://localhost:3940: 8

@nealrichardson
nealrichardson merged commit a1ea62f into main Sep 9, 2026
6 checks passed
@nealrichardson
nealrichardson deleted the claude-issue-92-20260909-1727 branch September 9, 2026 19:42
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.

Clean up deployment records left in the file system

1 participant