Validate: run alembic upgrade head for NoteType + validation column migrations #232
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
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#232
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
Task
User Story
As the superuser, I need the 3 merged pal-e-api migrations applied so the new NoteType system (4 new types + validation BoardColumn) is active in production. PRs #226, #230, #231 added types and a data migration but
alembic upgrade headhasn't been run.Context
Three migrations merged but unapplied:
The validation BoardColumn is required for the right-side enforcement pipeline (tickets #209, #210 on board-pal-e-agency). Without it, boards can't use the validation column.
Scope
alembic upgrade headvia kubectl exec into pal-e-api podFile Targets
Acceptance Criteria
alembic currentshows head revisionGET /boards/{slug}returns validation column in schemalist_notes(tags="sop")returns notes with correct note_typeTest Expectations
Related
Investigation Update (2026-03-28)
Database: Already at head (
p6k7l8m9n0o1). Migrations applied.Running code: OLD image.
BoardColumnenum has 7 values (novalidation).NoteTypedoesn't exist in running code (stillNoteTag).Root cause: CI pipeline hasn't built a new image since PRs #226/#230/#231 merged. The pod is running a pre-NoteType image.
Revised scope: This ticket doesn't need
alembic upgrade head— it needs a successful pal-e-api CI pipeline run to build and deploy a new image. Check if CI clone step works (may be blocked by the same cross-namespace networking issue as pal-e-app).Scope Review: READY
Review note:
review-522-2026-03-28Ticket is well-scoped, traceable, and was successfully executed. All dependencies satisfied, all AC verifiable.
Minor template nits (non-blocking, for future reference):
### Reposection (implied by issue location)### Lineagesection (standalone validation task)