Skip to content

Decide the Mermaid version of the vendored Lexbench runtime #175

Closed

Description

@lanyue-llk

Follow-up from #171.

The Lexbench report does not load Mermaid from a CDN. It copies a retained mermaid.min.js from --vendor-dir and rejects any file whose SHA-256 differs from the digest hard-coded in src/harness/lexbench/report.py (07e37dfa…).

That runtime is exact, so it cannot drift. It does not use the shared owner in src/harness/reporting/mermaid.py, though, and its bytes differ from the jsDelivr Mermaid 11.4.1 file that the shared owner pins (a43bc1af…). The Git checkout does not record which version the retained file is.

The hash-bound vendored file was left alone in #171.

Scope

  • Identify the version of the retained runtime from the file under the data home.
  • Decide whether Lexbench should stay on its own retained runtime or move to the shared version. Moving means replacing the retained file, its bound digest and its license copy for new builds, and it must not change already published reports.
  • Whichever way that goes, record the version next to the digest so the two owners can be compared.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions