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

LogPoller ORM: add regression testing for pruning of multichain nodes #14454

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

reductionista
Copy link
Contributor

@reductionista reductionista commented Sep 17, 2024

There was a 1-line bug fix for the LogPoller pruner that went into a larger commit on develop:
e514727

And a corresponding hotfix for the 2.16.0 release:
#14462

This PR was going to be that change, but since it already went into develop this just adds a regression test for it. Regression test is also a part of the hotfix.

See: BCFR-906

This updates the setup for the orm test for the pruner to include inserting logs for a second chain, and verifies that they don't get removed by the pruning query. Also adds a test for the paged version of the query, and enables parallelism.

@reductionista reductionista requested a review from a team as a code owner September 17, 2024 04:54
Copy link
Contributor

I see you updated files related to core. Please run pnpm changeset in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

🎖️ No JIRA issue number found in: PR title, commit message, or branch name. Please include the issue ID in one of these.

archseer
archseer previously approved these changes Sep 17, 2024
mateusz-sekara

This comment was marked as resolved.

@reductionista reductionista force-pushed the fix/prune-expired-logs-query branch 2 times, most recently from 45af65e to 0a0e6fc Compare September 17, 2024 18:52
@reductionista reductionista changed the title Fix pruning query bug LogPoller ORM: add regression testing for pruning of multichain nodes Sep 17, 2024
@reductionista reductionista force-pushed the fix/prune-expired-logs-query branch 2 times, most recently from e9f9cb1 to ba95e1b Compare September 17, 2024 20:06
@reductionista reductionista force-pushed the fix/prune-expired-logs-query branch from ba95e1b to 4c2e18d Compare September 17, 2024 20:07
@cl-sonarqube-production
Copy link

@reductionista reductionista added this pull request to the merge queue Sep 24, 2024
Merged via the queue into develop with commit 6017044 Sep 24, 2024
137 checks passed
@reductionista reductionista deleted the fix/prune-expired-logs-query branch September 24, 2024 06:46
momentmaker added a commit that referenced this pull request Sep 24, 2024
…develop

* origin/develop: (233 commits)
  update Smoke Test TestAutomationBasic to load pre-deployed contracts if given (#14537)
  CCIP-2881  USDC Reader integration tests  (#14516)
  [TT-1624] link PR to solidity review issue (#14521)
  Fix skipped notification in E2E test workflow (#14538)
  Add regression testing for pruning bug (#14454)
  Bump owner dep (#14531)
  Fix state view (#14532)
  Deployment tooling (#14533)
  CCIP 3388 - add offramp generation (#14526)
  CCIP-3416 paginate token admin registry get all tokens call (#14514)
  Change Polygon zkEVM to use FeeHistory estimator (#14161)
  [TT-1747] fix core changeset (#14524)
  TT-1459 Use CTF actions from .github repo (#14522)
  [TT-1693] try more universal Solidity scripts (#14436)
  Remove unused workflow for e2e tests (#14520)
  BCI-3668 Optimise HeadTracker's memory usage (#14130)
  BCFR-888 LP support chains that have not reached finality yet (#14366)
  support new heads polling over http rpc client (#14373)
  Bump CTF (#14518)
  TT-1550 Migrate remaining E2E workflows to the reusable workflow (#14403)
  ...
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.

4 participants