Skip to content

Remove Heroku leftovers - #751

Merged
Mariatta merged 1 commit into
mainfrom
remove-heroku
Oct 21, 2026
Merged

Mariatta merged 1 commit into
mainfrom
remove-heroku

Conversation

@Mariatta

Copy link
Copy Markdown
Member

miss-islington now runs on cabotage only. The Heroku app has been put in maintenance mode with all resources scaled to zero, so the Heroku-specific pieces can go.

  • Drop runtime.txt, which only Heroku read.
  • Require REDIS_URL and drop the HEROKU_REDIS_MAROON_URL fallback.
  • Drop the CERT_NONE broker and result backend SSL settings that existed for Heroku's self-signed Redis certificate. On cabotage the rediss:// URL carries ssl_ca_certs=/var/run/secrets/cabotage.io/ca.crt&ssl_cert_reqs=required as query parameters, so the Redis certificate is now verified against the cabotage CA (see infra/k8s/README.md).
  • Build the Docker image on Python 3.15 instead of 3.11, as requested by @hugovk in Support for Cabotage deployments #729. 3.15 is already in the CI matrix.

Procfile stays: cabotage reads it for the web and worker processes.

Tests pass with 100% coverage, pre-commit passes, and the image builds locally on 3.15 with the C aiohttp parser.

miss-islington now runs on cabotage only; the Heroku app is in maintenance
mode with all resources scaled to zero.

- Drop runtime.txt, which only Heroku read.
- Require REDIS_URL and drop the HEROKU_REDIS_MAROON_URL fallback.
- Drop the CERT_NONE broker and result backend SSL settings that existed
  for Heroku's self-signed Redis certificate. On cabotage the rediss://
  URL carries ssl_ca_certs and ssl_cert_reqs=required as query parameters.
- Build the Docker image on Python 3.15 instead of 3.11, which is the next
  release to reach end of life. Requested by @hugovk in #729.
@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ccc2e92) to head (45928e1).

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #751   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          366       366           
  Branches        12        12           
=========================================
  Hits           366       366           
Flag Coverage Δ
Python_3.11 100.00% <100.00%> (ø)
Python_3.12 100.00% <100.00%> (ø)
Python_3.13 100.00% <100.00%> (ø)
Python_3.14 100.00% <100.00%> (ø)
Python_3.15 100.00% <100.00%> (ø)

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

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

@Mariatta
Mariatta merged commit 622586b into main Oct 21, 2026
17 checks passed
@Mariatta
Mariatta deleted the remove-heroku branch October 21, 2026 13:44
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.

2 participants