Possible unsafe migrations warning
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、issue に示されている一意なアルバムインデックスの生成済み migration を再現し、それを生成する migration codegen パスを追跡します。安全でない PostgreSQL インデックス作成をどのように検出または表現すべきかを判断し、その後、生成済み migration が non-concurrent インデックスを処理するか警告することを示すテストカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
説明
I'm working through the book and I see that when a migration is generated for new index it's not applying concurrently: true
def up do
create unique_index(:albums, [:name, :artist_id],
name: "albums_unique_album_names_per_artist_index"
)
end
This locks the table and with bigger databases can cause problems:
postgres docs
there are some libraries that will let you know about unsafe migrations where you can check what to avoid
rails - there is also one for elixir but as ash generates the migrations most of the stuff can be applied by changing the codegen.
- 主要言語
- Elixir
- スター
- 191
- フォーク
- 186
- 平均マージ
- 16時間 4分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ash-project/ash_postgres のほかの issue
-
Temporal: an update or destroy as of an instant doesn't carry into later versions対応中かも @hoanle0126 が 14 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
ash-project/ash_postgres#915 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
has_create_action?/1 excludes manual creates, making the #49 nullability fix inert on AshEvents resources再び着手できるかも @Mckay-Hinds が 19 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
ash-project/ash_postgres#851 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ash-project/ash_postgres#650 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ash-project/ash_postgres#642 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 40/100
ash-project/ash_postgres#628 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
ash-project/ash_postgres の issue をすべて見る
似ている issue
-
Flaky testオープンdette technique
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
etalab/transport-site#5701 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
@swmansion/popcorn: published .d.ts files lack extensions on relative imports, breaking moduleResolution node16/nodenext対応中かも @Huyvux12 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/popcorn#929 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
intellij-elixir/intellij-elixir#4705 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
phoenixframework/phoenix#6908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信