Skip to content

fix: retry notion getter#885

Merged
desoindx merged 1 commit into
developfrom
fix/notion
May 18, 2026
Merged

fix: retry notion getter#885
desoindx merged 1 commit into
developfrom
fix/notion

Conversation

@desoindx
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 12:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds retry logic when fetching Notion page content to gracefully handle rate-limit (HTTP 429) responses from the Notion API, reducing transient build/runtime failures.

Changes:

  • Introduces getNotionPageWithRetry helper that retries up to 3 times on 429 responses, honoring the retry-after header (defaulting to 5s).
  • Wires getNotionContentProps to use the new retry helper instead of calling notion.getPage directly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@desoindx desoindx merged commit 3cb34fc into develop May 18, 2026
10 checks passed
@desoindx desoindx deleted the fix/notion branch May 18, 2026 15:20
desoindx added a commit that referenced this pull request May 19, 2026
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