Skip to content

feat: v1.6.0 — step control, Django mode guards, timeout recovery#93

Merged
croc100 merged 1 commit into
mainfrom
release/v1.6.0
Jun 16, 2026
Merged

feat: v1.6.0 — step control, Django mode guards, timeout recovery#93
croc100 merged 1 commit into
mainfrom
release/v1.6.0

Conversation

@croc100

@croc100 croc100 commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fine-grained migration step control (upgrade_to, upgrade_one, downgrade_one, downgrade_to, current_revision) — closes feat: fine-grained migration step control in mrt fixture (pytest-alembic parity) #86
  • Bug: Django mode step methods raised AttributeError — now raises RuntimeError with clear message
  • Bug: check_static() raised AttributeError in Django mode — now raises RuntimeError
  • Bug: timeout path skipped DB state recovery — mirrors except Exception recovery path
  • Tests: 9 new tests covering all three bug fixes
  • All docs updated: README, CHANGELOG, ROADMAP, docs/api.md, docs/cli.md, docs/index.md, docs/migration-guide.md, docs/roadmap.md
  • Version bump: 1.5.0 → 1.6.0

Test plan

  • 463 tests pass, 18 skipped (all existing + 9 new)
  • Django mode upgrade/downgrade family raises RuntimeError (7 parametrized cases)
  • Django mode check_static() raises RuntimeError
  • Timeout triggers DB state recovery (downgrade_base called)

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pytest_mrt/core/verifier.py 50.00% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@croc100 croc100 merged commit 42df601 into main Jun 16, 2026
15 checks passed
@croc100 croc100 deleted the release/v1.6.0 branch June 16, 2026 20:28
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.

feat: fine-grained migration step control in mrt fixture (pytest-alembic parity)

2 participants