Skip to content

Fix CompareMPS when files differ in length #1190

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

abelsiqueira
Copy link
Member

If the files had different length, the script prints errors,
but was not returning errors. This returns the correct
exit flag.

Related issues

Closes #1188

Checklist

  • I am following the contributing guidelines
  • Tests are passing
  • Lint workflow is passing
  • Docs were updated and workflow is passing

If the files had different length, the script prints errors, but was not
returning errors. This returns the correct exit flag.

We also update the message to make it easier to find the comment and try
to avoid duplicate CompareMPS messages.

Finally, we clarify that forks won't have the messages.

Closes #1188
@abelsiqueira abelsiqueira force-pushed the 1188-mps-false-positive-if-files-differ branch from 78cf982 to e9f1285 Compare May 6, 2025 12:28
@abelsiqueira abelsiqueira marked this pull request as ready for review May 6, 2025 12:31
@abelsiqueira abelsiqueira requested review from datejada and gnawin May 6, 2025 12:31
@abelsiqueira
Copy link
Member Author

@datejada @gnawin, I think this fixes the issue.

Copy link
Member

@gnawin gnawin left a comment

Choose a reason for hiding this comment

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

Thank you! I'll rebase the #1178, and see it makes a difference.

Update: now the MPS comparison in #1178 indeed errors as expected.

@gnawin gnawin merged commit 385195c into main May 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] MPS workflow false positive result
2 participants