Skip to content

LibMan download is flaky when fetching a GitHub by ref (OSOE-1210) #549

Description

@sarahelsaig

The current configuration of using jsDelivr for downloading NPM packages is very reliable for actual NPM packages. But it occasionally fails in GH runs when building Lombiq.UIKit. Specifically this project, because it references slick from GitHub using a commit ref as version instead of a release NPM package. I think in this use-case jsDelivr is only proxying to GH, and GH isn't super reliable as a CDN.

Image

Possible solutions:

  • See if we can do retries with some wait time on failure. (the downloader already does 3 tries, but there is no time gap)̇.
  • Implement caching in the GitHub runner, for all libman or just specifically for GitHub-sourced libraries (slick it the only one at the time).
  • ???

Jira issue

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions