AOSSIE-Org / AOSSIE-Org/Ell-ena

if the RPC check_team_code_exists throws an exception (e.g. network error), it counts as a failed attempt->Infinite loop

オープン
#155 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
54
フォーク
110
PR マージ指標
30日以内にマージされた PR はありません

説明

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

**Where**: `SupabaseService.createTeam`

**Issue**: The do-while loop tries 10 times to generate a unique ID. If the RPC check_team_code_exists throws an exception (e.g. network error), it counts as a failed attempt. 10 network errors = "Failed to create team".

**Fix**: Distinguish between "Code exists" (retry) and "Network Error" (throw immediately or retry with backoff).

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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