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

Fix pgcmp workflow #1545

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Fix pgcmp workflow #1545

merged 2 commits into from
Sep 4, 2024

Conversation

Mythicaeda
Copy link
Contributor

@Mythicaeda Mythicaeda commented Sep 4, 2024

  • Tickets addressed: Hotfix
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Our db comparison workflow is failing to catch errors it should. Testing the pgcmp tool against the dumps manually, however, revealed that the issue is likely in the workflow itself rather than the tool, as the tool is correctly spotting the errors locally.

Workflow run proving the up is now working

Verification

The workflow failing with the correct comparison failure will be a success, as currently develop has an inconsitency in migration 9 (fix PR for that is here)

Copy link
Collaborator

@dandelany dandelany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct to me now, I agree with the change in compareDatabasesUp.sh & I'm surprised it didn't complain about the incorrect path before. Approved pending expected failure of the workflow to validate the broken migration.

@dandelany
Copy link
Collaborator

This PR didn't run the pgcmp check automatically because it didn't change DB code, however @Mythicaeda ran it manually, results here:

https://github.com/NASA-AMMOS/aerie/actions/runs/10710079763

This is the failure we expected to see, indicating this is 👍 to merge.

This is what the files are called when the artifacts are downloaded outside of the workflow.
@Mythicaeda Mythicaeda merged commit fd167b1 into develop Sep 4, 2024
14 checks passed
@Mythicaeda Mythicaeda deleted the fix/pgcmp-workflow branch September 4, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes to our CI configuration files and scripts
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants