Skip to content

Keep the kernel's memory-kill record when an integration test run fails - #117104

Merged
alexey-milovidov merged 5 commits into
ClickHouse:masterfrom
groeneai:keep-dmesg-for-failed-integration-runs
Aug 30, 2026
Merged

alexey-milovidov merged 5 commits into
ClickHouse:masterfrom
groeneai:keep-dmesg-for-failed-integration-runs

Conversation

@groeneai

@groeneai groeneai commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Integration test jobs now keep and print the kernel's dmesg memory-kill record when a run reports a failing test or a job error, not only when a cgroup counter fired.

Description

Six integration runs in five hours on 2026-08-29, two on plain master, lost a server node in
test_s3_plain_rewritable on the amd_asan_ubsan, db disk, old analyzer, 6/6 shard. The test only
sees Code: 210 ... Connection refused, and one run's dead node dropped 103 downstream jobs. I
cannot say what killed it: the run throws away the one record that could, dmesg.

The job already dumps dmesg to ./ci/tmp/dmesg.log, but attaches it only when a cgroup leaf's
counter fired or a host OOM matched. The runners are cgroup v1, where a memcg OOM is charged to the
KILLED TASK's cgroup, so a container kill moves none of those counters. Measured on real kernel text
for such a kill, all four predicates return nothing. The failing job's result carries files: []
and no kill text.

This attaches the dump, when it exists, on any run reporting a failing test, a job error, an empty
harness run, or a bugfix validation aborted by infrastructure, and prints the kernel's memory-kill
lines, reusing the timeout path's printer. A flaky or targeted run that only ran out of its time
budget keeps nothing: the synthetic session-timeout row does not count. No verdict changes: no new
result row, no status change, no product code. I do not claim these deaths were out-of-memory kills;
the kernel's answer is unrecoverable.

I did not reproduce the kill: it depends on co-tenancy inside a 40.78 GiB cgroup, and CI's retry of
the four tests passed in 103 s. Validation is a throwaway harness, as .claude/CLAUDE.md prescribes
for CI-script changes: it executes the real gate expression and pins it both ways. I proved
print_timeout_diagnostics byte-identical after the extraction and reran
test_memory_limit_observer (which tolerates a container OOM by design) and
test_s3_plain_rewritable.

No related open issue. Provenance: failing job, report, master hit.


Workflow [PR]
Sync PR [sync-upstream/pr/117104]

Version info

  • Merged into: 26.9.1.385 (included in 26.9 and later)

groeneai and others added 3 commits August 29, 2026 21:20
An integration run that loses a server node reports only
`Code: 210 ... Connection refused`, with nothing anywhere saying what happened
to the process. Six runs in five hours on 2026-08-29, two of them on plain
master, lost `node1` that way in `test_s3_plain_rewritable` on the
`amd_asan_ubsan, db disk, old analyzer, 6/6` shard, and on one of them the dead
node dropped 103 downstream jobs.

The job already dumps dmesg to `./ci/tmp/dmesg.log`, then attaches it only when
a cgroup leaf's own counter fired or a host OOM pattern matched. The runners are
cgroup v1, where a memcg OOM is charged to the KILLED TASK's cgroup, so a kill
inside a test container moves none of those counters and matches neither host
pattern. Measured on verbatim kernel text for such a kill (a real
`oom-kill:constraint=CONSTRAINT_MEMCG` line whose `oom_memcg` equals its
`task_memcg`), all four existing predicates return nothing: `leaf_oom_report`
gives `([], False)`, `dind_leaf_oom_in_dmesg` gives an empty set,
`job_cgroup_oom` is false, and `HOST_OOM_DMESG_PATTERNS` does not match, while
the same code does fire on a real `CONSTRAINT_NONE` global kill. So the dump is
written and discarded: the failing job's result carries `files: []` and its
448 KB log holds no kill text at all.

Attach the dump on any failing run where it exists, and print the kernel's
memory-kill lines there by reusing the printer that until now was reachable only
from the timeout path. `attach_dmesg` stays a disjunct because a host OOM on an
uncleared buffer sets it without producing any result row.

Two details worth recording rather than commenting in place:

- A missing path is no longer attached. Previously a leaf counter could set
  `attach_dmesg` while the dump command had failed, and `Result` upload turns an
  absent file into `WARNING: File [...] was not found` written into the job's
  own `info`. This narrows one cell of the old behaviour deliberately; the
  superset property over the failure classes is preserved.
- `print_oom_lines` selects the `oom-kill:` line, which names the victim task
  and pid, but not the `Memory cgroup out of memory: Killed process ...` line
  that carries the RSS, because `OOM_DMESG_MARKERS` holds `Out of memory:` with
  a capital O and the cgroup variant is lower case. That line is in the attached
  dump. Widening the marker set would change the timeout path's output, so it is
  left alone here.

No verdict changes: no new result row, no status change, no test or product
code, no job scheduling and no cache key. This does not claim the deaths were
out-of-memory kills; it makes the kernel's answer recoverable.

Co-Authored-By: Claude Opus 5 <[email protected]>
…esults

The attach trigger missed one reachable failure shape. A pytest ERROR sets
`has_error` only when the check is neither targeted nor flaky, so on those two
kinds a run that produced no test rows at all left `attach_dmesg`, `has_error`
and the result-row scan all False, while the job was still reported ERROR
through `empty_harness_failure`. The dump existed and was discarded, in the one
shape where the kernel record is the only evidence available: zero pytest rows
means the harness itself died, so a kill of the pytest process is a leading
candidate and nothing else in the report can speak to it.

The predicate is inlined at the gate rather than shared with the
`empty_harness_failure` computed further down, which would have been the
tidier arrangement. Sharing it requires moving `pytest_has_results` up as
well, and that name is also read by `is_empty_best_effort_skip`, where it is
deliberately captured after the synthetic `Timeout` row has been filtered out.
Measured over nine arms, on two of them (a flaky or targeted check that timed
out having produced only that row) the earlier capture flips
`empty_best_effort` from True to False; `test_results` is empty by then and no
status is forced, so `create_from` would default to ERROR and a best-effort
SKIPPED run would turn red. This change must not move a verdict, so the
predicate stays where it can only be read. It is asserted equal to
`empty_harness_failure` on all nine arms.

Co-Authored-By: Claude Opus 5 <[email protected]>
… an infrastructure error

A bugfix-validation run whose only failing test matched an infrastructure
pattern still discarded the kernel's memory-kill record, which is the one
shape where that record is the only evidence available.

Such a run reaches a non-OK status without ever satisfying the attach gate.
A pytest session-level FAIL does not set has_error, because that assignment
reacts to is_error() only. _mark_infrastructure_errors then sets the failing
child to SKIPPED and labels it INFRA, and SKIPPED is is_ok(), so no row is
left non-OK either. The run is neither flaky nor targeted, and a kill inside
a test container moves no cgroup leaf counter on cgroup v1, so neither of the
remaining disjuncts fires. had_infra_or_error is nevertheless true off the
INFRA label alone, and the run is reported ERROR. That is exactly the client
error a killed container produces, so the relabeled row cannot say whether
the kernel killed the server or docker merely hiccuped.

Add a fifth disjunct mirroring had_infra_or_error, and hoist the
bugfix-label test, which was written out inline twice, into one local so the
gate and the reporting site read a single definition. The local is defined at
function scope rather than beside the gate: the gate sits inside
"if not info.is_local_run", while the reporting site does not, so a local
defined there would be unbound on every local run.

The INFRA scan itself is not hoisted. The only two mutations of test_results
between the two sites are the Timeout filter and the skipped-modules append,
and neither synthetic row can carry INFRA: the Timeout row's info is the
session-timeout string, which carries no docker context, and the
skipped-module rows are built with no labels. Measured on an arm carrying an
INFRA row, a Timeout row and a skipped-module row at once.

No verdict moves. had_infra_or_error is byte-identical, the hoisted local is
equal to the pre-change predicate on all ten label arms, and it reads
info.pr_labels exactly as often as before, since the conjunction
short-circuits in the same order. This run was reported ERROR before the
change and is reported ERROR after it; only the kernel record now survives.
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-own-pr PR origin: CI on a groeneai PR exposed a separate defect labels Aug 29, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review (click to expand)

Three rounds of independent cold review of the resulting code, each with a second-model gate pass,
adjudicated against the recorded validation. Two of the three sent the change back for a code fix.
The final round reviewed 44cd265d43d50db7a84eae2352f0f04993ccac56 and its gate pass returned no
findings.

19 findings over the three rounds: 8 agreed, 5 disagreed with evidence, 6 dropped.

Agreed and fixed (both were real holes in the trigger this change adds)

  • A bugfix-validation run aborted by an infrastructure failure kept no kernel record. When a
    pytest session-level FAIL carries only infrastructure failures, _mark_infrastructure_errors
    turns those children into SKIPPED + INFRA, and SKIPPED is a successful status, so no attach
    condition fired. had_infra_or_error nevertheless forces the job to ERROR. That is precisely
    the shape this change exists for: a killed container's client raises exactly the errors
    _is_infrastructure_error matches, so the relabeled row cannot say whether the kernel killed the
    server or docker hiccuped. Raised independently by the cold review and by the gate in the same
    round. Fixed by mirroring that final-status path at the trigger, with value-identity proofs for
    the two reads it moves, three negative controls (a genuine test failure, a non-bugfix job and an
    unlabelled bugfix job all behave as before) and a mutation control.
  • A failing run whose pytest produced no rows kept no kernel record. On a flaky or targeted
    check an ERROR from the pytest wrapper deliberately does not set has_error
    (integration_test_job.py:1862-1870), and with no rows collected test_results is empty, so the
    trigger stayed False while the job was reported ERROR through empty_harness_failure. Zero rows
    means the harness itself died, so the kernel record is the only evidence there. Fixed by adding
    that predicate to the trigger, asserted equal to the real one on all nine arms.
  • The validation was invisible, and one justification was unverified. The assertion matrix runs
    against the real source text of both revisions but nothing here showed it; it is now in the
    pre-PR validation gate comment. Separately, the gate comment had justified shipping no test file
    by saying ci/tests/ is being removed. It is not: JobConfigs.ci_tests is in the pull request
    workflow's job list (ci/workflows/pull_request.py:79) and the directory gained files in August.
    The decision itself stands on .claude/CLAUDE.md:190, which is what it now cites.

Disagreed, with evidence

  • The image-prefetch failure path should also print and attach. No dump exists there:
    prefetch_failure_result().complete_job() runs at :1716, the buffer is cleared at :1812 and
    the dump is first written at :2111. Adding one would read an uncleared buffer, which that
    function's own docstring rejects because leaf names repeat across the jobs a runner hosts.
  • The post-merge late scan attaches its dump without printing the kill lines. That path already
    emits an attributed ERROR row per breached leaf plus an info line naming it, which is strictly
    more information than an unattributed print.
  • print_oom_lines reports a successfully-read empty buffer as "no dmesg available". True, and the
    wording could separate the two cases, but the error is in the fail-safe direction: it withholds a
    conclusion rather than asserting a false one.
  • A failing run in a shard holding one of the 12 modules that set their own mem_limit can print
    an expected, unrelated kill.
    The selected oom-kill: line carries both oom_memcg= and
    task_memcg=, so it is placeable. An attribution predicate for this was rejected earlier because
    the shape it would key on was never observed.
  • The trigger should share one predicate with the status decision rather than restate it. Tried and
    measured: hoisting it also hoists pytest_has_results, which is_empty_best_effort_skip reads and
    which is deliberately captured after the synthetic Timeout row is filtered. On 2 of 9 arms the
    earlier capture flips empty_best_effort and would turn a best-effort SKIPPED into a red
    ERROR. This change must move no verdict, so the predicate stays where it can only be read.

Noted, not blocking

  • The comment on dmesg_dumped says "only this path creates the file". The on-error hook registered
    at :1387-1403 also writes ./ci/tmp/dmesg.log and attaches it. The flag is still the right
    choice, for two other reasons: that hook only runs when the job is torn down, so this code is not
    reached on it, and refusing to attach a stale file left behind by a failed dump is correct.
  • On a hard-killed run the kill lines print twice, once from the timeout diagnostics and once from
    the new trigger. The two reads happen at different times and the second is the content of the
    attached file, so this is duplication rather than noise.
  • OOM_DMESG_MARKERS selects the oom-kill: line, which names the victim task and pid, but not the
    lowercase Memory cgroup out of memory: Killed process ... line carrying the RSS. That line is in
    the attached dump; widening the constant would change the timeout path's output, which this change
    keeps byte-identical on purpose.
  • A job that runs no test modules at all reports ERROR from an empty result set without triggering
    the attach. Any kill that matters leaves either a non-OK row or an is_error() batch result, and
    the latter sets has_error on a non-flaky check, so both are already covered; what remains is
    "no batch ever ran", where there was no server to kill. A bare emptiness test would also fire on
    the best-effort SKIPPED path, that is, on runs green by design.

Also verified independently rather than accepted: that the two added predicates cannot diverge
from the ones they mirror (an AST enumeration finds exactly two mutations of test_results between
the trigger and had_infra_or_error, both of which can only shrink the match; and a Timeout row
implies the aggregated timed_out, which is only ever OR-ed); that all four pre-existing predicates
really are blind to a container-scoped kill; that the one deliberate narrowing has no second-order
effect, since the missing-file warning is written at upload time, after the job summary; and that no
verdict, status, scheduling or cache key changes.

Session id: cron:clickhouse-review-slot-8:20260829-231000

@clickhouse-gh clickhouse-gh Bot added the manual approve Manual approve required to run CI label Aug 29, 2026
@clickhouse-gh clickhouse-gh Bot closed this Aug 29, 2026
@clickhouse-gh clickhouse-gh Bot reopened this Aug 29, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, of the defect fixed here. On verbatim kernel text for a real cgroup-v1 container kill, all four existing predicates return nothing (leaf_oom_report -> ([], False), dind_leaf_oom_in_dmesg -> set(), job_cgroup_oom -> False, HOST_OOM_DMESG_PATTERNS -> no match), so attach_dmesg stays False and the dump is discarded: 24/24 cells of the attach matrix below, and observed in CI (files: [], zero kill text in a 448 KB job log). The server death itself is deliberately not reproduced.
b Root cause explained? cgroup v1 charges a memcg OOM to the killed task's cgroup, so a kill inside a test container moves no leaf counter and matches no host pattern; attach_dmesg is therefore never set; ./ci/tmp/dmesg.log is written and thrown away; the failure reaches the reader as a bare NETWORK_ERROR.
c Fix matches root cause? It stops discarding the record whose absence is the defect, and prints its kill lines. No detector for an unobserved shape, no guard, nothing masked.
d Test intent preserved / new tests added? No test is modified or weakened, and this change has no SQL surface. No test file is committed because .claude/CLAUDE.md:190 says so for CI scripts: "When you want to test changes in the CI scripts, you can write and run a throwaway test, but you don't need to commit it to the repository, because we don't have automated CI tests." That throwaway is 265 assertions over the parsing, the attach condition, the two hoist-equivalence questions below and two module runs, executed against the real source text of both revisions rather than a transcription of it.
e Both directions demonstrated? Yes, same buffer and same failing run: without the change nothing is printed and nothing attached; with it the oom-kill:constraint=CONSTRAINT_MEMCG,...,task=...,pid=... line is printed and ./ci/tmp/dmesg.log is attached. Four mutation controls confirm each added disjunct is load-bearing rather than shadowed, and two source-level controls confirm the harness reddens when the shipped code is neutered (see below).
f Fix is general across code paths? The two paths that read dmesg for kill lines now share one printer, and print_timeout_diagnostics is byte-identical over 8 arms. The post-merge scan (report_late_leaf_ooms / dmesg-after-merge.log) keeps its own attach rule and not in R.files guard, verified not to collide; prefetch_failure_result is byte-identical. All four non-OK final statuses a run can reach are now covered: has_error, a surviving non-OK row, the empty-harness ERROR, and the bugfix-validation INFRA abort.
g Fix generalizes across inputs? Buffer matrix: container kill, global kill, no-kill, empty, and invalid UTF-8; str and decoded-bytes sources; buffer cleared and not cleared; containment env set and unset; dump created and missing. Label matrix for the bugfix-validation disjunct: both bugfix labels, each alone, an unrelated label, and no labels, each crossed with is_bugfix_validation true and false. A negative control confirms raw bytes raise TypeError, so the decode at the call site is load-bearing.
h Backward compatible? Nothing to break: no setting, no default, no serialization, no SettingsChangesHistory.cpp. The only visible changes are one more attached artifact and one or two log lines, on failing runs only; green runs are byte-identical (arms 1, 8 and 12 below).
i Invariants and contracts preserved? Invariant: when an integration run reports a non-OK status, the kernel's memory-kill record for that run is printed and kept, without changing any verdict. That now includes both paths that report ERROR without ever setting has_error: the flaky or targeted check whose pytest produced no rows (empty_harness_failure, arm 9), and the bugfix-validation run whose only failing row was relabeled SKIPPED and INFRA (had_infra_or_error, arm 10). Measured: the change assigns only dmesg_dumped, uncleared and is_bugfix_validation_labelled, none status-bearing, and appends only to attached_files, which is read only as create_from(files=...). Every free name the new block reads has an unconditional assignment earlier in main, so no path reaches it unbound, and the one new local is a direct child of main's body rather than of the not info.is_local_run block, so a local run cannot reach it unbound either. "No kill", "no dmesg" and "kills found" stay three distinct outcomes, and an uncleared buffer is labelled so a neighbouring job's kill is not read as this run's.

Attach matrix. Twelve run shapes, each run twice (dump created / dump missing), by executing the
real if ...: attached_files.append(...) block sliced out of both revisions, so a transcription
cannot pass a test the shipped code would fail. NEW equals expected in all 24 cells. OLD is the
pre-PR base, whose gate was attach_dmesg alone.

# run shape OLD attaches NEW attaches
1 nothing failed (green run) no no
2 leaf-OOM row, job otherwise passed yes yes
3 host OOM, buffer cleared yes yes
4 host OOM, buffer not cleared yes yes
5 ordinary test failure no yes
6 hard-killed, zero pytest results no yes
7 leaf-OOM row and an ordinary failure yes yes
8 flaky/targeted timeout (not a failure by design) no no
9 flaky/targeted empty harness ERROR no yes
10 bugfix validation aborted by an INFRA relabel no yes
11 bugfix validation, genuine test FAIL no yes
12 INFRA relabel on a run the label predicate excludes no no

So the trigger is a strict superset over the failure classes, and the only narrowing is deliberate:
with the dump missing NEW attaches on none of the twelve, where OLD appended a nonexistent path on
four (praktika turns that into WARNING: File [...] was not found in the job's own info).

Arms 11 and 12 are the negative controls for arm 10. Arm 11 keeps the INFRA label off, so its row
stays non-OK and it is caught by the pre-existing non-OK-row disjunct, not by the new one: removing
the new disjunct leaves arm 11 attaching and only arm 10 stops. Arm 12 has the same INFRA row but a
run the label predicate excludes (either not bugfix validation, or a bugfix-validation job whose PR
carries neither bugfix label); such a run is green, so it must not attach, and it does not.

Mutation controls, each removing one disjunct: dropping all three of round 1's added disjuncts
loses arms 5, 6 and 9 and keeps arm 2; dropping has_error alone loses only arm 6; dropping the
empty-harness disjunct alone loses only arm 9; dropping the bugfix-validation disjunct alone loses
only arm 10, with the other eleven arms unchanged. Two source-level controls, applied to the shipped
file and then reverted byte-identically, confirm the oracle is not vacuous: deleting the new disjunct
trips the harness's guard that every disjunct is present in the text the arms execute, and restoring
the duplicated inline predicate reddens the single-source-of-truth assertion.

Why the gate inlines the empty-harness predicate instead of reusing the empty_harness_failure
computed further down: moving that computation up would also move pytest_has_results, which is read
by is_empty_best_effort_skip, and it is captured after the synthetic Timeout row is filtered
out. Measured over 9 arms, on 2 of them (flaky and targeted, [Timeout], timed out) the earlier
capture flips empty_best_effort from True to False, which would turn a best-effort SKIPPED into a
red ERROR. The inlined predicate is asserted equal to the real empty_harness_failure on all 9
arms instead.

Why the bugfix-validation label test is hoisted rather than inlined a second time: it was already
written out twice in this function, so it is now one local read at both sites. It is asserted equal to
the pre-change predicate on all 10 label arms, so the verdict at the reporting site cannot have moved;
it reads info.pr_labels exactly as often as before (zero times when the job is not bugfix
validation, because the conjunction short-circuits in the same order); and info.pr_labels is never
written or mutated anywhere in the job script. The INFRA scan itself is not hoisted: the only two
mutations of test_results between the gate and the reporting site are the Timeout filter and the
skipped-modules append, and neither synthetic row can carry INFRA, which is measured on an arm
carrying an INFRA row, a Timeout row and a skipped-module row at once.

Session id: cron:clickhouse-impl-slot-4:20260829-223900

@clickhouse-gh

clickhouse-gh Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [996726b]

Summary: ✅


AI Review

Summary

This PR broadens integration_test_job.py so failing integration runs keep ./ci/tmp/dmesg.log and print the kernel's memory-kill lines even when the existing OOM attribution paths do not fire, while still excluding timeout-only best-effort runs. I reviewed the current diff, the surrounding status logic, and the prior discussion threads, and I did not find an unresolved correctness, metadata, or evidence issue in the current head.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Aug 29, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @maxknv, could you review this? On cgroup v1 a memcg OOM is charged to the killed task's cgroup, so a kill inside a test container moves none of the leaf counters this job checks and matches none of its host patterns, which means ./ci/tmp/dmesg.log is dumped and then discarded on exactly the runs that need it; this keeps and prints that record whenever a run reports a failure.

Comment thread ci/jobs/integration_test_job.py Resolved
…ailure

The widest term of the attach gate reads every result row, and on a graceful
xdist session-timeout the row set carries the synthetic Timeout row that
run_pytest_and_collect_results appends. Its status is FAIL, so the term fires
even though main strips that row again a few lines further down for targeted,
flaky and bugfix-validation checks, all three of which treat a session-timeout
as an expected risk rather than a failure.

Measured against the shipped gate: a flaky or targeted check that hit its soft
time budget after some tests had passed is reported OK and still uploaded the
kernel log and printed the kill summary, and one that produced no rows at all
is reported best-effort SKIPPED and did the same. Neither is a run anyone will
read a kernel log for, and the upload is an artifact on a green job.

Excluding the synthetic row loses no evidence. A run that also broke leaves its
own non-OK row, so the same term still fires. A check that keeps the row is by
definition not one of the three above, and for those the batch site sets
has_error on a pytest ERROR, which the second disjunct already covers. Both
directions are pinned by the truth table in the regression test, which also
derives the reported status from the module's own strip statement and
is_empty_best_effort_skip rather than restating them, and carries a mutation
control that removes the exclusion again and asserts the same shapes flip back.

Two paths still keep the record on a run finally reported OK, deliberately: a
coverage shard whose failures all passed on retry, and a labelled bugfix
validation whose reproduction is a genuine test FAIL. Both are green by policy
rather than because nothing failed, and this file already refuses to let a
resource kill be laundered by either flip. finalize_llvm_coverage_status keeps
has_error across the coverage set_success for exactly that reason, and the
status inversion is skipped for the OOM row so it cannot turn the job green.
Basing retention on the finalized status would undo both.

Co-Authored-By: Claude Opus 5 <[email protected]>
Master no longer has a ci/tests suite. ClickHouse#115650 (6fbc634, merged
2026-08-29 22:03 UTC) deleted all 65 files under ci/tests, the
ci/jobs/ci_tests_job.py runner that ran pytest over them, the
JobConfigs.ci_tests job config, JobNames.CI_TESTS and the generated
pull_request.yml entry. This branch forked before that merge, so the file
I added would have landed in a tree with no suite and no job to run it,
and since git tracks files rather than directories it would have brought
ci/tests back holding that one file.

.claude/CLAUDE.md:190 covers the case directly: a throwaway test for a
CI-script change is fine to write and run, and does not need to be
committed. The proof stays in that form. It still executes the real gate
expression sliced out of the module instead of a transcription, still
runs the truth table in both directions, still derives the reported
status from the module's own strip statement and `is_empty_best_effort_skip`
rather than restating them, and still carries the mutation control that
puts the synthetic row back and asserts the same shapes flip. 310
assertions pass on this tree and none were lost against the previous run.

Correcting the previous commit message, which pinned both directions "by
the truth table in the regression test": that file is no longer in the
tree, so that is the throwaway harness.

Co-Authored-By: Claude Opus 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors groeneai-origin-ci-own-pr PR origin: CI on a groeneai PR exposed a separate defect manual approve Manual approve required to run CI pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants