Repository navigation
test(core): kill the mutants the v0.24.0 gate reported as missed (#1766) - #1767
Merged
Merged
Conversation
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.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Killing tests for the mutants the v0.24.0 pre-release gate reported as missed (partial run, see #1766):
skill_packagelimits,UsageEvent::parse, the label bound,EmbedGate::in_flight, the repair path of an indexed skill, thesource_path/ownerrefresh, thevalidandcurrentflags, the rank formulas ofskill_searchin all three modes, skills without a vector,doc_list_children,DocSimilarQuery::embed_need, thedoc_searchmodes 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
cargo test -p uteke-core --lib.skill_package.rssubdirs.len() > MAX_SCAN_DIRS,>to==/>=) are equivalent, because each pushed subdirectory is also counted byscanned_dirs, which truncates at the same size.a_duplicate_report_compares_exactly_the_documents_limit_and_no_morebuilds 2000 documents and takes about 30 s in a debug build.Refs #1766