[PRO] Subscription Topics dashboard index appears to be out of date

オープン
#5,259 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
graphql, rails, ruby
領域
api, backend

調査の方向性

Reproduce the issue by opening several entries in the subscription topics index, then inspect the topic detail page and the Ably integration involved in loading subscriptions. Compare the index data with the detail result after refreshing. Done means topics with no subscribers no longer remain listed, with regression coverage for the observed mismatch.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

Sometimes when I click on a topic that I see listed in the dashboard, the list of subscriptions is blank. Then when i navigate back out to the index and refresh, that subscription is gone. It seems to be the act of viewing the topic refreshes the data or something?

https://github.com/user-attachments/assets/a34872f6-1c47-4bf0-808c-e0772d8cc90f

I am pretty sure these aren't just churning out while i'm looking at the page, because I can go back several pages and click on one to reproduce the behavior.

NOTE: we're using the Ably integration.

Versions

graphql version: graphql-pro (1.29.2)
rails (or other framework): 7.2.1

Steps to reproduce

  1. Click on various topics in the subscription index.
  2. Sometimes when you get onto the topics page, the page will be blank and have no subscriptions listed.

Expected behavior

The topic should not be listed if there are no longer subscribers

Actual behavior

The topic is appearing in the list despite having no subscribers (I think!)

Additional context

This may not be a huge problem, but I want to have confidence that the system is working properly and it's not attempting to send messages to old/unused topics.

主要言語
Ruby
スター
5.4k
フォーク
1.4k
平均マージ
1日 8時間
マージ済み PR(30日)
74

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rmosolgo/graphql-ruby のほかの issue

rmosolgo/graphql-ruby の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。