Skip to content

Add ChainID support for filtering Notion alerts#65

Merged
dewanshparashar merged 3 commits intomainfrom
add-chainID-notion
Jun 27, 2025
Merged

Add ChainID support for filtering Notion alerts#65
dewanshparashar merged 3 commits intomainfrom
add-chainID-notion

Conversation

@mahsamoosavi
Copy link
Contributor

This PR updates alertUntriagedNotionRetryables to accept allowedChainIds and skip tickets whose ChainID does not match. This ensures alerts are only triggered for chains listed in the config.
In processOrbitChainsConcurrently, chain IDs are collected from config.childChains and passed to alertUntriagedNotionRetryables.

// once we process all the chains go through the Notion database once to alert on any `Unresolved` tickets found
if (options.writeToNotion) {
await alertUntriagedNotionRetryables()
await alertUntriagedNotionRetryables(config.childChains)
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to add this same change to the 1 other place where alertUntriagedNotionRetryables() is called.

@dewanshparashar dewanshparashar merged commit 3bdde23 into main Jun 27, 2025
1 check passed
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