Skip to content

Make framework robust to network errors (caching, alternate download paths, etc) #502

@cmungall

Description

@cmungall

Currently there is a network dependency if a schema imports another schema via URL - this is most commonly done via imports of types from linkml-model

This morning a number of us have seen intermittent issues with w3id, specifically for https://w3id.org/linkml/types.yaml. If w3id network resolution fails, then most test suites of both linkml itself and libs that use linkml will failm due to the need to import types.yaml over the network

e.g. linkml-runtime fail earlier today:

https://github.com/linkml/linkml-runtime/runs/4461013582?check_suite_focus=true#step:5:238

image

Reported here: perma-id/w3id.org#2434

They suggest:

I'd also consider adding a fallback to local cached resources if possible rather than depending on networked resources to always be available.

I think we should implement this

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