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

Concurrent `oasis rofl build` using different deployments

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

まず、oasis rofl build コマンドを rootfs イメージの作成と一時ディレクトリの処理まで追跡し、その後、異なる deployment に対する 2 つの build を同時に再現します。同時実行された build が競合したり、古い .orc を公開したりしなくなれば完了です。rofl.yaml に関する別の race も、追加スコープの可能性として記載します。

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

説明

rofl

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

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

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

はじめの一歩

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

oasisprotocol/cli のほかの issue

oasisprotocol/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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