Aggregate cheat-level flags across beta-2.2.x releases - #72
Merged
Conversation
Minor cheat-check version bumps share the same heuristics; use a beta-2.2 prefix for promotion so players are not stuck at cheat_level 0 after a patch. Co-authored-by: Cursor <cursoragent@cursor.com>
owens1127
force-pushed
the
fix/cheat-level-version-prefix-beta-2.2
branch
from
June 25, 2026 12:11
ef19d34 to
a6ca354
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
versionPrefixfrom an exact patch (e.g.beta-2.2.5) tobeta-2.2, so cheat-level promotion usescheat_check_version LIKE 'beta-2.2%'.cheat_level = 0until they accumulate 3+ flags under the new patch version.Context
Investigation on
4611686018538923479(Hunts#9735): ~70k flags and 14k blacklist rows, butcheat_level = 0and still on individual leaderboards (#12 clears) because only 2 flags existed under the current patch version vs thousands underbeta-2.2.0.CheatCheckVersioninentry.gois unchanged — new flags and level-3+ rechecks still target the exact current version.Test plan
go build ./tools/cheat-detection/...Deploy plan
Services-only. No API, Website, Hermes, Atlas, migrations, or post-merge SQL.
Prod (
ssh raidhub)Do not restart Hermes — only the cron
cheat-detectionbinary changes.Run cheat-detection immediately
Cron runs at 05:30, 13:30, 19:30, 23:30 UTC. Run once after deploy:
Watch
/var/log/raidhub/cron.logforCHEAT_LEVEL_SUMMARY,BLACKLIST_SUMMARY, andCHEAT_LEVEL_UPDATED.Verify before refreshing leaderboards
Hunts#9735 should reach
cheat_level >= 4; they should be absent from the cache oncecheat_level >= 2.Refresh individual leaderboards
Team leaderboards (WFR, activity version, pantheon race) are unaffected — they already gate on instance blacklists.
Smoke test
Confirm profile still loads and player is gone from global LB rankings.
Rollback
Revert merge +
make tools. Re-running cheat-detection will not downgrade existingcheat_levelvalues (GREATESTonly increases).