ci: Remove redundant RUN_UNIT_TESTS_SEQUENTIAL #33136

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2508-ci-slim-sequential changing 3 files +2 −8
  1. maflcko commented at 12:31 pm on August 5, 2025: member

    RUN_UNIT_TESTS_SEQUENTIAL is useful to detect cases where global state is left dirty in the test process and leads to subsequent unit test cases failing. However, one CI task is sufficient to catch this.

    As there already is one, add docs there and remove this env var (and extra logic).

  2. DrahtBot added the label Tests on Aug 5, 2025
  3. DrahtBot commented at 12:31 pm on August 5, 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/33136.

    Reviews

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

    Conflicts

    No conflicts as of last run.

  4. in .github/workflows/ci.yml:377 in faaeaba9ac outdated
    373@@ -374,7 +374,7 @@ jobs:
    374       - name: Run unit tests
    375         # Can't use ctest here like other jobs as we don't have a CMake build tree.
    376         run: |
    377-          ./bin/test_bitcoin.exe -l test_suite
    378+          ./bin/test_bitcoin.exe -l test_suite  # Intentionally run sequentially here, to catch test case failures caused by dirty global state from prior test cases.
    


    fanquake commented at 11:19 am on August 6, 2025:

    to catch test case failures caused by dirty global state from prior test cases.

    If the aim is to catch dirty state, should we run it in a job with the most unit tests? Windows cross-build is going to run less than Linux.


    maflcko commented at 11:27 am on August 6, 2025:

    I think it is always possible to miss unit tests that are not compiled. For the Windows ones, it should only be a few about windows paths, fork(), and socketpair, which seems fine to skip.

    If there is need to run it in another task, it can be done as a follow-up?

  5. DrahtBot added the label Needs rebase on Aug 7, 2025
  6. ci: Remove redundant RUN_UNIT_TESTS_SEQUENTIAL fa40da95e8
  7. maflcko force-pushed on Aug 7, 2025
  8. DrahtBot removed the label Needs rebase on Aug 7, 2025
  9. maflcko commented at 5:30 pm on August 7, 2025: member
    (trivial rebase)

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-08-12 09:13 UTC

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