发布

  • [OPIK-6146] [BE] fix: add demo data exclusion to OptimizationDAO.hasVersion1Optimizations (#6419)

    frostbyte_neo 发布于 2026-04-21 15:17:34 +00:00

    Exclude the demo optimization name 'ivory_berm_3833' from the V1
    workspace version check, matching the existing pattern used by
    ExperimentDAO and DatasetDAO. Without this, workspaces whose only
    orphaned optimization is demo data are incorrectly blocked from V2.

    Extend the existing optimization workspace version test to verify that
    a workspace-level optimization named 'ivory_berm_3833' (demo data)
    does not trigger V1, while a non-demo optimization still does.

    下载附件