Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration testing #2764

Closed
LesnyRumcajs opened this issue Apr 14, 2023 · 0 comments · Fixed by #2854
Closed

Migration testing #2764

LesnyRumcajs opened this issue Apr 14, 2023 · 0 comments · Fixed by #2854
Assignees

Comments

@LesnyRumcajs
Copy link
Member

Issue summary

Currently, we do migrations' testing completely manually. This may hide potential regressions.

We must devise a strategy to do this automatically, for each supported migration and at least for calibnet. Due to the time it takes for the initial start, this may need to be done externally, like the sync-check.

  1. Store pre-migration snapshots in DO
  2. For each snapshot, import it and assert the migration is successful.

We can speed it up with some DB caching. Ultimately, it'd be best to spawn our devnet for this purpose, but it may be tricky.

Other information and links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants