Skip to content

notifications: add read.backfill.error event type - #405

Open
jlimatampersand wants to merge 2 commits into
mainfrom
jlim/read-backfill-error-notification
Open

jlimatampersand wants to merge 2 commits into
mainfrom
jlim/read-backfill-error-notification

Conversation

@jlimatampersand

Copy link
Copy Markdown
Contributor

Adds the read.backfill.error notification event type.

Context

Backfill read failures previously had no builder-facing event: the server published read.triggered.error (documented as an on-demand triggered read failure) for every read failure, so builders subscribed to backfill lifecycle events (read.backfill.done) never learned a backfill failed. The server now emits read.backfill.error when a backfill read fails — see amp-labs/server#7312.

Changes

  • api/api.yaml: add read.backfill.error to the NotificationEventType enum.
  • notifications/notifications.yaml: add ReadBackfillErrorData and ReadBackfillErrorNotificationPayload schemas (installation fields + objectName + error), mirroring the read.triggered.error shape minus the trigger window timestamps.
  • Regenerated JSON via pnpm run gen:json.

Related

  • Server: amp-labs/server#7312
  • Client dashboard PR incoming

🤖 Generated with Claude Code

Backfill read failures previously had no builder-facing event — the
server published read.triggered.error for every read failure. The
server now emits read.backfill.error when a backfill read fails
(amp-labs/server#7312); this adds the event type to the
NotificationEventType enum and defines its payload schema.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment thread notifications/notifications.yaml
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
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.

2 participants