feat: shared feedback FastAPI router — extract common feedback endpoint from kiwi/snipe/peregrine #23
Labels
No labels
architecture
backlog
enhancement
module:documents
module:hardware
module:manage
module:pipeline
module:voice
priority:backlog
priority:high
priority:medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/circuitforge-core#23
Loading…
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?
Summary
Kiwi, Snipe, and Peregrine all independently implemented the same feedback endpoint pattern:
GET /feedback/status→{"enabled": bool}based onFORGEJO_API_TOKENpresencePOST /feedback/submit→ creates a Forgejo issueExtract to
circuitforge_core.api.feedbackas a reusable FastAPIAPIRouterthat products include in one line.Module
Product usage (one line)
After landing
Remove the hand-rolled feedback endpoints from kiwi, snipe, and peregrine and replace with
make_feedback_router().Related