Hotfix Process¶
When a critical production bug or breaking regression is reported on the latest stable version, follow this hotfix protocol:
1. Branching Strategy¶
- Create a dedicated hotfix branch directly off the stable tag or
main:
git checkout -b hotfix/vX.Y.Z-patch main
2. Implementing the Fix¶
- Keep code changes strictly minimal and focused on resolving the issue.
- Run the fast test suite locally to verify stability:
pytest tests/test_pipeline.py -k "Imports or Unit or Blank or Digital"
3. Version Bumping & Review¶
- Update the version indicator if necessary, ensuring a patch increment (
X.Y.(Z+1)). - Open a high-priority Pull Request into
mainwith thebugorfixlabel so Release Drafter categorizes it correctly. - Once reviewed and merged, push the new version tag to trigger automated publishing.