Repository navigation
feat(ci-guard): Check 8c – bench source-vs-binary mismatch CI guard with actual build verification - #4669
Merged
makr-code merged 2 commits intoApr 15, 2026
Conversation
…ctual build verification - Update tools/check_bench_targets.py: in --build-dir mode, skip auto-registered (EXCLUDE_FROM_ALL) sources by default; add auto_reg_binary_skipped to JSON/text output; update function signature to 5-tuple return value - Update tools/bench_source_allowlist.toml: add 15 conditionally-gated benchmark sources (GPU/CUDA/HIP/Vulkan-gated and LLM-gated) that cannot be built without special hardware or third-party LLM runtime - Add bench-binary-guard job to 05-quality_build_bench-source-guard-ci.yml: builds all explicitly-wired benchmark targets (cmake -S cmake, no vcpkg), then runs check_bench_targets.py --build-dir to verify binaries are present; uploads JSON artifact with results; job summary with Check 8c pass/fail table - Update docs/ci-cd/workflows/05-quality/bench-source-guard-ci.md: document new Check 8c, binary verification table, Job 2 (bench-binary-guard) workflow - Mark PERFORMANCE_EXPECTATIONS.md Maßnahme #8 as ERLEDIGT" Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/26d2d8a9-9f61-41e7-9e8c-9f520012ac59 Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Copilot Request
feat(ci-guard): Check 8c – bench source-vs-binary mismatch CI guard with actual build verification
Apr 15, 2026
makr-code
marked this pull request as ready for review
April 15, 2026 18:58
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.
bench_*.cppsources existed without guaranteed built binaries in CI; only CMake target coverage (8a) and guard script presence (8b) were enforced. This adds Check 8c: an actual build + binary verification job.What changed
tools/check_bench_targets.pycheck_bench_targets()now returns a 5-tuple: addedauto_reg_binary_skipped(auto-registeredEXCLUDE_FROM_ALLsources intentionally absent from default build, not a CI error)--build-dirmode, only explicitly-wired (add_executable()) non-allowlisted sources are required to have binaries; auto-registered sources are informational--strictenforces binary presence for all sources (requires buildingthemis_benchmarks_all_eligible)format_text()andformat_json()surface the new list; JSON gainsauto_reg_binary_skippedincountstools/bench_source_allowlist.tomladd_executable()entries but are CMake-gated byTHEMIS_ENABLE_CUDA/HIP/GPU/LLM:bench_fused_kernels,bench_gpu_backends,bench_gpu_training_cycle,bench_mixed_precision_perf,bench_multi_gpu_scaling,bench_lora_gpu,bench_vulkan_lora,bench_fused_lora_kernelsbench_backend_comparison,bench_data_transfer,bench_gpu_vram_allocation,bench_llm_inference_performance,bench_lora_auto_binding,bench_multi_gpu_lora_advanced,bench_multi_lora_fusion.github/workflows/05-quality_build_bench-source-guard-ci.ymlbench-binary-guardjob (Job 2,needs: bench-source-guard, 45 min timeout):cmake,ninja,libbenchmark-dev,libssl-dev,libboost-all-dev,librocksdb-dev, etc.) — no vcpkgcmake -S cmakewithTHEMIS_BUILD_BENCHMARKS=ON,THEMIS_ENABLE_LLM/GPU/CUDA/GRPC=OFFcheck_bench_targets.py --build-dir→ exits 1 on any missing binarybench-binary-guard-results-<sha>.json; writes job summary with Check 8c pass/fail table and missing binary listdocs/ci-cd/workflows/05-quality/bench-source-guard-ci.mdPERFORMANCE_EXPECTATIONS.mdType of Change
Breaking Change Checklist
VERSIONandCMakeLists.txtdocs/migration/### Removed/### Changedsection updatedTesting
Verified locally:
check_bench_targets.py(no--build-dir): exit 0, 0 orphaned, 28 allowlisted, 72 auto-reg coveredcheck_bench_targets.py --build-dir <empty-dir>: exit 1, 71binary_missing(explicitly-wired), 72auto_reg_binary_skipped(EXCLUDE_FROM_ALL, informational only)auto_reg_binary_skipped_sourcesarray andauto_reg_binary_skippedcount📚 Research & Knowledge (wenn applicable)
/docs/research/angelegt?/docs/research/implementation_influence/eingetragen?Relevante Quellen:
Checklist
[Unreleased]