发布

  • [OPIK-5206] [BE] feat: consume EM opikVersion for workspace version determination (#5964)

    frostbyte_neo 发布于 2026-03-30 15:35:55 +00:00

    • [OPIK-5206] [BE] feat: consume EM opikVersion for workspace version determination

    Implement the auth one-way V2 gate and fallback using the opikVersion
    field from the EM auth response (OPIK-5170).

    • fix(auth): handle unknown OpikVersion values from EM gracefully

    Change @JsonCreator fromValue to return null instead of throwing
    IllegalArgumentException for unknown values. This prevents auth
    failures when EM is deployed with a newer version value before the
    backend is updated.

    The system already handles null opikVersion defensively: auth gate is
    skipped, entity check runs, fallback returns VERSION_1.

    下载附件