Repository navigation
#5954 slice 5: inqacccu generated-row test: 0 statements is equal; drop its --deselect - #7108
Merged
Merged
Conversation
…ot a diff; drop its --deselect (Part of #5954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Oct 30, 2026
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]>
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.
Part of #5954 (slice 5): the db2 job's
--deselectoftest_the_inqacccu_det_port_holds_on_generated_db2_rowsis dropped.Root cause. The proof itself is fine (
provenTrue, 30 ACCOUNT rows, 30 generated scenarios, no diffs). The test assertedq["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 == statementsand nodiffs; the test also pins that some scenarios ran statements and some ran none (so the assertion cannot go vacuous). Workflow--deselectremoved, 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 inqacccu1 passed (55 s) underEQUIVALENCE_E2E=1;test_env_gated_tests_run_in_ci_5954.py+test_equivalence_e2e_plan.py55 passed;ruff format --checkclean. 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_*intest_equivalence_db2_rows.pyuseall(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, nocicspackage) 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