Move install-db-schema from afterReset to beforeAllMigrations
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、afterReset と beforeAllMigrations の migration lifecycle 設定を見つけ、次に yarn workspace @app/worker install-db-schema がどこで呼び出されているか、また Procfile から削除された wipe-if-demo スクリプトが production にどのような影響を与えていたかを追跡します。worker schema が migrations の前に存在し、registration で PostgreSQL の ERR_3F000 が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I believe this was handled by the wipe-if-demo script in the demo but I needed to manually run it in production since I removed that script from the Procfile. Not a huge deal but figured I would at least document it here to save someone else some time as it threw me for a little loop when I got the Postgres error.
Got the following error when I tried to register since the worker schema wasn't there
Registration failed (Error code: ERR_3F000)
Once I got the postgres logs running right on RDS it was fairly obvious, just had to run
yarn workspace @app/worker install-db-schema
and everything worked as intended
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 226
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
graphile/starter のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
🐛 bug help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
-
TFA & RBACオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
username sanitization is case sensitive; column is citext対応中かも @hydrandt が 1812 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
graphile/starter の issue をすべて見る
似ている issue
-
foreground-up-signals-live: delivery-repair cell expects a spawn suggestion status no longer printsオープンbug triage:owned
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
directus/directus#28558 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
review: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
1lck/Lithe-IDEA#2432 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cloudflare/workers-sdk#17189 ·
メンテナーはふだん 1 日以内に返信