fix: remove stale Board import from alembic/env.py #261
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-api#261
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Regression from
forgejo_admin/pal-e-api #245— "drop legacy boards table" removed theBoardmodel frommodels.pybut did not updatealembic/env.py.Repo
forgejo_admin/pal-e-apiWhat Broke
CI pipeline fails on every merge to main. The
migration-teststep runsalembic upgrade headwhich triggersImportError: cannot import name 'Board' from 'pal_e_docs.models'. TheBoardmodel was removed in PR #245 butalembic/env.pystill imports it. This blocks all image builds — no code changes can deploy.Repro Steps
alembic upgrade headfails with ImportErrorExpected Behavior
Migration test passes. Build completes. Image deploys.
Environment
89f663b(pre-boards-drop)Acceptance Criteria
alembic/env.pyno longer importsBoardRelated
project-pal-e-platform— platform projectforgejo_admin/pal-e-api #245— the PR that removed the Board model