- Fix 55 test failures caused by missing request contexts and incorrect
session_transaction() usage across 8 test files
- Fix ruff import sorting errors and unused imports
- Fix 122 type errors: rename method override parameters to match base
classes, add None guards for fetchone()/datetime, widen dict type
annotations, add type: ignore for SQLAlchemy stub limitations
- Add [tool.ty.rules] config to suppress unsupported-base warnings
- Fix _ variable shadowing gettext in wizard routes
- Add noqa: ARG002 for unused method arguments required by base class
Overrides cachelib's _remove_expired to delete empty/truncated session
files that cause endless "Exception raised while handling cache file"
warnings. Also cleans up corrupt files at startup.
Fixes#1180
fix: enhance scheduler initialization to skip during migrations
chore: update docker entrypoint to skip scheduler during migrations
docs: add detailed explanation for session cache stale file handle fix