Containerd hosts config are sorted and not in the specified order
Containerd hosts config are sorted and not in the specified order: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). The order of hosts in the hosts.toml files in containerd config generated by the spegel configuration command do not…
The task
The order of hosts in the hosts.toml files in containerd config generated by the spegel configuration command do not preserve the order of previous config nor the order in arguments. This is due to the fact that maps marshalled with the go-toml library are sorted by key. The issue is that the order of the "hosts"…