Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The existing
ForeignKeys
datacheck has been adapted to the compara use case, i.e. using the foreign keys definitions in thetable.sql
file, rather than theforeign_keys.sql
file that other teams use.This datacheck includes the functionality from all
compara.ForeignKey*
healthchecks. It seems to run in reasonable time, so I don't see a pressing need to split it out in order to run in parallel. (It's a bit tricky to do anyway, now that most tests are derived from the SQL file - you'd probably have to do some rather inelegant regex matching on tables names).There are several
species_tree_node
andgenomic_align_tree
checks (Lines 89-96) which were defined in the HCs but which are not present in thetable.sql
file. The comparablegene_tree_node
checks are in the SQL file, so I'm not sure if it makes sense to add thespecies_tree_node
andgenomic_align_tree
constraints there, and delete these lines from the datacheck?