coder / coder/create-task-action

Duplicate `github_com_user_id` tied to deleted users

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

説明

I have a Coder user that I've unlinked in the past from Github and deleted. Ive recreated them later to authenticate to the same Github, but I end up running into this error:

```
Multiple Coder users found with GitHub user ID 13365989
```

Ive verified that I only have 1 account actively tied to that 1 Github user. Checking the database, it looks like deleted users still have their `github_com_user_id` set, causing the action to interpolate deleted users with active ones.

Image

Is there any way to filter out deleted users? Or could we get that added here: https://github.com/coder/create-task-action/blob/v0.0.5/src/coder-client.ts#L96 Not totally sure if this is an issue with how we're handling these records on the DB, or if its something that could be handled via URL queries.

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

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

評価

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

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

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