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

fixed the external data checker from stalling when git tag pattern is incorrect, this should fix the github actions run #419

Merged
merged 2 commits into from
May 3, 2024

Conversation

tobiasmicheler
Copy link

@tobiasmicheler tobiasmicheler commented May 2, 2024

I recently opened a related issue:
This closes #418
In this issue I said, that I don't know how to fix this problem. However, I figured it out.

@wjt
Copy link
Contributor

wjt commented May 3, 2024

Thanks, this does fix the problem. Nice work tracking this down!

I'll amend your commit slightly for style.

What I am trying to work out is: why does the assertion failure hang the asyncio loop forever?

wjt added 2 commits May 3, 2024 14:01
This will be used to replace some very similar code in gitchecker.
Rather than asserting when given the wrong number of match
groups, this helper raises a descriptive exception. This is both more
helpful to the developer who has incorrectly specified the tag-pattern,
but also seems to prevent an issue where an assertion failure causes the
asyncio mainloop to hang.

Fixes #418

Thanks to Tobias Micheler <[email protected]> for finding the
issue!
@wjt wjt merged commit 6899aeb into flathub-infra:master May 3, 2024
3 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.

I found why the external data checker fails on github actions, I figured out the solution
2 participants