[CI] (P13 W5 S4): an include-closure probe keeps the record core clear of MG_Remote and the wire serializer.

This commit is contained in:
2026-10-06 13:13:39 -04:00
parent b1978890b4
commit 851251671c
2 changed files with 30 additions and 3 deletions
+2 -2
View File
@@ -2386,13 +2386,13 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y clang-20 libx11-dev
- name: Include-closure check and self-test
# --expect-probes 4 (contract-v2.md 7.6): an exit code cannot tell four probes from none,
# --expect-probes 5 (contract-v2.md 7.6; P13 W5 adds record-core): an exit code cannot tell five probes from none,
# so a --probe typo or a manifest edit that selected nothing would run zero probes and
# exit 0 - the second half of the finding that added the flag. The count is the length of
# scripts/check_include_closure.py's PROBES list and changing one means changing the other.
#
# Use the compiler selected for this runner's installed toolchain.
run: python3 scripts/check_include_closure.py --mode both --compiler "${MOBILEGL_CI_CXX}" --self-test --require-all --expect-probes 4
run: python3 scripts/check_include_closure.py --mode both --compiler "${MOBILEGL_CI_CXX}" --self-test --require-all --expect-probes 5
benchmark:
runs-on: ubuntu-latest