Variant build: variant_gates.py refuses SRO_LEVEL_CAP=100
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- go
- 领域
- build-system, game-dev
调研方向
从 scripts/variant_gates.py 开始,重点查看 gate_level_cap,并将其接受的值和 gate 条件与 progression.Degree10LevelCap 以及 apps/server/config/shard-settings.json 中的 shard 设置进行比较。使用 SRO_LEVEL_CAP=100 运行 scripts/build_alexandria_variant.py,以重现失败。完成标准是构建接受 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 分钟
- 30 天内合并 PR
- 969
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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)可能已有人在做 关联的 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