发布

  • [OPIK-6173] [BE] Fix experiments with ZERO_UUID aggregate project_id not appearing in experiment list (#6508)

    frostbyte_neo 发布于 2026-04-29 22:15:04 +00:00

    When the aggregation job runs before traces are ingested, it stores
    project_id as ZERO_UUID in experiment_aggregates. The experiment list
    queries then convert this to an empty array and filter it out, making
    the experiment invisible despite the experiment record having the
    correct project_id.

    The fix adds a fallback in the aggregated branch SELECTs of FIND,
    FIND_COUNT, FIND_GROUPS, and FIND_GROUPS_AGGREGATIONS: when the
    aggregate project_ids array is empty, use the experiment's own
    project_id instead.

    下载附件