Skip to content

CI: cap the native sanitizer jobs and check the tools they actually use - #63

Merged
Gajesh2007 merged 1 commit into
mainfrom
ci/sanitizer-timeout-preflight
Nov 14, 2026
Merged

Gajesh2007 merged 1 commit into
mainfrom
ci/sanitizer-timeout-preflight

Conversation

@Gajesh2007

Copy link
Copy Markdown
Member

Follow-up to #62's independent review (no behaviour change for passing runs):

  • Timeout. The ASAN/UBSAN jobs now have timeout-minutes: 60. They were the only Darkbloom jobs without a cap, so a hung run could hold a 4 vCPU / 16 GiB sandbox for GitHub's 6-hour default. ASAN takes about 22 minutes natively.
  • Preflight. It now checks cc, c++, clang, make and git each by --version:
    • The build actually uses cc/c++ (GCC 13.3 on the image), because CMake ignores the script's CMAKE_*_COMPILER environment exports.
    • The old command -v make git succeeded if either tool was present.
  • fork.yaml. Drops the two workflow globs, which forkdiff never shows because those files are globally ignored, and words the Fedora note plainly.

The sanitizer script and matrix are unchanged.

🤖 Generated with Claude Code

Follow-up to #62's review:
- The ASAN/UBSAN jobs are the only Darkbloom jobs without timeout-minutes;
  a hung run could hold a 4 vCPU / 16 GiB sandbox for GitHub's 6-hour
  default. Cap them at 60 minutes (ASAN takes about 22 natively).
- The preflight checked clang, but the script's CMAKE_*_COMPILER exports
  are ignored by CMake, so the build uses cc/c++ (GCC 13.3 on the image);
  and `command -v make git` succeeds when either exists. Check cc, c++,
  clang, make and git each by version.
- fork.yaml: drop the two workflow globs that forkdiff never shows (the
  files are in the global ignore list), and say plainly that the Fedora
  jobs stay on GitHub-hosted runners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gajesh2007
Gajesh2007 marked this pull request as ready for review November 14, 2026 04:35
@Gajesh2007
Gajesh2007 merged commit 96877ea into main Nov 14, 2026
28 of 30 checks passed
Gajesh2007 added a commit that referenced this pull request Nov 14, 2026
astral-sh/setup-uv aborts its download after about five seconds. Behind a
Darkbloom sandbox's egress proxy the connection sometimes takes longer: on
2026-11-14 python-cpu (2) of #63 and python-cpu (0) of main 96877ea failed
in the setup action ("The operation was aborted due to timeout", 5.1 s),
which failed the whole Fork Tests run; native jobs have no hosted fallback.
Let the first try fail without failing the action, and only then wait 15
seconds and run the same pinned setup-uv once more. A second failure fails
the step as before.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant