Repository navigation
Conversation
2 tasks done
…tests artifact Split out from DeusData#3210 per maintainer review (Piece 5: CI-only items). Addresses both Piece 5 review items from DeusData#3210: - select-tests trust (scripts/ci/test-impact-bundle.sh, test-impact-artifact.yml, pr.yml): publish the main-built selection engine binary + SHA-256 receipt (engine.json) as artifact test-impact-engine-<sha> from test-impact-artifact.yml on main, and fetch/verify it in select-tests via test-impact-bundle.sh --fetch-engine using the same main-branch workflow-run provenance check as test-impact-<sha>. No actions/cache, no PR cache scope, and CBM_NO_CCACHE=1 on the clean base-tooling fallback build. - CodeQL alert wait (.github/workflows/codeql.yml): keep sleep 60 + sleep 15 completely untouched. Keep only blobless sparse checkouts, upload-database: !inputs.light, wait-for-processing: true, and ccache strictly scoped to the untraced --vendored-only prebuild (traced CodeQL build keeps CBM_NO_CCACHE=1). Smoke & CI provisioning speedups: - scripts/smoke-test.sh, smoke-local.sh, smoke-wrappers.sh: fix Phase 15 300 s hang on non-UI PR smoke builds (track/kill stdin-holder sleep PID + 30 s wall-clock deadline + bounded curl timeouts + stderr early-exit), keep daemon warm across Phases 3b-5, use CoW binary copies, drop dead retired-install copy, use COPYFILE_DISABLE=1 GZIP=-1 for local tarball, and run wrapper suites in parallel. - .github/workflows/_lint.yml, _memwaste.yml, _test.yml, cache-warm.yml: add blobless sparse checkouts skipping unused vendored grammars/tools/graph-ui, merge duplicate apt-get updates, add npm cache + IPv4 DNS order on test-ui, add Homebrew bottle cache / HOMEBREW_NO_AUTO_UPDATE=1 on macOS legs, wire ccache into report-only _memwaste.yml, and warm cbm TEST_SEAMS=1 (2500M) in cache-warm.yml. Signed-off-by: Guillaume Demay <guillaumedemay@hotmail.fr>
GDemay
force-pushed
the
perf/ci-smoke-sparse-and-select-artifact
branch
from
December 6, 2026 19:20
48304fd to
7c0ac7f
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR authored with AI assistance on behalf of @GDemay; the commit carries Guillaume's DCO sign-off.
What does this PR do?
Split out from #3210 per maintainer review (Piece 5: CI-only items). Standalone on
main, incorporating both Piece 5 review points from #3210:Maintainer review items addressed directly
select-teststrust boundary (scripts/ci/test-impact-bundle.sh,.github/workflows/test-impact-artifact.yml,.github/workflows/pr.yml):test-impact-artifact.yml(main-branch producer onubuntu-24.04) now also publishes themain-builtcodebase-memory-mcpbinary and anengine.json({"commit":"<sha>","sha256":"<hex>"}) astest-impact-engine-${{ github.sha }}.scripts/ci/test-impact-bundle.sh --fetch-engine SHA DIRfetchestest-impact-engine-<sha>using the exact samegh apimain-branch workflow-run provenance check as--fetch(head_sha == SHA,head_branch == "main",repository.full_name == REPO,event in (push, schedule, workflow_dispatch)), then verifies bothengine.json.commit == SHAand the binary's SHA-256 before making it executable (failing closed with exit 3 and removing the binary on any mismatch).pr.ymlselect-testsfetches into$RUNNER_TEMP/base-tooling/build/c— noactions/cache, no PR cache scope, andCBM_NO_CCACHE: "1"on the clean base-tooling fallback build when nomainartifact exists yet..github/workflows/codeql.yml):sleep 60+sleep 15completely untouched per review.!/tools/forc-cpp,!/internal/cbm/vendored/ !/tools/for non-C),upload-database: ${{ !inputs.light }},wait-for-processing: true, andccachescoped strictly to the untraced--vendored-onlyprebuild (CBM_NO_CCACHE: "0"on that single step while job-levelCBM_NO_CCACHE: "1"stays enforced for the traced CodeQL build).Smoke & workflow provisioning speedups
scripts/smoke-test.sh,scripts/smoke-local.sh,scripts/smoke-wrappers.sh:COPYFILE_DISABLE=1 GZIP=-1for local tarballs, and run wrapper suites in parallel..github/workflows/_lint.yml,_memwaste.yml,_test.yml,cache-warm.yml:apt-get updatecalls, add npm cache +NODE_OPTIONS=--dns-result-order=ipv4firstontest-ui, add Homebrew bottle cache +HOMEBREW_NO_AUTO_UPDATE=1on macOS legs, wire content-verifiedccacheinto report-only_memwaste.yml, and warmcbm TEST_SEAMS=1(2500M) incache-warm.yml.Local Verification (Apple M3,
darwin/arm64)ghprovenance & SHA-256 proofs onscripts/ci/test-impact-bundle.sh --fetch-engine:mainrun + matchingcommit+ matchingsha256→ exit 0, executable binary ✅engine.json→ exit 3, binary removed (fail-closed) ✅mainrun → exit 3 (triggers cleanCBM_NO_CCACHE=1fallback build) ✅sleep 60andsleep 15remain untouched in.github/workflows/codeql.yml.test_venue_parity_contract.sh,test_lane_wiring_contract.sh,test_lane_gate_contract.sh,test_select_lanes.sh,test_smoke_fixture_contract.sh,test_script_exec_bit_contract.sh,test_shell_line_endings.sh,check-dco.sh,bash -n, andyaml.safe_loadacross all 7 modified workflow files.Checklist
git commit -s)