GitHub Comments and Ghosts
September 27th, 2025
GitHub shipped a feature this week that Iāve been wanting for years: the ability to comment on unchanged lines in pull request reviews. Thereās a catch though - you need to be using the new PR public preview to access it.
This feels like a small change but itās actually quite significant for code review. Previously, if you wanted to suggest improvements to code that wasnāt directly modified in the PR, you were out of luck. Now you can point out related issues, suggest broader refactoring opportunities, or flag code that should have been changed but wasnāt. Itās a meaningful improvement.
The Ghost Notification Problem
Speaking of GitHub frustrations, Iāve been battling a particularly annoying bug this week. You know that little blue dot on the notification bell that suggests you have unread notifications? Mineās been persistently lit up despite my inbox being empty after clearing everything out.
Turns out Iām not alone, thereās a discussion thread thatās been running since 2021 with over 190 replies from people experiencing the same issue. The root cause appears to be spam mentions. Someone mentions you in a spam post or repo, GitHub removes the spam content, but the associated notification becomes a āghostā that never quite disappears from your count.
After trying various solutions, hereās what worked for me.
If you have 25+ notifications in your inbox:
- Use āselect allā and mark everything as read
- This clears the ghost notifications along with the real ones
If you have fewer than 25 notifications: The select all feature doesnāt appear unless you hit that threshold, so you need to artificially inflate your inbox first.
- Go to your āDoneā tab
- Select all notifications (checkbox)
- Click āMove to inboxā
- Return to your inbox
- Select all (checkbox)
- Click āSelect all Xā
- Click āDoneā
Itās a bit of a dance, but itās the most reliable way Iāve found to exorcise the notification ghosts.