Skip to content

release: CI hardening + Celery memory optimisation (0.1.23)#54

Merged
alexzhangs merged 6 commits into
masterfrom
develop
Jun 7, 2026
Merged

release: CI hardening + Celery memory optimisation (0.1.23)#54
alexzhangs merged 6 commits into
masterfrom
develop

Conversation

@alexzhangs

Copy link
Copy Markdown
Owner

Merges develop → master, shipping three independent improvements.

What ships

  • Dependabot (chore/add-dependabot): weekly automated PRs for pip deps and GitHub Actions versions
  • Celery --pool=solo (perf/celery-solo-pool): removes the prefork child process, saving ~100 MB RSS on production (t2.micro measured: 460 MB → ~360 MB). Concurrency is effectively 1 either way for this single-node manager — pure memory win, no behaviour change.
  • GitHub Actions → Node.js 24 (chore/actions-node24-upgrade): bumps all workflow actions before the June 16, 2026 forced-migration deadline. Replaces unmaintained nick-invision/retry@v2 with inline bash retry loop.

After merge

Trigger ci-pypi to bump to 0.1.23 and publish to PyPI, then ci-docker to build images.

🤖 Generated with Claude Code

alexzhangs and others added 6 commits June 7, 2026 13:38
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The prefork pool forks a child process that loads the full Django app
(~100 MB RSS). For the single-node manager, concurrency is effectively 1
either way, so --pool=solo runs tasks in the worker process itself with
identical execution behaviour and no extra process.

Measured on a live hub: celery worker(196MB master)+pool-child(101MB)+
beat(63MB). Solo drops the pool child. Beat kept as a separate program
(not embedded via -B) so a worker restart can't miss a scheduled tick.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GitHub is dropping Node.js 20 support on June 16, 2026. Update all affected
actions before the deadline to avoid workflow breakage.

ci-docker.yml:
- actions/checkout v4 → v5
- docker/setup-buildx-action v3 → v4
- docker/login-action v3 → v4
- docker/build-push-action v5 → v6
- replace unmaintained nick-invision/retry@v2 with inline bash retry loop

ci-unittest.yml:
- actions/checkout v4 → v5
- actions/setup-python v5 → v6
- actions/upload-artifact v4 → v7
- actions/download-artifact v4 → v8

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore: add Dependabot version updates for pip and GitHub Actions
perf(celery): run worker with --pool=solo to cut ~100 MB RSS
chore(ci): upgrade GitHub Actions to Node.js 24-compatible versions
@alexzhangs
alexzhangs merged commit 3d54ed4 into master Jun 7, 2026
9 checks passed
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.

1 participant