Skip to content

Support for Cabotage deployments - #685

Merged
Mariatta merged 5 commits into
python:mainfrom
JacobCoffee:cabotage
Oct 20, 2026
Merged

Mariatta merged 5 commits into
python:mainfrom
JacobCoffee:cabotage

Conversation

@JacobCoffee

@JacobCoffee JacobCoffee commented Jan 25, 2026 •

Copy link
Copy Markdown
Member

Initial support for migrating from Heroku (paid) to Cabotage (free)

Needs these set it cabo ui

  • GH_SECRET
  • GH_APP_ID
  • GH_PRIVATE_KE
  • SENTRY_DSN

Will require disabling Heroku deploy -> enabling cabotage
it is ready @ https://cabotage.us-east-2.psfhosted.computer/projects/python/bedevere/applications/bedevere

@codecov

codecov Bot commented Jan 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (510e32f) to head (84ff7cc).

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #685   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         2173      2182    +9     
  Branches       100       100           
=========================================
+ Hits          2173      2182    +9     
Flag Coverage Δ
Python_3.10.21 ?
Python_3.10.22 100.00% <100.00%> (?)
Python_3.11.16 ?
Python_3.11.17 100.00% <100.00%> (?)
Python_3.12.14 ?
Python_3.12.15 100.00% <100.00%> (?)
Python_3.13.15 ?
Python_3.13.16 100.00% <100.00%> (?)
Python_3.14.7 ?
Python_3.14.8 100.00% <100.00%> (?)
Python_3.15.0 100.00% <100.00%> (?)
Python_3.15.0-rc.2 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
bedevere/__main__.py 100.00% <100.00%> (ø)
tests/test___main__.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Mariatta
Mariatta marked this pull request as ready for review October 19, 2026 21:02
Mariatta and others added 2 commits October 19, 2026 14:02
- set os.umask(0) before run_app so the sidecar can connect to the socket
- set ENV PYTHONUNBUFFERED=1 in Dockerfile
@JacobCoffee

Copy link
Copy Markdown
Member Author

g2g on my end since i dont see any backing svcs needed. i think this can be merged and deployed as is. we will want to turn down the heroku svc and then deploy the cabotage one tmrw during our scheduled downtime noted in the discord

@Mariatta
Mariatta merged commit 9d66cef into python:main Oct 20, 2026
10 checks passed
Comment thread Dockerfile
@@ -0,0 +1,10 @@
FROM python:3.11-slim

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.11 is next EOL.

Not a blocker for migration, but can we use something newer?

A newer one means we don't need to touch this as soon, and will likely have better performance.

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.

3 participants