Skip to content

9.5 upgrade & add underflow protection for referred volume (backport #3261)#3271

Merged
jusbar23 merged 1 commit intorelease/protocol/v9.5.xfrom
mergify/bp/release/protocol/v9.5.x/pr-3261
Dec 2, 2025
Merged

9.5 upgrade & add underflow protection for referred volume (backport #3261)#3271
jusbar23 merged 1 commit intorelease/protocol/v9.5.xfrom
mergify/bp/release/protocol/v9.5.x/pr-3261

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 2, 2025

Changelist

  • Add 9.5 upgrade and underflow protection for ExpireOldStats

Test Plan

  • Unit tests

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

Summary by CodeRabbit

  • New Features

    • v9.5 upgrade: migrates 30-day referred volumes into epoch-level statistics and registers a v9.5 upgrade handler.
  • Bug Fixes

    • Expiration logic now guards against numeric underflow when trimming old stats.
  • Tests

    • Added unit and container-style tests for the v9.5 migration (empty and multi-user scenarios); removed legacy v9.4 container test.
  • Chores

    • Bumped test/version files to v9.5.

✏️ Tip: You can customize this high-level summary in your review settings.


This is an automatic backport of pull request #3261 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner December 2, 2025 15:45
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 2, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@jusbar23 jusbar23 merged commit f887bfc into release/protocol/v9.5.x Dec 2, 2025
14 of 18 checks passed
@jusbar23 jusbar23 deleted the mergify/bp/release/protocol/v9.5.x/pr-3261 branch December 2, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant

Comments