Skip to content

Check cache structure on CI

We need a CI script that runs:

  • arkindex_worker.cache.create_tables
  • arkindex_worker.cache.create_version_table
  • dump the whole sqlite structure & content
  • compare it to a known good version
  • when there is a diff, crash, mentionning to bump the SQL version & generated file

This should prevent changes that do not update the version

Edit:

Edited by Yoann Schneider