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

Warn user when their dump is newer than their test_data environment by persisting dump metadata (time, user, git ref) and checking at boot #3

Open
searls opened this issue Jul 6, 2021 · 0 comments

Comments

@searls
Copy link
Member

searls commented Jul 6, 2021

If an application_test_data database exists and is non-empty, rake test_data:load will fail. But it may not be obvious to the user if the test_data in git is newer or older than what's in the test_data database.

Saving some meta data in an ar_internal key/value pair might allow for better decision-making about when to blow away the database vs overwrite the dump

@searls searls changed the title Persist dump metadata (time, user, git ref) Warn user when their dump is newer than their test_data environment by persisting dump metadata (time, user, git ref) and checking at boot Jul 28, 2021
@jasonkarns jasonkarns added this to Backlog in Test Double Trouble Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant