ci: Merge fuzz task for macOS #32339

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2504-ci-merge changing 3 files +10 −35
  1. maflcko commented at 3:49 pm on April 24, 2025: member

    Currently macOS eats 2 CI tasks. This is fine, but not needed and duplicates compilation time and space requirements.

    Slim down the tasks into one to reduce the ccache footprint, as well as total compilation time.

    To give some numbers for the macOS task: It passed here in 29min (with an empty ccache), whereas on master, the times were 19min+14min=32min (https://github.com/bitcoin/bitcoin/actions/runs/14638899803/job/41076397151)

  2. DrahtBot commented at 3:49 pm on April 24, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32339.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #31802 (Add bitcoin-{node,gui} to release binaries for IPC by Sjors)
    • #31349 (ci: detect outbound internet traffic generated while running tests by vasild)
    • #30595 (kernel: Introduce initial C header API by TheCharlatan)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  3. DrahtBot added the label Tests on Apr 24, 2025
  4. dergoegge commented at 3:55 pm on April 24, 2025: member
    • Don’t these jobs run in parallel? i.e. how does this save time?
    • This requires changing the build type to Debug, do we really want that?
  5. maflcko commented at 4:16 pm on April 24, 2025: member

    Don’t these jobs run in parallel? i.e. how does this save time?

    The tasks don’t run in parallel, when the GHA limit is reached. However this should be rare. The time and space savings come from re-using build artefacts that can be shared between the fuzz binary and other binaries.

    It is true that the end-to-end duration of the combined task is now longer, albeit it being less than the sum of the times of the split tasks. I don’t think this is a concern, but no strong opinion.

    This requires changing the build type to Debug, do we really want that?

    I’d say yes, because the optimization flags are unchanged here. Enabling the extra debug checks seems reasonable for CI, as the risk would otherwise be that no one else is running them on the platforms.

  6. maflcko force-pushed on Apr 24, 2025
  7. ci: Merge fuzz task for macOS fa4333d06e
  8. maflcko renamed this:
    ci: Merge fuzz task for macOS and Windows
    ci: Merge fuzz task for macOS
    on Apr 24, 2025
  9. maflcko force-pushed on Apr 24, 2025
  10. maflcko commented at 6:57 pm on April 24, 2025: member
    (dropped the windows changes)
  11. maflcko commented at 5:59 pm on April 30, 2025: member
    Closing for now, but happy to re-open if there is any interest.
  12. maflcko closed this on Apr 30, 2025

  13. maflcko deleted the branch on Apr 30, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-05-05 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me