Repository navigation
Load config files in name order - #19
Conversation
YamlFolder returned files in filesystem order, so when two files in a folder defined the same id, which one was kept depended on the machine. Sort by file name (ignoring case) so the first file by name always wins. This also makes ResearchLoadersTest.templatesValidateNestedPathsCyclesDuplicatesAndWeights pass on every filesystem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Summary
Merge Risk: ⚪ Minimal · up to
|
Research read each config folder in whatever order the filesystem listed its files. When two files defined the same id, which copy was kept depended on the machine, and
ResearchLoadersTest.templatesValidateNestedPathsCyclesDuplicatesAndWeightsfailed on the CachyOS build PC onmain.YamlFolder.listYamlFilesnow sorts by file name, ignoring case, so the first file by name always keeps a repeated id. A new test feeds the files in a scrambled order and checks the result.Full gate passes on the CachyOS PC (260 tests, coverage met).
Docs: TF-Minecraft/Docs#221
🤖 Generated with Claude Code