Skip to content

Fix MSan canary census and unavailable-instrumentation reporting - #570

Merged
Krilliac merged 1 commit into
Workingfrom
fix/msan-canary-census
Sep 12, 2026
Merged

Krilliac merged 1 commit into
Workingfrom
fix/msan-canary-census

Conversation

@Krilliac

@Krilliac Krilliac commented Sep 7, 2026

Copy link
Copy Markdown
Owner

The instrumented-libc++ PR (#568) adds sanitizer harness canaries that the source census currently rejects as new mirror tests. On non-MSan builds they also report fabricated passes.

Classify this exact canary file as a harness test and explicitly skip both tests when MSan instrumentation is unavailable. The instrumented branches and their shadow-memory assertions remain unchanged.

Validation: census check passes (7,263 registered tests); actual non-MSan canary harness reports 2 registered, 2 skipped, 0 passed assertions (before: 0 skipped and 2 passed assertions); documentation generators and whitespace checks pass. Independent source review found no issues. An instrumented MSan run is still required; this does not certify #568 or the release.

This companion PR targets #568 so its runtime changes can retain their own validation and review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T01:30:23.299042Z aec29db PR opened
🔒 Security Review Completed 2026-09-07T01:30:32.110206Z aec29db PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aec29db6aa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"Tests/TestRunnerSemanticsReal.cpp",
# Verifies the sanitizer harness and instrumented C++ runtime, not a
# test-local copy of engine behavior. Non-MSan builds explicitly skip it.
"Tests/TestMSanCanary.cpp",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep MSan canaries out of production-source totals

Classifying this file as production-source makes its two tests contribute to the blocking minimumProductionSourceTests census, even though non-MSan builds now skip them and MSan builds exercise compiler instrumentation and libc++, not SparkEngine production source or a packaged binary. This overstates shipped-code coverage and can mask the removal of real production tests near the ratchet floor; classify infrastructure canaries separately rather than counting them as production-source tests.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

⏳ CodeQL Report Pending

The pull-request head changed. Results from earlier commits do not apply while the new head is being scanned.

Current PR head: aec29db6aaa214890e20c1d39abea6f5809b1755

Base automatically changed from claude/ci-msan-instrumented-libcxx to Working September 12, 2026 14:05
@Krilliac
Krilliac merged commit 6c332e9 into Working Sep 12, 2026
4 checks passed
@Krilliac
Krilliac deleted the fix/msan-canary-census branch September 12, 2026 14:05
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