Skip to content

ci(oracles): run the mutant-validity oracle in CI - #24

Merged
KyleAMathews merged 1 commit into
mainfrom
fix/run-validity-oracle-in-ci
Nov 11, 2026
Merged

KyleAMathews merged 1 commit into
mainfrom
fix/run-validity-oracle-in-ci

Conversation

@KyleAMathews

Copy link
Copy Markdown
Contributor

CI now runs the mutant-validity oracle. Before this change, CI never checked that each mutant the gap CLI emits is detectable, and that each skipped one is not.

Why it matters

The CI workflow runs pnpm --filter @tanstack/oracles run test:oracle-gaps:fast. That script named the static, classify, and probe-form oracles, but not the mutant-validity oracle from #8. A change to the emitter could skip a detectable mutant, or emit one that no input detects, and CI would stay green. A review of the held F11 work found the gap.

What changes

test:oracle-gaps:fast now also runs gap-report-mutant-validity.

Evidence

  • The four fast oracles pass locally, 31,249 tests in about 62 s at 2 workers.
  • No production code changes.

Limits

CI still does not run the end-to-end gap oracle (gap-report-oracle.property). It takes about 30 minutes, so authors run it locally with its fixed seed. Whether CI should run it is a separate decision for the maintainer.

This pull request and its description were written by Isaac.

CI runs `test:oracle-gaps:fast`, which named the static, classify, and
probe-form oracles but not the mutant-validity oracle (#8). So CI never
checked that every emitted mutant is detectable and every skipped one is not.
The fast script now includes it. The four fast oracles take about 62 s
locally at 2 workers (31,249 tests).

Co-authored-by: Isaac <no-reply@databricks.com>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e8915f13-3481-4449-aaf9-31a71c31d4ed
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@changeset-bot

changeset-bot Bot commented Nov 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f4cd025

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/TanStack/oracles/@tanstack/eslint-plugin-oracles@24
npm i https://pkg.pr.new/TanStack/oracles/@tanstack/oracles@24

commit: f4cd025

@KyleAMathews
KyleAMathews merged commit 0d5c099 into main Nov 11, 2026
8 checks passed
@KyleAMathews
KyleAMathews deleted the fix/run-validity-oracle-in-ci branch November 11, 2026 10:06
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