Skip to content

Do not cache codegen list in client #600

@ponyisi

Description

@ponyisi

Currently we cache the list of codegens reported by the backend server in the same tinydb file that we use to cache the transforms. Since this is only updated via user intervention, if a new codegen is added on the server side, it will not be visible by users with "old" cache directories. This seems like a premature optimization (if we retrieve this list once per ServiceX session, it's one simple REST request, where we are going to make many more later) and easily causes user confusion. I would either get rid of the caching entirely, or have a code path where a cache miss for a requested codegen triggers a new lookup with the server for a potentially updated list of codegens before declaring that the requested codegen is not available.

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