Conversation
Extract page and database metadata from Notion workspaces via the Notion API. Emits document entities for both pages and databases with child_of, belongs_to, owned_by, and documented_by edges. Reads page block content to scan for URN references linking documentation to data assets. Closes #503 (Notion portion)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 39 minutes and 0 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
documententities for both pages and databases withchild_of,belongs_to,owned_by, anddocumented_byedgespages,databases, or both viaextractconfigDetails
New files:
plugins/extractors/notion/notion.go— Main extractor with Config, Init, Extractplugins/extractors/notion/client.go— HTTP client for Notion API (search, block children, bearer auth, cursor-based pagination)plugins/extractors/notion/notion_test.go— 6 unit tests covering config validation, page/database extraction, URN detection, archived skippingplugins/extractors/notion/README.md— Documentationtest/e2e/notion_file/notion_file_test.go— End-to-end test with mock server through full pipelineEntities emitted:
documentdocumentEdges emitted:
child_ofbelongs_toowned_bydocumented_byCloses #503 (Notion portion)
Test plan
go test -tags plugins ./plugins/extractors/notion/)go test -tags integration ./test/e2e/notion_file/)go build ./...succeeds