Repository navigation
feat(governance): Disabled-Stub-Policy für Benchmarks einführen - #4636
Merged
Merged
Conversation
- Add docs/governance/DISABLED_STUB_POLICY.md with policy rules and template - Add tools/check_disabled_stubs.py standalone CI guard (exit 1 on violations) - Add .github/workflows/05-quality_build_disabled-stub-policy-ci.yml workflow - Annotate benchmark_phase2.cpp with missing Deadline + Issue reference - Update perf_expectations_audit.py: M9 now erledigt=True when compliant - Update perf_coverage_top10_audit.py: M09 checks for policy doc + CI guard Closes #5 (Disabled-Stub-Policy für Benchmarks einführen) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/8286984e-d2b9-463e-b23c-215d4a9ef19a Co-authored-by: makr-code <[email protected]>
Copilot
AI
changed the title
[WIP] Implement disabled-stub-policy for benchmarks
feat(governance): Disabled-Stub-Policy für Benchmarks einführen
Apr 13, 2026
makr-code
marked this pull request as ready for review
April 13, 2026 18:13
makr-code
added a commit
that referenced
this pull request
Apr 14, 2026
* Initial plan * feat(governance): introduce Disabled-Stub-Policy for benchmarks - Add docs/governance/DISABLED_STUB_POLICY.md with policy rules and template - Add tools/check_disabled_stubs.py standalone CI guard (exit 1 on violations) - Add .github/workflows/05-quality_build_disabled-stub-policy-ci.yml workflow - Annotate benchmark_phase2.cpp with missing Deadline + Issue reference - Update perf_expectations_audit.py: M9 now erledigt=True when compliant - Update perf_coverage_top10_audit.py: M09 checks for policy doc + CI guard Closes #5 (Disabled-Stub-Policy für Benchmarks einführen) Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/8286984e-d2b9-463e-b23c-215d4a9ef19a Co-authored-by: makr-code <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: makr-code <[email protected]>
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.
Enforces a governance rule that every
BENCHMARK(BM_*_Disabled)stub must carry a deadline and issue reference — no more unbounded disabled stubs silently rotting in the codebase.Changes
Policy Document
docs/governance/DISABLED_STUB_POLICY.md— defines the rule, max-lifetime constraint (1 release), and the canonical copy-paste template:Annotation Fix
benchmarks/performance_optimizations/phase2/benchmark_phase2.cpp— sole file missing the required annotation; addedDeadline: v2.1.0 | Issue: #5toBENCHMARK(BM_Phase2_Disabled).CI Guard
tools/check_disabled_stubs.py— standalone linter; exits1if anyBENCHMARK(BM_*_Disabled)lacks both a deadline and an issue reference within 300-char context. Runs against allbenchmarks/**/*.cpp..github/workflows/05-quality_build_disabled-stub-policy-ci.yml— triggers the guard on PRs/pushes that touchbenchmarks/**.Audit Tool Updates
tools/perf_coverage_top10_audit.pyM09 — extended to verifydocs/governance/DISABLED_STUB_POLICY.mdandtools/check_disabled_stubs.pyboth exist; tightened compliance check to require both deadline and issue (previouslyor).tools/perf_expectations_audit.pyM9 —erledigtnow set dynamically toTruewhen all stubs are compliant; updates status note to reference the policy doc and CI guard.All 22 existing disabled stubs pass.
perf_expectations_audit.pyreports M9 ✅ PASS [ERLEDIGT].Linked Issues
Type of Change
Breaking Change Checklist
VERSIONandCMakeLists.txtdocs/migration/### Removed/### Changedsection updatedTesting
📚 Research & Knowledge (wenn applicable)
/docs/research/angelegt?/docs/research/implementation_influence/eingetragen?Relevante Quellen:
Checklist
[Unreleased]