internal/config/config_test.go's TestConfigForTaskJSONRoundTrip asserts an exact key list via assertJSONKeys(...) for the whole TaskConfig payload, and reflect.DeepEqual's the forge payload against a map containing only {"host": ...}. Adding any new optional field to TaskConfig or config.Forge -- for a reason unrelated to whatever this test guards -- breaks it. Consider asserting only the specific keys the round-trip test cares about (the ones it actually inspects afterward: budgets.wall_clock, forge.host) rather than the complete set.
Close reason
Closed on GitHub; syncing bead state
Imported from beads archie-core-gnzh.2 · GitHub #1230 · type task · priority P3 · created 2026-09-26 · closed 2026-09-26
internal/config/config_test.go's TestConfigForTaskJSONRoundTrip asserts an exact key list via assertJSONKeys(...) for the whole TaskConfig payload, and reflect.DeepEqual's the forge payload against a map containing only {"host": ...}. Adding any new optional field to TaskConfig or config.Forge -- for a reason unrelated to whatever this test guards -- breaks it. Consider asserting only the specific keys the round-trip test cares about (the ones it actually inspects afterward: budgets.wall_clock, forge.host) rather than the complete set.
### Close reason
Closed on GitHub; syncing bead state
---
_Imported from beads `archie-core-gnzh.2` · GitHub #1230 · type task · priority P3 · created 2026-09-26 · closed 2026-09-26_
sam
added the lowtask labels 2026-10-27 13:35:36 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
internal/config/config_test.go's TestConfigForTaskJSONRoundTrip asserts an exact key list via assertJSONKeys(...) for the whole TaskConfig payload, and reflect.DeepEqual's the forge payload against a map containing only {"host": ...}. Adding any new optional field to TaskConfig or config.Forge -- for a reason unrelated to whatever this test guards -- breaks it. Consider asserting only the specific keys the round-trip test cares about (the ones it actually inspects afterward: budgets.wall_clock, forge.host) rather than the complete set.
Close reason
Closed on GitHub; syncing bead state
Imported from beads
archie-core-gnzh.2· GitHub #1230 · type task · priority P3 · created 2026-09-26 · closed 2026-09-26