Skip to content
Snippets Groups Projects
  1. Nov 13, 2024
  2. Nov 09, 2024
  3. Nov 10, 2024
  4. Nov 12, 2024
  5. Nov 10, 2024
  6. Nov 09, 2024
  7. Nov 10, 2024
  8. Nov 09, 2024
  9. Nov 10, 2024
  10. Nov 11, 2024
  11. Nov 12, 2024
  12. Nov 09, 2024
  13. Nov 11, 2024
  14. Nov 09, 2024
  15. Nov 08, 2024
  16. Nov 12, 2024
    • Raphaël Gomès's avatar
      rust-update: handle SIGINT from long-running update threads · 96b113d22b34
      Raphaël Gomès authored
      The current code does not respond to ^C until after the Rust bit is finished
      doing its work. This is expected, since Rust holds the GIL for the duration
      of the call and does not call `PyErr_CheckSignals`. Freeing the GIL to do our
      work does not really improve anything since the Rust threads are still going,
      and the only way of cancelling a thread is by making it cooperate.
      
      So we do the following:
      	- remember the SIGINT handler in hg-cpython and reset it after the call
      	  into core (see inline comment in `update.rs` about this)
      	- make all update threads watch for a global `AtomicBool` being `true`,
      	  and if so stop their work
      	- reset the global bool and exit early (i.e. before writing the dirstate)
      	- raise SIGINT from `hg-cpython` if update returns `InterruptReceived`
      96b113d22b34
  17. Nov 08, 2024
    • Pierre-Yves David's avatar
      ci: shard the test run on mac os X · fa58f4f97337
      Pierre-Yves David authored
      This should comes with some benefit:
      - spread the load across more runner,
      - reduce the real-time CI run,
      - reduce the "retry" run when we need them.
      
      We start with the Mac jobs, but that would be tremendously useful for Windows
      too.
      
      For linux, we need to reduce the startup overhead for this to be worth it.
      Building smaller image and speeding up clone should help with that.
      fa58f4f97337
  18. Sep 21, 2022
  19. Nov 08, 2024
  20. Oct 28, 2024
  21. Nov 08, 2024
    • Pierre-Yves David's avatar
      ci: rationalize variable usage · b3d6afa6ebbf
      Pierre-Yves David authored
      The usage of "extends" allow to skip a lot of duplication. We also introduce
      more fine grained variables to help finer override.
      b3d6afa6ebbf
    • Pierre-Yves David's avatar
      ci: move some variables closer to their usage · 74a9fbc1b574
      Pierre-Yves David authored
      These were defined globaly because we had trouble making them inherited. This
      is now fixed, so we can get them were they belong.
      74a9fbc1b574
    • Pierre-Yves David's avatar
      ci: use extends instead of <<: *x · 75bc7557e49f
      Pierre-Yves David authored
      The old form is a yaml construct that make it hard to share variable definition.
      
      The "extends:" key is a gitlab specific that preserve the variable definition
      and just add the new ones. This will help us to reduce duplication.
      
      This has the effect of fixing some of variants definition we though we set while
      we did actually not. Most notably, the "rust" variant for 3.12 and 3.13 seems
      fully broken in the CI (possibly because some rust-cpython version issue?).
      
      This changeset only reveal such breackage and does not introduce them.
      75bc7557e49f
  22. Nov 07, 2024
  23. Oct 15, 2024
  24. Nov 08, 2024
  25. Nov 07, 2024
  26. Nov 08, 2024
  27. Nov 06, 2024
Loading