发布

  • fix(workspace-version): cache backend truth, not resolved version

    frostbyte_neo 发布于 2026-04-22 13:19:28 +00:00

    The per-workspace cache (opik-workspace-versions) should mirror what
    the backend reported for that workspace. Writing resolvedVersion meant
    that an opt-in (or debug override) forcing v2 on a v1 workspace would
    pollute the cache with "v2", causing an extra reload on the next visit
    after the user opts out.

    Switch to writing apiVersion only when it's defined. Override and
    opt-in still layer on top via resolveSyncWorkspaceVersion.

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

    下载附件