Repository navigation
Adapt core #837 refactors to current main with safe SIOF fixes, audit integration, and build-flag cleanup - #891
Conversation
robertlipe
left a comment
There was a problem hiding this comment.
Making the audits optional means that they're going to be ignored by submitters and will thus just continue to decay. I don't know why you worked so hard to NOT just turn it on and leave it on. "Those smoke detectors keep going off. Let's remove the batteries."
This PR is still a solid improvement as far as it goes. Thanx.
rbergen
left a comment
There was a problem hiding this comment.
Audits will be enforced in CI soon as I indicated in the PR description, and there is a reason for making that a two-step process, which relates to a smooth adoption in the broader context.
As for the ability to make them not abort the build locally, that relates to different people preferring different development workflows. Which is fine - in the end CI will decide what passes the gauntlet and what doesn't.
In any case, thanks for your review!
Summary
This PR ports the safe, high-value intent of #837 onto the current main branch state.
It includes five focused commits (followed by a clean-up one) that:
Relationship to #837: What Was Implemented
The following concepts from #837 are implemented in this PR, adapted to the current main codebase:
Static initialization safety improvements
Build-time coding-standard auditing
Include/dependency hygiene and build-flag cleanup
Implementation Deviations from #837 (Beyond Branch Drift)
These are intentional deviations from #837 itself, not just consequences of old-base drift:
Effect resource ownership model
Audit enforcement policy
What Was Not Included from #837, and Why
Allocator-policy cleanup changes
Additional runtime behavior tweaks bundled with janitorial edits
Old-base environment/config churn
Validation
Notes
Contributing requirements
mainas the target branch.