Skip to content

[upstream #16741] LibreChat-AI/LibreChat#16741: deployment-theme cache needs a version bump when roles are added #278

Description

@berry-13

Codex noted on LibreChat-AI#16741 that the deployment-theme cache (THEME_CACHE_VERSION = 1, read by the boot script in client/index.html) replays a stored ClickHouse entry that predates chromeBorderAlpha and insetBorderAlpha. Until the bundle resolves the theme and applies 0, the stylesheet defaults draw every migrated border for one frame after an upgrade.

The cache version has not moved since it was introduced, so any role added to the registry has the same one-time flash. Fix direction: bump THEME_CACHE_VERSION and the cached.v === 1 check in the boot script together once per release that adds appearance roles, or have the boot script skip an entry whose property list lacks a role the stylesheet now defaults. Coordinate it across the theme PRs that add roles.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: clientreviewctl followups statebugSomething isn't workingreadyreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions