Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Mosaic reconnect loses its error when OAuth navigation fails

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

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

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, typescript

調査の方向性

Start by reading the connected-account reconnect flow in projectConnectedAccounts, usePendingAction, and the controller mapping mentioned in the issue; inspect the existing tests near PR #10086 for the relevant setup. Add regression coverage for error transfer across account recreation and reauthorization, redirect hold, and retry behavior. Done when both reproduced navigation-failure paths show the error and retry remains available.

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

説明

Connected-account reconnect loses its error when navigation fails.

Reproduced both paths in Chromium against the latest-main-rebased PR #10086 branch.

  1. Seed a disconnected Google external account with an unverified google_one_tap verification and external_account_missing_refresh_token, then click Manage Google and Reconnect.
  2. Alternatively, seed a verified Google account and render the section with additionalOAuthScopes={{ google: ['calendar'] }}, then click Manage Google and Reconnect.
  3. Make clerk.navigate reject with Error("Navigation failed").

Expected the row or replacement Connect action to show "Something went wrong. Please try again." Both paths permit another connection but render no error. An unconditional findByText assertion fails for both cases. Connect does show the error.

The successful Frontend API response makes the account unverified without a verification error. projectConnectedAccounts hides such accounts and offers a Connect action instead. usePendingAction records the failure under the original account ID. The controller maps reconnectError to account rows with that ID, but the row has disappeared. Recreation also replaces the account with a new ID.

Keep this source fix separate from PR #10086, which only restructures tests. Cover error transfer across account recreation and reauthorization, redirect hold, and retry behavior with regression tests.

主要言語
TypeScript
スター
1.8k
フォーク
477
平均マージ
1日 18時間
マージ済み PR(30日)
287

環境構築

はじめの一歩

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

clerk/javascript のほかの issue

clerk/javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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