Skip to content

test(core): kill the mutants the v0.24.0 gate reported as missed (#1766) - #1767

Merged
ajianaz merged 1 commit into
developfrom
test/v0.24.0-gate-mutants
Nov 13, 2026
Merged

ajianaz merged 1 commit into
developfrom
test/v0.24.0-gate-mutants

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

What

Killing tests for the mutants the v0.24.0 pre-release gate reported as missed (partial run, see #1766): skill_package limits, UsageEvent::parse, the label bound, EmbedGate::in_flight, the repair path of an indexed skill, the source_path / owner refresh, the valid and current flags, the rank formulas of skill_search in all three modes, skills without a vector, doc_list_children, DocSimilarQuery::embed_need, the doc_search modes and the 2000-document bound of the duplicate report. Tests only.

Why

Owner rule: a missed mutant in changed code gets a killing test. The gate was not run to the end before this release (owner decision 2026-11-13); what it had found by then is covered here, the rest is tracked in #1766.

Testing

  • All new tests pass: cargo test -p uteke-core --lib.
  • Re-running only the reported mutants against the new tests: 15 of the first 17 are caught; the other 2 (skill_package.rs subdirs.len() > MAX_SCAN_DIRS, > to == / >=) are equivalent, because each pushed subdirectory is also counted by scanned_dirs, which truncates at the same size.
  • a_duplicate_report_compares_exactly_the_documents_limit_and_no_more builds 2000 documents and takes about 30 s in a debug build.

Refs #1766

Exact-value tests for the skill_package limits, UsageEvent::parse, the label bound, EmbedGate::in_flight, the repair of an indexed skill, the source_path and owner refresh, the valid and current flags, the rank formulas of skill_search, skills without a vector, doc_list_children, DocSimilarQuery::embed_need, the doc_search modes and the document bound of the duplicate report.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

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