Skip to content

feat(cli): allow for extended legacy support for ado upgrade of resources #624

@AlessandroPomponio

Description

@AlessandroPomponio

Issue

Let’s say you have an old sample store that’s referencing an old import path for the class (e.g., it is referencing SQLEntitySource instead of SQLSampleStore).
We had an upgrade validator that fixed that automatically for you. We removed it in version X.

We’re now at version Y, where Y >> X. Between version X and Y, we have made other changes to sample stores which also had temporary validators in place and a subset of them might also have been removed.

HOWEVER, you kept using ado without issues because you never needed that sample store anymore and kept using new sample stores for your new experiments. This meant that you never even knew anything had changed.

The situation now is:

  1. You have never run ado upgrade store because you never needed it
  2. You have old, unsupported stores in your DBs that cannot be upgraded anymore. To be upgraded you’d have to roll back to version X.
  3. You have new sample stores, for which you need version Y.

This means we are in a state where no version can actually fetch all of the resources from the DB, and that’s the whole issue


Related to #620

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions