Skip to content

ref(notebooks): Add a notebook write API for producer blocks - #129408

Draft
wedamija wants to merge 1 commit into
masterfrom
danf/notebooks-write-api
Draft

wedamija wants to merge 1 commit into
masterfrom
danf/notebooks-write-api

Conversation

@wedamija

Copy link
Copy Markdown
Member

We're moving the notebook tables (Investigation*) into a new sentry.notebooks app, separate from the hypothesis engine that writes them, so other Seer producers like Autofix and triage can write notebooks too.

This adds create_notebook, upsert_block, move_block and remove_blocks to sentry.notebooks, and makes the hypothesis engine call them to write producer blocks, so other producers can write notebooks through the same API. There is no behavior change.

We're moving the notebook tables (Investigation*) into a new `sentry.notebooks` app, separate from the hypothesis engine that writes them, so other Seer producers like Autofix and triage can write notebooks too.

This adds `create_notebook`, `upsert_block`, `move_block` and `remove_blocks` to `sentry.notebooks`, and makes the hypothesis engine call them to write producer blocks, so other producers can write notebooks through the same API. There is no behavior change.
@wedamija
wedamija requested review from arslnb and billyvg October 31, 2026 00:06
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 31, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant