Skip to content

#5954 slice 5: inqacccu generated-row test: 0 statements is equal; drop its --deselect - #7108

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5954-inqacccu-rows
Oct 30, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5954-inqacccu-rows

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5954 (slice 5): the db2 job's --deselect of test_the_inqacccu_det_port_holds_on_generated_db2_rows is dropped.

Root cause. The proof itself is fine (proven True, 30 ACCOUNT rows, 30 generated scenarios, no diffs). The test asserted q["statements"] and q["equal"] == q["statements"] for every generated scenario. 8 of the 30 (generated-05, 11, 13, 16, 17, 23, 28, 29) draw a customer INQCUST does not find, so the program returns before any ACCOUNT statement runs: both sides record 0 statements (equal 0, no diffs). The truthiness check read that as a failure. It was a test defect, not an engine diff.

Change. Each scenario must have equal == statements and no diffs; the test also pins that some scenarios ran statements and some ran none (so the assertion cannot go vacuous). Workflow --deselect removed, inventory doc row updated, deselect-floor guard 3 -> 2.

Evidence (local, Docker + Db2, JDK 17). Before: failed in 84 s with the assertion above. After: pytest ... -k inqacccu 1 passed (55 s) under EQUIVALENCE_E2E=1; test_env_gated_tests_run_in_ci_5954.py + test_equivalence_e2e_plan.py 55 passed; ruff format --check clean. No golden/ratchet inputs touched (test, workflow deselect, doc).

Class / Sibling gaps

Class: generated-row Db2 tests that assert q["statements"] truthy for every generated scenario, which fails when a scenario legitimately never reaches SQL. Members: test_the_acctctrl_*, _delacc_*, _dbcrfun_*, _xfrfun_*, _updacc_* in test_equivalence_db2_rows.py use all(q["statements"] and ...) too, but each passes locally (the 50 rows-file tests ran green in the #5954 slice 3 survey), so their scenarios always reach SQL; fixed here: inqacccu (the only one with SQL-free scenarios). Sibling gaps: the same truthiness pattern is a latent trap in those tests if a scenario list grows an early-return case (burned program: CBSA). Remaining deselects, not here (different mechanism): test_uowdemo_det_port_proves_on_db2_against_the_hand_trace (DetMq compile, no cics package) and the facade-own-task deselect (own PR, slice 6). Floor change here (>=2) will conflict trivially with that PR's (>=2 -> lower): take the lower.

Cross-repo

None.

🤖 Generated with Claude Code

…ot a diff; drop its --deselect (Part of #5954)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 09:16
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 09:17
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit 3ff2aef into main Oct 30, 2026
68 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5954-inqacccu-rows branch October 30, 2026 09:56
squid-protocol added a commit that referenced this pull request Oct 30, 2026
…eselect (#7108 dropped the other); expect at least 1 (Part of #5865)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 30, 2026
… of #5865) (#7121)

* gap_prevalence: census close-next order and needs-together tail (Part of #5865)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* test_env_gated_tests_run_in_ci_5954: the workflow now carries one --deselect (#7108 dropped the other); expect at least 1 (Part of #5865)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant