Skip to content

Fix the mutation gate after parser plugin support - #271

Open
tob-scott-a wants to merge 2 commits into
mainfrom
codex/main-plugin-mutation-fix
Open

tob-scott-a wants to merge 2 commits into
mainfrom
codex/main-plugin-mutation-fix

Conversation

@tob-scott-a

@tob-scott-a tob-scott-a commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Restore the mutation gate after parser-plugin support (#270):

  • Check exception profiles when a C/C++ plugin is named python. The built-in Python frontend must retain its partial profile while plugin frontends remain unverified. This kills the real and → or survivor.
  • Refresh exactly two existing exemptions for private fields in CodeGraph's debug representation. Both declarations and their consumers are unchanged. Reconstructing the exact mutations confirms that they toggle repr, while equality mutations remain gated. The new exception-support method changed the enclosing module fingerprint.

Validation: 319 focused model, plugin, exception, snapshot and mutation-gate tests pass (one optional skip); Ruff and ty pass. The repository mutation runner kills the exception-profile survivor with the new [python] case. The focused graph.py mutation gates pass for shards 1/32 and 3/32. The full hosted mutation campaign now passes all 32 shards and its aggregate gate on head e24650db89cdf27a7c39994f700ce15ea4b4034e: https://github.com/trailofbits/trailmark/actions/runs/46945976726. All completed PR checks pass; GitHub’s separate CodeQL summary remains queued.

Main failures: https://github.com/trailofbits/trailmark/actions/runs/46934031966

@tob-scott-a tob-scott-a changed the title Cover exception profiles for mixed parser backends Fix the mutation gate after parser plugin support Dec 2, 2026

This branch has not been deployed

No deployments
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