Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notification: send notifications in blocks received on sync reset for… #2285

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

bas-vk
Copy link
Contributor

@bas-vk bas-vk commented Feb 7, 2025

… new allocated streams

Copy link

vercel bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
river-sample-app ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 0:43am

@bas-vk bas-vk force-pushed the basvk/missing_notifications branch from fb3f795 to 4946a79 Compare February 7, 2025 12:43
@bas-vk bas-vk marked this pull request as ready for review February 7, 2025 12:51
@bas-vk bas-vk requested review from sergekh2 and texuf as code owners February 7, 2025 12:51
@bas-vk bas-vk enabled auto-merge (squash) February 7, 2025 12:51
@bas-vk bas-vk merged commit 73bf287 into main Feb 7, 2025
10 checks passed
@bas-vk bas-vk deleted the basvk/missing_notifications branch February 7, 2025 12:58
if justAllocated {
// send notifications for all events in all blocks
for _, event := range block.GetEvents() {
if parsedEvent, err := events.ParseEvent(event); err == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

@bas-vk, is there a bug here where memberships from the current block are applied before the events are sent instead of after?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah Austin is clarifying, nevermind

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