Add validation column to board schema and API #241
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#241
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
Feature
Lineage
Repo
forgejo_admin/pal-e-apiUser Story
As the PM, I need a
validationcolumn betweenneeds_approvalanddoneso that merged work goes through production validation before it's considered done. Currently items jump from needs_approval to done, skipping validation entirely.Context
The
sop-board-workflowdefines avalidationcolumn but the board API doesn't implement it. Theupdate_board_itemandcreate_board_itemendpoints accept: backlog, todo, next_up, in_progress, needs_approval, qa, done. Thevalidationcolumn is missing.The column ordering should be: backlog → todo → next_up → in_progress → qa → needs_approval → validation → done.
File Targets
src/pal_e_docs/schemas.py— Addvalidationto theBoardColumnenum (betweenneeds_approvalanddone)src/pal_e_docs/routes/boards.py— Ensure sync operations handle the new columnalembic/— Migration to add the enum value if stored in DB (check if column is a DB enum or Python-only)Acceptance Criteria
update_board_item(column="validation")works via APIcreate_board_item(column="validation")works via APIlist_board_items(column="validation")returns items in the columnsync_boardhandles the new column correctlyTest Expectations
pytest tests/— all existing tests pass + new tests passConstraints
list_board_itemsdescription needs the new column in the docstringChecklist
Related
sop-board-workflow— defines the validation column semanticsconvention-validation-checkpoints— what validation meansScope Review: BLOCK
Review note:
review-602-2026-03-28The work described in this issue has already been completed.
Evidence:
BoardColumnenum inmodels.pyalready includesvalidation(line 30)BoardColumnTypeLiteral inschemas.pyalready includes"validation"(line 233)r8m9n0o1p2q3_add_validation_board_column.pyexiststest_board_item_validation_column,test_board_item_filter_validation_columndoneRecommend closing as duplicate.
Discovered scope: MCP tool docstrings in
pal-e-mcpare stale —list_board_items,create_board_item,update_board_itemdescriptions don't mentionvalidationcolumn. Recommend a new ticket onforgejo_admin/pal-e-mcp.