Skip to content

Read the framework version list from the published manifest - #124

Merged
ikraamg merged 1 commit into
mainfrom
framework-manifest
Aug 4, 2026
Merged

Read the framework version list from the published manifest#124
ikraamg merged 1 commit into
mainfrom
framework-manifest

Conversation

@ikraamg

@ikraamg ikraamg commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The list of pinnable framework_version: values came only from db/data/framework_versions.yml inside the gem, so a design system release needed a trmnlp release before anyone could pin it. That file is now published in the public design system repo, so trmnlp reads it from there.

  • reads the manifest once per run, with a 2 second timeout
  • falls back to the bundled copy when the request fails or the response is not a version list
  • refreshes the bundled copy: latest moves from 3.1.1 to 3.2.0
  • rake framework:sync now reads the published manifest by default; pass a local checkout for the previous behaviour
  • specs cover both sources and the single read, with the bundled copy stubbed in for the suite

The pinnable versions came only from db/data/framework_versions.yml, so
every design system release needed a trmnlp release before a plugin could
pin it. The design system now publishes that file in a public repo, so
read it there once per run and keep the bundled copy as the fallback when
the request fails or the response is not a version list.

Also refreshes the bundled copy: latest moves from 3.1.1 to 3.2.0.
@ikraamg
ikraamg merged commit f5ce112 into main Aug 4, 2026
3 checks passed
@ikraamg ikraamg mentioned this pull request Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant