8000 test: close more surviving mutants from the untangle run by aorumbayev · Pull Request #131 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

test: close more surviving mutants from the untangle run - #131

Merged
aorumbayev merged 23 commits into
mainfrom
feat/mutants-remaining
Nov 11, 2026
Merged

aorumbayev merged 23 commits into
mainfrom
feat/mutants-remaining

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

Branch feat/mutants-remaining.

Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.

A revision that starts with a dash is refused, and a saved screen keeps
at most four mebibytes. Both were unpinned, so a mutant on either one
survived the mutation run.
The view's line counts, hunks and new-side text were not asserted, so a
mutant that drops any one of them survived the mutation run.
…ts view

A tracked file git reads as binary, a text file with a NUL past the first
8000 bytes, and a file over the size limit each set their flag and drop the
hunks and text. None of this was asserted for tracked files.
parse_numstat reports zero added and removed lines for a binary file, and an
empty view has zero too, so the early return's counts were always zero.
… its review

The working-tree snapshot already marks binary and large files as skipped, so
the test for them has to review a commit to reach the diff view code.
… folder lines

The cursor rule line must start on its own line in an empty or partial
exclude file. A bare root line and a nested path must both be kept.
…een states

An unknown approval option must be refused. A plugin question is not one a
person must answer. A crashed program has no end and needs no recovery; a
finished program does not need recovery and is not bound by a snapshot. A
program that left an omitted screen does need recovery.
The quit waits until no thread is running and no screen is unsaved. The old
test waited for the save before it awaited the quit, so it could not see an
early return.
…he send cap is inclusive

Select and copy return the selected text. A report reaches a running program,
and a resize or report to a stopped one does nothing. Send accepts text of
exactly the cap.
…al ends none

A paste into a busy parent holds a child's line, as typing does. A run with no
extra terminal open releases none.
…has its own phrase, and a log tail ignores older lines

A 300-character description is kept and 301 is refused. Each area's power
phrase is its own text. The log tail counts only the last 64 KiB, so a warning
before it is not counted. The Linux clipboard refuses a PNG.
…d the main window has a minimum size

The About window and the start-failed window cannot be resized or minimized and
keep their titles and bounds. The main window keeps a minimum size. The two
window builders are now functions that tests can call.
Under a full run the quit's three-second deadline fired while the real shell was
still stopping, so the test waited on a fixed clock step. It now polls until the
quit task is ready.
The product file was over the size budget, and the repo keeps its tests in
*_test.rs files, which the budget does not count.
…st takes its options

An ask with fields keeps them, and a null field list gives none. A list reads the
options it is given and falls back to its defaults when it has none.
…etry

The retry was excluded as needing a live WebKit store. The remove hook covers it,
so the test runs the retry with a store left behind and checks the folder goes.
…a held screen save keeps the quit waiting

The grace test now advances exactly ten seconds and checks the thread is stopping
at that instant. A held screen save keeps the quit from saving until released.
…e test

The window module goes back to private. The minimum size assertion sits in the
start test that already reads the same window options.
…dy covers

The earlier Linux test goes through the public write path and already fails when
write_png returns Ok.
The orphan retry has a test now, and the sweep is caught at the exact grace
instant. The shown_text exclude is pinned to its line and column.
Resolve the About and start-failed windows to main's prepare_window and presentation
activation, keeping their options functions crate-visible for the window tests.
@aorumbayev
aorumbayev merged commit dc7a645 into main Nov 11, 2026
35 of 37 checks passed
@aorumbayev
aorumbayev deleted the feat/mutants-remaining branch November 11, 2026 13:30
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

0