V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shintendo
V2EX  ›  GitHub

灵异事件, GiHub 收到了一条看不见的通知

  •  
  •   shintendo · 1 天前 · 467 次点击



    首页一直提示有一条未读通知,但点进来全是已读的,如图。
    注意右下角"1-5 of 6",但是翻页按钮却是灰的。
    左侧栏那几个标着①的,点进去都是空列表。
    Repositories 一栏显示这条通知来自 plasma-signal/plasma.to 这个仓库,但我从未参与过也没有听说过,搜索也搜不到这个仓库。
    已经禁用了所有浏览器插件。
    不知道有没有人遇到一样的情况,现在右上角就永远挂着一个未读蓝点,消不掉了😭
    7 条回复    2025-09-27 23:26:30 +08:00
    DonaidTrump
        1
    DonaidTrump  
       1 天前
    我有 3 个了,看起来像是诈骗的仓库,被系统删除了,但是通知还在
    jarry777
        2
    jarry777  
       1 天前 via iPhone
    GitHub 官方已经在处理了。


    GitHub Support (GitHub Support)
    Sep 26, 2025, 2:13 AM UTC

    Hi ***,

    Thank you for bringing this bug to our attention. Our engineers are investigating the issue, and we appreciate your report. While we can't guarantee any specific changes or updates, please know that your report is in good hands and being investigated thoroughly.

    Regarding the phantom notification, we apologize for any confusion or frustration this may have caused. One possible explanation is that a user account that mentioned you in a thread has been flagged for potentially violating our Terms of Service. When this happens, the content is hidden from view, including the notification, to protect the privacy of the user account and prevent further violations.

    As a workaround, if you're familiar with the GitHub CLI, you can use the script below to mark all of your notifications as read. This may take care of the phantom message, but please note that the 1-0 of 1 message may still persist after the curl command is run. Our engineers are investigating this bug as well.

    Running the script to mark notifications as "read" is generally considered safe, as it does not remove the notification itself, only updates the status of the notification. Here is the script:

    gh api \
    --method PUT \
    -H "Accept: application/vnd.github+json" \
    /notifications \
    -F read=true

    If you have a Personal Access Token (PAT), you can also use the following curl command to mark all of your notifications as read. Please note that in order to use the curl command, you will need to replace $TOKEN with your own PAT, which you can create here. Also note that the PAT must have the notifications scope.

    curl -X PUT \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token $TOKEN" \
    https://api.github.com/notifications

    For your reference, here is the documentation for the Notifications REST API endpoint.

    In saying that, I fully understand that you may prefer to wait for a bug fix. Please note that the fix for this issue is complex, and I cannot guarantee a timeline for its implementation.

    I hope this is helpful. Please do not hesitate to contact us if you have any further questions.

    Cheers,
    Nix
    GitHub Support

    Note: This ticket will automatically close after 3 days of inactivity, but it can always be reopened with a reply or follow-up.
    caiqichang
        3
    caiqichang  
       1 天前
    gaoryrt
        4
    gaoryrt  
       1 天前
    考虑到几种删除幽灵通知的难度,甚至觉得这是 gh cli 自己的广告
    Nriver
        5
    Nriver  
       1 天前
    我写了一个 python 脚本来删通知,不需要安装 gh cli 或者其它模块

    https://gist.github.com/Nriver/42feddd2a369a8f1519b47adb81ebef8
    Goooooos
        6
    Goooooos  
       1 天前
    最近几天一直有个小蓝点
    zaunist
        7
    zaunist  
       12 小时 30 分钟前

    可以通过 GitHub 官方的 REST API 来清理这些未读通知,发个请求就能解决
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4716 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 03:57 · PVG 11:57 · LAX 20:57 · JFK 23:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.