Skip to content

test: translation-support inventory on 10.x, every public query member classified and probed (port of #384, #430) - #431

Merged
CaffeinatedCoder merged 3 commits into
release/10.xfrom
test/430-translation-inventory-10.x
Oct 25, 2026
Merged

CaffeinatedCoder merged 3 commits into
release/10.xfrom
test/430-translation-inventory-10.x

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #430

Port of #384 (PR #386, merged into main as c6a7b5f) to release/10.x, for 10.3.0 (#408). Fixed only on this branch, so #430 is closed by hand after the merge.

Problem

The 10.3.0 additions (#405, #406, #191) are done only when test/oracles/translation-support.json classifies them server and the translation-support probe passes. Neither the inventory nor the probe was on this line. So no 10.3.0 cherry-pick could meet its "done when", and a 10.x public member whose translation appears or disappears was noticed only if a hand-written test called it.

Change

No package change, no changelog row, and no changed answer.

Tests

Run on release/10.x with SDK 10.0.402:

  • Conventions project 419/419, including TranslationSupportInventoryTests (every 10.x query member classified, no stale entry) and the oracle tests.
  • TranslationSupportProbeTests passes on all four 10.x integration legs: PostgreSQL 16 and 18, each on the EF floor and on EF Core 10.0.13 with Npgsql EF 10.0.3 (deps.json checked). Only the 10.x: RangeLowerBoundComparer.Compare in a query runs in the range order (port of #385) #396 candidate cells disagree.
  • Seed merge-translation-dropped.patch applied: the probe fails with "classified server, but refused" for Merge on every range type. Reverted.

🤖 Generated with Claude Code

CaffeinatedCoder and others added 3 commits October 25, 2026 13:54
…ified and probed against EF Core (#384)

The public API's query members are discovered (QueryMembers: every public
method and instance property whose receiver, a parameter or the result is a
range, a multirange or a value set; one key per overload, generic families kept
generic; converters, constants and span/out overloads out by rule) and each is
classified in test/oracles/translation-support.json as server, client (with the
reason) or planned (with the issue).

- TranslationSupportInventoryTests (conventions): every key classified, no stale
  entry, every entry with what its support needs.
- TranslationSupportProbeTests (integration): 811 keys over 2,254 member/type
  cells, each with a column operand, first where the server must evaluate it
  (filter, null test, ordering for a non-nullable value, HAVING for an
  aggregate), then in a final projection, against memory over the loaded rows.

The first run found #385: EF Core rewrites any Compare(a, b) to the natural
order, so RangeLowerBoundComparer.Compare runs as SQL in the range order.
Seeded by merge-translation-dropped.patch.

(cherry picked from commit a1263b7)

Ported to release/10.x for #430. The Composition helpers the probe uses
(Projected, CompositionRunner.IsNull and FirstLine, and the NullRule they
rely on) come unchanged from 30a0e24 (#383), whose sweeps are not on this
line. The #385 cells are registered against #396, the 10.x issue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…an the calendar factories under #191 (#384)

The reasons quoted docs/efcore.md#what-runs-where as it stood before #399
listed every public query member and #402 rewrote the in-memory reasons.
Each now follows its row. The calendar factories over a column are
planned with #191, not client. No classification of a server or client
member changes.

(cherry picked from commit 14179de)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pport reason (#430)

On release/10.x, docs/efcore.md#known-differences-in-1020 names
RangeLowerBoundComparer in a query, with #396 as the fix. The reason now
says so and names the 10.x issue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 10.3.0 milestone Oct 25, 2026
@CaffeinatedCoder CaffeinatedCoder added tests Adds or changes tests only (oracles, harnesses); no library code area/ranges Range unions, variants and the shape engines area/range-set RangeSet and multirange algebra area/value-sets Value set families and wrapper arities package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime labels Oct 25, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit d1a5041 into release/10.x Oct 25, 2026
10 of 12 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the test/430-translation-inventory-10.x branch October 25, 2026 13:27
@CaffeinatedCoder CaffeinatedCoder mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/range-set RangeSet and multirange algebra area/ranges Range unions, variants and the shape engines area/value-sets Value set families and wrapper arities package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL package/efcore-nodatime Affects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTime tests Adds or changes tests only (oracles, harnesses); no library code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant