Skip to content

keep whether agents' feedback has been handled, and how - #164

Merged
hkonsti merged 1 commit into
mainfrom
hkonsti/feedback-done
Oct 30, 2026
Merged

hkonsti merged 1 commit into
mainfrom
hkonsti/feedback-done

Conversation

@hkonsti

@hkonsti hkonsti commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Agents' feedback (send_feedback and the agent pages' form) piles up with no way to tell what we have already handled. This adds two nullable columns to AgentFeedback: resolvedAt, when we marked it done, and resolution, a short note on how, such as the pull request that fixed it (#151) or upstream. Both are null while it is open, which is every existing row after the migration (v038_add_agent_feedback_resolution).

Nothing in this repo reads or writes them: the app never shows feedback, and saving it leaves both null. Our admin marks feedback done and opens it again; that change is in the internal repo's pull request, which points its proxy/ at this branch until this merges: personalagentproxy/internal#21 (private).

Testing

  • bun run typecheck, bun run test (the migration-name test included)
  • The SQL is what Prisma generates: prisma migrate diff from the schema before to the schema after prints the same ALTER TABLE
  • On a throwaway Prisma dev database (PGlite, on ports apart from the dev one's), prisma migrate deploy applied every migration through v038, and prisma migrate diff from that database to the schema was empty

- AgentFeedback: resolvedAt, when we marked it handled, and resolution, a
  short note on how, such as the pull request that fixed it; both null while
  it is open. Written from our admin, nothing here writes them
@hkonsti
hkonsti merged commit 6a737b3 into main Oct 30, 2026
3 checks passed
@hkonsti
hkonsti deleted the hkonsti/feedback-done branch October 30, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant