You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Inconsistent behavior when streaming a table for an entry that has not been inserted yet. Upon a user authenticating, I have an edge function that creates a user object the database. In my client app, I have a stream on the users table for this newly authenticated user. About 98% of the time this works, but there is a rare case where the stream never notifies the listener that a new object has been created. No errors are logged from Supabase whatsoever.
Expected behavior
A clear and concise description of what you expected to happen.
When an object is inserted into the table I am streaming, I should be notified every time or an error should be thrown.
Describe the bug
Inconsistent behavior when streaming a table for an entry that has not been inserted yet. Upon a user authenticating, I have an edge function that creates a user object the database. In my client app, I have a stream on the users table for this newly authenticated user. About 98% of the time this works, but there is a rare case where the stream never notifies the listener that a new object has been created. No errors are logged from Supabase whatsoever.
Expected behavior
A clear and concise description of what you expected to happen.
When an object is inserted into the table I am streaming, I should be notified every time or an error should be thrown.
Version (please complete the following information):
├── supabase_flutter 2.8.2
│ ├── supabase 2.6.1
│ │ ├── functions_client 2.4.0
│ │ ├── gotrue 2.11.1
│ │ ├── postgrest 2.4.0
│ │ ├── realtime_client 2.4.1
│ │ ├── storage_client 2.3.0
Additional context
✅ 98% Of The Time
[AuthCubit] User not found yet
[AuthCubit] "USER_ID"
❌ 2% Of The Time
[AuthCubit] User not found yet
---- Nothing gets logged again -----
The text was updated successfully, but these errors were encountered: