Skip to content

[P2][CI] Add deterministic Ruff and native sanitizer gates - #947

Merged
wangyinz merged 2 commits into
masterfrom
codex/issue-798-static-gates
Aug 25, 2026
Merged

wangyinz merged 2 commits into
masterfrom
codex/issue-798-static-gates

Conversation

@wangyinz

@wangyinz wangyinz commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add pinned Ruff 0.12.8 correctness checks
  • build and run the full native CTest suite under Release, ASan, and UBSan
  • add a stable aggregate check and strict policy regression tests
  • repair the two baseline test defects exposed by the new gates, without changing production behavior

Verification

  • independent agent review: PASS
  • Ruff exact full-tree command: PASS; baseline exposes 3 F821 errors
  • Release, ASan, and UBSan full CTest: 12/12 each
  • real ASan UAF/leak and UBSan overflow rejection: PASS
  • policy tests, actionlint, strict Sphinx, Black, py_compile, and diff check: PASS

The static-gates required branch-protection context must be added by an administrator only after this workflow is merged and proven on master. Issue #798 remains open until that external step is verified. This PR is not merged.

@codecov

codecov Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.34%. Comparing base (22b2406) to head (1cce41c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #947   +/-   ##
=======================================
  Coverage   74.34%   74.34%           
=======================================
  Files         183      183           
  Lines       36506    36506           
  Branches     2540     2540           
=======================================
+ Hits        27140    27141    +1     
+ Misses       8456     8455    -1     
  Partials      910      910           

☔ 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.

@wangyinz
wangyinz marked this pull request as draft August 14, 2026 06:00
@wangyinz
wangyinz marked this pull request as ready for review August 14, 2026 15:45
@wangyinz
wangyinz force-pushed the codex/issue-798-static-gates branch from 1a788f7 to 1cce41c Compare August 25, 2026 00:31
@wangyinz
wangyinz merged commit 9c511a1 into master Aug 25, 2026
21 checks passed
@wangyinz
wangyinz deleted the codex/issue-798-static-gates branch August 25, 2026 00:56
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