Skip to content

Fix CI: swap unreachable cmocka + bazel-key URLs - #436

Merged
PJK merged 2 commits into
masterfrom
fix-ci-external-sources
Aug 22, 2026
Merged

Fix CI: swap unreachable cmocka + bazel-key URLs#436
PJK merged 2 commits into
masterfrom
fix-ci-external-sources

Conversation

@PJK

@PJK PJK commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

Two upstream services broke, failing 6 CircleCI jobs on any branch built recently.

  • cmocka source (git.cryptomilk.org) is unreachable from CircleCI runners — HTTPS connect times out after 21–135 s. Affects build-and-test-{win,32b,mips,mipsel,riscv64}. Switching to https://github.com/clibs/cmocka.git, a mirror that carries the same cmocka-1.1.5 tag the config already pins to.
  • Bazel signing keyhttps://bazel.build/bazel-release.pub.gpg now returns 404 (they moved key hosting). Fetching from https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg instead, which is Bazel's canonical apt-repo key location.

Same class of infra rot as #435 (codecov orb). No functional change to the library or tests.

Test plan

  • All CircleCI jobs green on this branch

PJK and others added 2 commits August 22, 2026 21:39
Two upstream services broke, failing 6 CircleCI jobs on any branch:

- git.cryptomilk.org (cmocka origin) is unreachable from CircleCI
  runners: HTTPS connect times out after 21-135s. Affects
  build-and-test-{win,32b,mips,mipsel,riscv64}. Point at the
  https://github.com/clibs/cmocka mirror instead, which carries the
  same cmocka-1.1.5 tag the config already pins to.

- https://bazel.build/bazel-release.pub.gpg now returns 404 (Bazel
  moved key hosting). Fetch from
  https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg instead,
  which is Bazel's canonical apt-repo key location.

Same class of infra rot as #435 (codecov). No functional change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The clibs/cmocka mirror carries newer commits than cryptomilk's HEAD
did when these clone commands were originally written. Recent cmocka
headers reference int32_t / intmax_t without a stdint include, which
fails compilation on the older toolchains we cross-build with, e.g.:

  /usr/local/include/cmocka.h:2369: error: unknown type name 'int32_t'

The Windows job already pins to cmocka-1.1.5; do the same for the
dockercross and 32-bit jobs to remove HEAD-tracking flakiness across
CI runs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.94%. Comparing base (d436c40) to head (d4e62ea).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
+ Coverage   99.82%   99.94%   +0.11%     
==========================================
  Files          20       20              
  Lines        1762     1762              
  Branches      224      224              
==========================================
+ Hits         1759     1761       +2     
+ Misses          3        1       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PJK
PJK merged commit 3ce94a5 into master Aug 22, 2026
17 checks passed
@PJK
PJK deleted the fix-ci-external-sources branch August 22, 2026 21:19
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