~After multiple attempts I couldn't reproduce the flake in the self-hosted runner, so let's add these logs for the next time it happens elsewhere in CI.~
Scratch that, right as I was throwing in the towel we have a flake!
Update: Investigating the flake showed that the epochs method returned only 3 descriptors with one descriptor different than the UTXOs method. On successful runs, the epochs method returns 4 descriptors. This is likely due to the looping approach that's removed in https://github.com/fedimint/fedimint/pull/5184 (see: https://github.com/fedimint/fedimint/pull/5184#discussion_r1586305505), which suggests the different descriptor is a spent output instead of the change output.
Still a mystery how this happened in the merge queue with the updates from https://github.com/fedimint/fedimint/pull/5184 that waits for the session outcome instead of polling the epochs method. Hopefully we'll catch it again with more context with these logs.
Should help debug https://github.com/fedimint/fedimint/pull/5184
~After multiple attempts I couldn't reproduce the flake in the self-hosted runner, so let's add these logs for the next time it happens elsewhere in CI.~
Scratch that, right as I was throwing in the towel we have a flake!
Update: Investigating the flake showed that the epochs method returned only 3 descriptors with one descriptor different than the UTXOs method. On successful runs, the epochs method returns 4 descriptors. This is likely due to the looping approach that's removed in https://github.com/fedimint/fedimint/pull/5184 (see: https://github.com/fedimint/fedimint/pull/5184#discussion_r1586305505), which suggests the different descriptor is a spent output instead of the change output.
Still a mystery how this happened in the merge queue with the updates from https://github.com/fedimint/fedimint/pull/5184 that waits for the session outcome instead of polling the epochs method. Hopefully we'll catch it again with more context with these logs.
https://github.com/fedimint/fedimint/actions/runs/8928703168/job/24524832587?pr=5192#step:5:1288