Possible to reimport fresh database on every push?

Not sure if this is the right place to post this, but we’ve got an issue where it appears that additional pushes on a PR are not completely resetting the DB to what we have in our dev environment on Pantheon. This results in config cllisions between code and DB, resulting in failing tests like this:

Drupal\Core\Config\ConfigException: Errors occurred during import in     [error]
_drush_config_import() (line 692 of
/srv/bindings/09e6095bc09e4ce194776bca339d841b/code/vendor/drush/drush/commands/core/config.drush.inc).
The import failed due for the following reasons:                         [error]
Unexpected error during import with operation create for
field.storage.node.title_image: 'field_storage_config'
entity with ID 'node.title_image' already exists.
Unexpected error during import with operation create for
field.storage.node.links: 'field_storage_config' entity
with ID 'node.links' already exists.
Unexpected error during import with operation create for
field.storage.node.background_image: 'field_storage_config'
entity with ID 'node.background_image' already exists.

Failing such an option, how can I manually do a reset so the next rebuild truly starts from scratch?

How are you doing this now?

I was having this problem (using Pantheon’s scripts from example-drops-8-composer) and solved it by inserting a cache clear into the 02-init-site-under-test-clone-existing script after the updatedb line:

terminus -n env:clear-cache "$TERMINUS_SITE.$TERMINUS_ENV"