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

upgrade --from v1 leaves contradictory infra state: v1 per-plugin docker-compose DBs and .env.test targets that don't exist

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker-compose, postgresql, typescript
領域
database, devops

調査の方向性

Start by tracing the bos upgrade --from v1 flow and its audit logic, then inspect the generated docker-compose.yml and .env.test handling. Compare the resulting child project configuration with the platform repository’s four service setup described in the issue. Done means stale per-workspace services and invalid test database targets are either updated to the v2 shape or reported clearly by the audit.

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

説明

Found during the nearbuilders.org v2 upgrade (NEARBuilders/nearbuilders.org#305).

What

After the managed upgrade, the child repo is left with:

  • docker-compose.yml still describing the v1 topology — one postgres container per workspace (11 services with their own ports/volumes in nearbuilders.org), while the v2 code model is one shared postgres with plugin_<slug> schema scoping and ephemeral PGlite dev defaults. Root dev:postgres* scripts still point at the stale file.
  • .env.test pointing at services that don't exist — nearbuilders.org's copy referenced api_test_db/auth_test_db on ports 5434/5435, which under the v1 compose file were activity_db/builders_db. Any test loading it hits the wrong database or fails.

Why

The upgrade reconciles code/config but not infra files. The v2 topology shift (DB consolidation, ADR 0033) is exactly the kind of change that makes leftover infra files silently wrong.

Suggested fix

During bos upgrade --from v1 (or the audit): detect a generated per-workspace compose topology / .env.test targets that reference nonexistent services, and either regenerate them in the v2 shape (shared postgres + plugin_<slug> schemas + *-test services, mirroring the platform repo's own docker-compose.yml) or add explicit audit warnings listing the stale services.

Reference shape: the platform repo's own docker-compose.yml (4 services: api, auth, api-test, auth-test) is the pattern children should end on.

主要言語
TypeScript
スター
5
フォーク
3
平均マージ
9時間 37分
マージ済み PR(30日)
157

環境構築

はじめの一歩

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

NEARBuilders/everything-dev のほかの issue

NEARBuilders/everything-dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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