fix: remove sprint note type from schema and status validation #194

Merged
forgejo_admin merged 1 commit from 193-remove-sprint-note-type into main 2026-03-24 17:07:55 +00:00

Summary

Removes the dead "sprint" note type from the platform. We use continuous kanban, not sprints. Verified zero notes with note_type="sprint" exist in the production database before removal.

Changes

  • src/pal_e_docs/schemas.py — removed "sprint" from NoteType Literal
  • src/pal_e_docs/routes/notes.py — removed "sprint" entry from VALID_STATUSES dict
  • tests/test_note_type_enum.py — removed "sprint" from NEW_TYPES list, replaced test_sprint_valid_status with test_sprint_type_rejected (asserts 422)

Test Plan

  • All 636 tests pass (pytest tests/ -v)
  • ruff format + ruff check clean
  • Confirmed no sprint-typed notes in production DB via kubectl exec
  • Forgejo issue: #193

🤖 Generated with Claude Code

## Summary Removes the dead "sprint" note type from the platform. We use continuous kanban, not sprints. Verified zero notes with note_type="sprint" exist in the production database before removal. ## Changes - `src/pal_e_docs/schemas.py` — removed "sprint" from NoteType Literal - `src/pal_e_docs/routes/notes.py` — removed "sprint" entry from VALID_STATUSES dict - `tests/test_note_type_enum.py` — removed "sprint" from NEW_TYPES list, replaced test_sprint_valid_status with test_sprint_type_rejected (asserts 422) ## Test Plan - All 636 tests pass (pytest tests/ -v) - ruff format + ruff check clean - Confirmed no sprint-typed notes in production DB via kubectl exec ## Related - Forgejo issue: #193 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: remove sprint note type from schema and status validation
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
81d1882494
Sprint note type is dead — we use continuous kanban, not sprints.
Verified zero notes with note_type="sprint" exist in production DB.

Removes "sprint" from NoteType Literal and VALID_STATUSES dict.
Updates test to assert sprint type is now rejected (422).

Closes forgejo_admin/pal-e-docs#193

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
forgejo_admin deleted branch 193-remove-sprint-note-type 2026-03-24 17:07:55 +00:00
Sign in to join this conversation.
No description provided.