Skip to content
Snippets Groups Projects
  1. Apr 08, 2022
  2. Apr 07, 2022
    • Vladimír Čunát's avatar
      b091d3d0
    • Vladimír Čunát's avatar
      ci: fix ambiguous tag-sets · b0a3c721
      Vladimír Čunát authored
      In a few places the tag-set specification for jobs could match
      either amd64 or arm64 runners.  That non-determinism is bad,
      especially when passing platform-specific artifacts around.
      
      This is just a stop-gap measure.  Later we'll need to rethink our CI
      in terms of the two platforms.
      
      I didn't touch tag-sets with `condor`, as that will probably always be
      just a single machine (which coordinates scheduling on others).
      b0a3c721
  3. Apr 06, 2022
  4. Apr 04, 2022
  5. Mar 29, 2022
  6. Mar 21, 2022
  7. Mar 15, 2022
  8. Mar 14, 2022
  9. Mar 10, 2022
    • Vladimír Čunát's avatar
      lib/selection: improve randomness of ties · b9c2580e
      Vladimír Čunát authored
      The approach was dubious: random shuffle, qsort() and choose the first.
      The main functional problem was that qsort() isn't a stable sort,
      so the effect of pre-shuffling is not reliable, even though I don't have
      any evidence of this causing issues in practice.
      
      The new code should also be a bit more efficient in terms of CPU and
      consumed randomness, but that probably won't be noticeable.
      The arrays passed into select_transport() are now const (no sorting),
      which could make the code easier to "understand".
      b9c2580e
  10. Mar 09, 2022
  11. Mar 08, 2022