Concurrent `oasis rofl build` using different deployments
まだ誰も着手していません。
評価
調査の方向性
まず、oasis rofl build コマンドを rootfs イメージの作成と一時ディレクトリの処理まで追跡し、その後、異なる deployment に対する 2 つの build を同時に再現します。同時実行された build が競合したり、古い .orc を公開したりしなくなれば完了です。rofl.yaml に関する別の race も、追加スコープの可能性として記載します。
索引モデルが issue の本文から書いたものです。
説明
It's common when you make a hotfix that you deploy your ROFL simultaneously to Testnet and Mainnet. When building ORCs concurrently, the second one fails with
Validating compose file...
Preparing stage 2 root filesystem...
Runtime hash: e2e074d03ab2fbacaacb01e6d63ce093fde04e4cc620dd8804e8afbb20390525
Creating squashfs filesystem...
Error: failed to create rootfs image: failed to copy file content: write |1: broken pipe
Pushing ROFL app to OCI repository 'rofl.sh/2ef1ae2d-7f04-495d-be0c-35593853dc55:1787832314'...
Pushing... 100.00% [#################################################] 84.53 MiB
And the old version of .orc is pushed.
Figure out where does the clash happen during the creation of rootfs image and make each deployment use unique tmp directory naming.
ps: Another issue is the race condition between two oasis rofl build instances when updating rofl.yaml. This may not be so trivial. Perhaps it would be more convenient for rofl build command to build ROFL for all deployments out there. Then, we could parallelize it easier.
- 主要言語
- Go
- スター
- 80
- フォーク
- 23
- 平均マージ
- 9時間 43分
- マージ済み PR(30日)
- 3
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oasisprotocol/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
oasisprotocol/cli#709 ·
-
oasisprotocol/cli#717 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
oasisprotocol/cli#707 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
oasisprotocol/cli#704 ·
-
rofl
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
oasisprotocol/cli#703 ·
oasisprotocol/cli の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
JakeChampion/lang#10213 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100