Skip to content

Conversation

@setchy
Copy link
Member

@setchysetchy commented Oct 30, 2025

Attempted fix of edge cases which could be causing #2335

@github-actionsgithub-actionsbot added the bug Something isn't working label Oct 30, 2025
for(constnoftargetNotifications){
n.unread=false;
}
functionapplyReadStateToNotifications(
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

prevents any direct state mutation

constrepo=notification.repository?.full_name;

// Skip notifications without valid repository data
if(!repo){
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

more defensive handling

@sonarqubecloud
Copy link

@setchysetchy merged commit 3c77479 into mainNov 6, 2025
16 checks passed
@setchysetchy deleted the fix/orphaned-notifications branch November 6, 2025 12:41
@github-actionsgithub-actionsbot added this to the Release 6.11.0 milestone Nov 6, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Development

Successfully merging this pull request may close these issues.

3 participants

@setchy@codebytere