Variant build: variant_gates.py refuses SRO_LEVEL_CAP=100
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- build-system, game-dev
調査の方向性
まず scripts/variant_gates.py、特に gate_level_cap を確認し、受け付ける値とゲート条件を progression.Degree10LevelCap および apps/server/config/shard-settings.json の shard 設定と比較してください。scripts/build_alexandria_variant.py を SRO_LEVEL_CAP=100 で実行し、失敗を再現してください。ビルドが 100 を受け付け、Arabia、Sky Temple、Roc のインポートが対応する cap 条件を使用すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
scripts/variant_gates.py refuses the level cap the shard now ships, so the Alexandria variant build stops when it reads its flags from apps/server/config/shard-settings.json.
Steps: export the shard settings into the environment (SRO_LEVEL_CAP=100 since #4924) and run scripts/build_alexandria_variant.py.
Result: stage 2 stops in the gates step:
File "scripts/variant_gates.py", line 345, in gate_level_cap
ValueError: SRO_LEVEL_CAP must be off, 90 or 110, not '100'
Cause: gate_level_cap knows only the native values ("", 0, off, false, 90 -> 90) and 110. The server has accepted 100 since #4924 (progression.Degree10LevelCap), and the shard ships it, so the build and the server disagree on which caps exist.
Fix: accept 100 and clamp the gate conditions to it, as the server does. The Arabia, Sky Temple and Roc imports take their cap from the same function.
- 主要言語
- Go
- スター
- 97
- フォーク
- 61
- 平均マージ
- 4時間 2分
- マージ済み PR(30日)
- 969
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
opensro-dev/opensro のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensro-dev/opensro#4949 ·
メンテナーはふだん 1 日以内に返信
-
Format one minified client file with dprint (ongoing: one file per PR)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea: client enhancement good first issue priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
opensro-dev/opensro#1 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
opensro-dev/opensro#4951 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
opensro-dev/opensro#4950 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
opensro-dev/opensro#4941 ·
メンテナーはふだん 1 日以内に返信
opensro-dev/opensro の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Cojekt/LibreDental#258 ·
メンテナーはふだん 1 日以内に返信
-
go good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
agent-execution/02 row 4: consumers Verify row lacks delivery/base binding, cannot pass post-mergeオープンbug effort:s impact:low raised-by:verifier risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
medici-finance/assay#7946 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100