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

Dev impersonation requires pre-seeded accounts — create unknown names on demand

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript

調査の方向性

POST /api/auth/dev/impersonate handler とその player lookup を探し、次に seed-speedrun-players.ts を調べて player fields と login behavior を確認します。未知の steamName が ToS を事前に受け入れた状態で作成され、ログインされる一方で、playerId がない場合は引き続き 404 が返されることが完了条件です。development endpoint を通じて両方のパスを検証してください。

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

説明

Status: enhancement

Current behavior

POST /api/auth/dev/impersonate (development-only) 404s when the requested steamName has no existing players row. Local multi-client testing therefore requires a seeding step first (e.g. seed-speedrun-players.ts) before any account can be impersonated.

Proposal

On a steamName miss, create the player row on the fly (ToS pre-accepted so throwaway accounts skip the prompt) and log in as it — making local testing zero-setup: launch two clients, impersonate any two names, play. playerId (uuid) misses should still 404, since creating a row for a specific uuid is meaningless. The endpoint is already gated to NODE_ENV=development, so production exposure is unchanged.

主要言語
TypeScript
スター
13
フォーク
21
平均マージ
3日 16時間
マージ済み PR(30日)
6

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

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

はじめの一歩

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

Balatro-Multiplayer/BalatroMultiplayerAPI-Server のほかの issue

Balatro-Multiplayer/BalatroMultiplayerAPI-Server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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