Post-1175 cleanup: OpenTofu, justfile, ruff py314, valkey, modern tooling - #325
Merged
Merged
Conversation
… Dockerfile to runtime collectstatic
daniele-20tab
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Post-merge cleanup of the Django sub-bootstrapper aligned with Talos #286.
Provisioning
~> 4.2.0→~> 5.0.terraform/dir →tofu/; runner invokestofuinstead ofterraform.-parallelism=1to avoid sporadic 422s ontfe_projectrace.Backend template
justfile(replacesMakefile); drop service-leveldocker-compose.yaml(now lives at platform level).gunicorn.conf.py(max_requests,max_requests_jitter,workers,preload_app=False,timeout,graceful_timeout,keepalive).entrypoint.shrunscollectstatic --clear --link --noinputat runtime.Dockerfile: drop build-timecollectstaticand hardcodedDJANGO_CONFIGURATIONenvs;localstage gets HEALTHCHECK andCMD [\"just\", \"runserver\"].uv+justflow (no moremake).pytest-mock,pytest-playwright,pytest-random-order,requests-mock,types-requeststo test group; add[tool.pyproject-fmt],[tool.djlint],[tool.coverage.xml];--no-migrations --junitxml --random-order-bucketin pytest addopts; Django60 deprecation filter..pre-commit-config.yaml: bump all hooks to current versions (Python{{cookiecutter.python_version}}, ruff v0.14.13, mypy v1.19.1, django-upgrade 1.29.1 targeting 5.2). Replace `pip-audit` with `uv-secure`; add `local-biome-check`; remove `prettier` and `fix-encoding-pragma`.[tool.ruff.lint]to silence deprecation warnings.Misc
redis→valkeyacross CLI, env vars, vars; keepredis~=5.0.0as the Python package (redis-py is protocol-compatible with Valkey, simpler than swapping client).Test plan