Skip to content

Fold migration 0063 into 0062 (unreleased); NEWS for v2.8.1 - #1057

Merged
ajslater merged 2 commits into
developfrom
claude/fold-0063-into-0062
Nov 25, 2026
Merged

ajslater merged 2 commits into
developfrom
claude/fold-0063-into-0062

Conversation

@ajslater

@ajslater ajslater commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Folds 0063_reading_list_suggested_comic (#1055) into 0062_volume_start_year (#1054) as 0062_volume_start_year_and_suggested_comic. Neither has shipped (v2.8.0 ends at 0061), so v2.8.1 adds one migration. This is a rename-fold without replaces, the repo's convention (#909). The data step stays in _0062_volume_start_years.py.

Verified (empty scratch databases)

  • Migrating through the old chain (0062 + 0063) and through the fold gives identical sqlite_master rows and codex_timestamp rows.
  • Rolling the fold back to 0061 matches a database built only to 0061. Migrating forward again matches the old chain.
  • makemigrations --check detects no changes.

Dev databases

A database that already applied the old 0062_volume_start_year and 0063_reading_list_suggested_comic fails on start with duplicate column name: start_year. To fix it (verified):

bin/manage.py migrate codex 0062_volume_start_year_and_suggested_comic --fake

The two old rows left in django_migrations are harmless. --fake skips the data step, which the old 0062 already ran.

NEWS

Adds the missing ### 🧑‍💻 Developer line to v2.8.1, "Require comicbox 5.7.1.", as past releases list their comicbox requirement. I checked the rest of v2.8.1 against develop's commits since v2.8.0: #1054 and #1055 each have their Fixed line, and #1056, devenv and the other dependency updates are not user-facing.

Gates

make fix passes. make lint passes with 0 errors and 0 warnings. make ty passes. make test: vitest 1465 passed; pytest 2881 passed, 2 skipped, and 10 failed in tests/test_oidc_login.py. Those 10 are develop's django-allauth 65.23.0 break, fixed in #1056 and unrelated to this change.

🤖 Generated with Claude Code

ajslater and others added 2 commits November 25, 2026 12:07
…_comic

Neither has shipped (v2.8.0 ends at 0061), so v2.8.1 adds one migration.
A rename-fold without `replaces`, as the repo does (#909).

Verified with empty scratch databases: migrating through the old chain and
the fold gives identical sqlite_master and codex_timestamp rows; rolling
the fold back to 0061 matches a database built only to 0061; migrating
forward again matches. A dev database that applied the old 0062 and 0063
fails with "duplicate column name: start_year" until
`migrate codex 0062_volume_start_year_and_suggested_comic --fake`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ajslater ajslater changed the title Fold migration 0063 into 0062 (unreleased) Fold migration 0063 into 0062 (unreleased); NEWS for v2.8.1 Nov 25, 2026
@ajslater
ajslater merged commit ac04692 into develop Nov 25, 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