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

Log errors instead of PRs for OOO mods on GitHub #3625

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

HebaruSan
Copy link
Member

Problem

For many months now we have been getting hammered with bogus auto-epoch pull requests. Lately it has gotten worse, with occasional giant waves of many, many mods affected. Cleaning these up is very tedious and has by far eclipsed the usefulness of auto-epoching as a feature. #3571 didn't seem to help.

Cause

GitHub's API seems to be unreliable. We ask it for the list of releases for mods constantly, and something like 0.004% of the time it skips one or more releases (much more often if there's a "wave" in progress), and we get a bogus pull request because it looks like the versions went backwards.

Changes

Now we no longer auto-generate auto-epoch pull requests for mods on GitHub. All other mods can still benefit from this feature, but mods hosted on GitHub will now simply emit an error to the log. This will appear as an inflation error in Discord and the status page, and if it's a true out-of-order release, it will stay there for multiple passes and we can go look at it, otherwise it'll go away on its own in the next pass.

I'm planning to self-review this since I can just revert it if something goes wrong.

@HebaruSan HebaruSan added Bug Something is not working as intended Pull request Netkan Issues affecting the netkan data Network Issues affecting internet connections of CKAN labels Aug 11, 2022
@HebaruSan HebaruSan merged commit 7312643 into KSP-CKAN:master Aug 11, 2022
@HebaruSan HebaruSan deleted the fix/gh-pr-spam branch August 11, 2022 21:22
@HebaruSan
Copy link
Member Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Netkan Issues affecting the netkan data Network Issues affecting internet connections of CKAN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant