Welcome
Sign in to start your session
Login
Login
[app info]
Brief app info: ENV: [DEV] commitId: 4b089ab5441926f0b5a4bc662bcea75841f7dca2 branch: develop build date: 2026-11-11T12:36:53Z build version: 2026.08.06.1-SNAPSHOT commit message: #39267 Visible promotions cache: drop the player's lists on background bonus activation and completion The list is built from the player's bonuses as well as participations: a promotion is hidden while the player holds an ACTIVATED bonus of it. #39240 dropped the cache on the player's own actions, but a bonus activated by the daemon, finished by wagering in the Kafka processors, merged, or granted as cashback still waited for the 30 s TTL. PlayerVisiblePromotionsCacheEntityListener is a Hibernate post-insert / post-update listener: a Bonus or a PromotionParticipant that is created or changes state drops its player's cached lists, whichever path wrote it, so a new path cannot forget to. Only a state change counts on update - a wagered bonus is rewritten on every bet to move its progress, and dropping the list each time would leave a playing bonus holder with no cache. What Hibernate does not see as an entity change is invalidated by hand in the daemon: a promotion it finishes drops the lists of every player through the new invalidateAll(), and a time-limited visibility that runs out drops the lists of the players it ran out for. qa/test_marketing_subsystem.py gets a visible_cache category covering both tickets against a running stack: JOIN and CANCEL, a bet that only moves the progress, a bonus awarded by wagering, daemon activation and a promotion finished by the daemon. UPTIME: 0d 2h 42m 20s Git log: 81f93... | 2026-11-11T12:38:20+02:00 | Rodion | #39240 Visible promotions cache: drop the playe... 9b70b... | 2026-11-10T19:11:09+02:00 | Rodion | #39241 Auto withdrawal: a first payout that can... 25553... | 2026-11-10T18:41:31+02:00 | Rodion | #39241 Auto withdrawal: the player's first payo... 73ffb... | 2026-11-10T18:23:27+02:00 | Rodion | #39243 Auto withdrawal: project-wide daily limi... b999f... | 2026-11-10T17:39:35+02:00 | Rodion | #39253 Database privileges after migrations: de... 0ba01... | 2026-11-10T17:24:04+02:00 | Rodion | #39248 Partition maintenance jobs: run daily, t... 92b3c... | 2026-11-10T15:40:50+02:00 | Rodion | #38361 LastDepositMore14 statement-count test: ... 720b8... | 2026-11-10T11:18:16+02:00 | Rodion | #39248 Partition maintenance: idempotent catch-... ace7b... | 2026-11-10T15:10:45+02:00 | brigadire | #39081 CI: include ci/ci-templates instead of d... b11fd... | 2026-11-10T11:58:50+02:00 | Rodion | #39253 Database privileges after migrations: gr...
copy to clipboard