发布

  • [OPIK-6311] [BE] test: assert full page-metadata parity across before/after-aggregation tests (#6775)

    frostbyte_neo 发布于 2026-05-21 12:41:26 +00:00

    Introduces assertPageMetadataMatches(Page, Page) — recursive comparison
    ignoring the content field — and applies it to every
    BeforeAndAfterAggregates test in ExperimentAggregatesIntegrationTest that
    exercises getDatasetItemsWithExperimentItems (12 call sites).

    Follow-up to #6756. The merged PR's slim_count branch returns the same
    contents and the same totals as the legacy template on every shape we
    verified, but the assertions were content-only. Pinning total, page,
    size, columns, and sortableFields makes any future drift in either
    template fail the regression guard explicitly rather than only via content
    equality.

    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件