Skip to content

refactor: reduce clone pressure in compressible trackers#2344

Open
sergeytimoshin wants to merge 9 commits intomainfrom
sergey/compressible-clone-cleanup
Open

refactor: reduce clone pressure in compressible trackers#2344
sergeytimoshin wants to merge 9 commits intomainfrom
sergey/compressible-clone-cleanup

Conversation

@sergeytimoshin
Copy link
Contributor

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 14, 2026

Warning

Rate limit exceeded

@sergeytimoshin has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 37 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: b3be9f85-8179-443b-905b-360c0b75f43b

📥 Commits

Reviewing files that changed from the base of the PR and between 2644529 and 9e3e448.

⛔ Files ignored due to path filters (64)
  • Cargo.lock is excluded by !**/*.lock and included by none
  • forester-utils/src/account_zero_copy.rs is excluded by none and included by none
  • forester-utils/src/address_merkle_tree_config.rs is excluded by none and included by none
  • forester-utils/src/address_staging_tree.rs is excluded by none and included by none
  • forester-utils/src/forester_epoch.rs is excluded by none and included by none
  • forester-utils/src/instructions/compress_and_close_mint.rs is excluded by none and included by none
  • forester-utils/src/rate_limiter.rs is excluded by none and included by none
  • forester-utils/src/registry.rs is excluded by none and included by none
  • program-tests/account-compression-test/tests/address_merkle_tree_tests.rs is excluded by none and included by none
  • program-tests/account-compression-test/tests/merkle_tree_tests.rs is excluded by none and included by none
  • program-tests/batched-merkle-tree-test/tests/merkle_tree.rs is excluded by none and included by none
  • program-tests/compressed-token-test/tests/freeze/functional.rs is excluded by none and included by none
  • program-tests/compressed-token-test/tests/v1.rs is excluded by none and included by none
  • program-tests/system-cpi-v2-test/tests/event.rs is excluded by none and included by none
  • program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs is excluded by none and included by none
  • program-tests/utils/src/account_zero_copy.rs is excluded by none and included by none
  • program-tests/utils/src/actions/legacy/instructions/transfer2.rs is excluded by none and included by none
  • program-tests/utils/src/address_tree_rollover.rs is excluded by none and included by none
  • program-tests/utils/src/assert_compressed_tx.rs is excluded by none and included by none
  • program-tests/utils/src/assert_merkle_tree.rs is excluded by none and included by none
  • program-tests/utils/src/assert_queue.rs is excluded by none and included by none
  • program-tests/utils/src/batched_address_tree.rs is excluded by none and included by none
  • program-tests/utils/src/e2e_test_env.rs is excluded by none and included by none
  • program-tests/utils/src/lib.rs is excluded by none and included by none
  • program-tests/utils/src/mock_batched_forester.rs is excluded by none and included by none
  • program-tests/utils/src/state_tree_rollover.rs is excluded by none and included by none
  • program-tests/utils/src/test_batch_forester.rs is excluded by none and included by none
  • program-tests/utils/src/test_forester.rs is excluded by none and included by none
  • sdk-tests/anchor-manual-test/tests/shared.rs is excluded by none and included by none
  • sdk-tests/anchor-semi-manual-test/tests/shared/mod.rs is excluded by none and included by none
  • sdk-tests/anchor-semi-manual-test/tests/stress_test.rs is excluded by none and included by none
  • sdk-tests/client-test/tests/light_client.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/amm_stress_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/amm_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/basic_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/d10_ata_idempotent_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/d10_token_accounts_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/d11_zero_copy_test.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/failing_tests.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/integration_tests.rs is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/tests/shared.rs is excluded by none and included by none
  • sdk-tests/pinocchio-light-program-test/tests/shared/mod.rs is excluded by none and included by none
  • sdk-tests/pinocchio-light-program-test/tests/stress_test.rs is excluded by none and included by none
  • sdk-tests/pinocchio-manual-test/tests/shared.rs is excluded by none and included by none
  • sdk-tests/sdk-anchor-test/programs/sdk-anchor-test/tests/read_only.rs is excluded by none and included by none
  • sdk-tests/sdk-anchor-test/programs/sdk-anchor-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/sdk-native-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/sdk-pinocchio-v1-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/sdk-pinocchio-v2-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/ctoken_pda.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/decompress_full_cpi.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/pda_ctoken.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/test_4_invocations.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/test_4_transfer2.rs is excluded by none and included by none
  • sdk-tests/sdk-token-test/tests/test_deposit.rs is excluded by none and included by none
  • sdk-tests/sdk-v1-native-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/single-account-loader-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/single-ata-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/single-mint-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/single-pda-test/tests/test.rs is excluded by none and included by none
  • sdk-tests/single-token-test/tests/test.rs is excluded by none and included by none
  • sparse-merkle-tree/src/indexed_changelog.rs is excluded by none and included by none
  • sparse-merkle-tree/tests/indexed_changelog.rs is excluded by none and included by none
📒 Files selected for processing (77)
  • forester/src/compressible/ctoken/compressor.rs
  • forester/src/compressible/ctoken/state.rs
  • forester/src/compressible/ctoken/types.rs
  • forester/src/compressible/mint/compressor.rs
  • forester/src/compressible/mint/state.rs
  • forester/src/compressible/mint/types.rs
  • forester/src/compressible/pda/compressor.rs
  • forester/src/config.rs
  • forester/src/epoch_manager.rs
  • forester/src/forester_status.rs
  • forester/src/main.rs
  • forester/src/metrics.rs
  • forester/src/priority_fee.rs
  • forester/src/processor/v2/helpers.rs
  • forester/src/processor/v2/proof_cache.rs
  • forester/src/processor/v2/proof_worker.rs
  • forester/src/processor/v2/strategy/address.rs
  • forester/src/queue_helpers.rs
  • forester/tests/e2e_test.rs
  • forester/tests/legacy/batched_state_async_indexer_test.rs
  • forester/tests/legacy/test_utils.rs
  • forester/tests/test_batch_append_spent.rs
  • forester/tests/test_compressible_ctoken.rs
  • forester/tests/test_compressible_mint.rs
  • forester/tests/test_compressible_pda.rs
  • forester/tests/test_indexer_interface.rs
  • forester/tests/test_utils.rs
  • prover/client/src/constants.rs
  • prover/client/src/errors.rs
  • prover/client/src/helpers.rs
  • prover/client/src/proof.rs
  • prover/client/src/proof_client.rs
  • prover/client/src/proof_types/batch_address_append/json.rs
  • prover/client/src/proof_types/batch_address_append/proof_inputs.rs
  • prover/client/src/proof_types/batch_append/json.rs
  • prover/client/src/proof_types/batch_append/proof_inputs.rs
  • prover/client/src/proof_types/batch_update/json.rs
  • prover/client/src/proof_types/batch_update/proof_inputs.rs
  • prover/client/src/proof_types/combined/v1/json.rs
  • prover/client/src/proof_types/combined/v2/json.rs
  • prover/client/src/proof_types/combined/v2/proof_inputs.rs
  • prover/client/src/proof_types/inclusion/v1/json.rs
  • prover/client/src/proof_types/inclusion/v1/proof_inputs.rs
  • prover/client/src/proof_types/inclusion/v2/json.rs
  • prover/client/src/proof_types/inclusion/v2/proof_inputs.rs
  • prover/client/src/proof_types/non_inclusion/v1/json.rs
  • prover/client/src/proof_types/non_inclusion/v1/proof_inputs.rs
  • prover/client/src/proof_types/non_inclusion/v2/json.rs
  • prover/client/src/proof_types/non_inclusion/v2/proof_inputs.rs
  • prover/client/src/prover.rs
  • prover/client/tests/batch_address_append.rs
  • prover/client/tests/batch_append.rs
  • prover/client/tests/batch_update.rs
  • prover/client/tests/combined.rs
  • prover/client/tests/inclusion.rs
  • prover/client/tests/init_merkle_tree.rs
  • prover/client/tests/non_inclusion.rs
  • sdk-libs/client/src/fee.rs
  • sdk-libs/client/src/indexer/error.rs
  • sdk-libs/client/src/indexer/options.rs
  • sdk-libs/client/src/indexer/photon_indexer.rs
  • sdk-libs/client/src/indexer/types/proof.rs
  • sdk-libs/client/src/indexer/types/queue.rs
  • sdk-libs/client/src/indexer/types/token.rs
  • sdk-libs/client/src/interface/initialize_config.rs
  • sdk-libs/client/src/interface/instructions.rs
  • sdk-libs/client/src/interface/load_accounts.rs
  • sdk-libs/client/src/interface/mod.rs
  • sdk-libs/client/src/interface/pack.rs
  • sdk-libs/client/src/interface/serialize.rs
  • sdk-libs/client/src/local_test_validator.rs
  • sdk-libs/client/src/rpc/client.rs
  • sdk-libs/client/src/utils.rs
  • sdk-libs/macros/src/light_pdas/seeds/extract.rs
  • sdk-libs/program-test/src/indexer/test_indexer.rs
  • sdk-libs/program-test/src/program_test/compressible_setup.rs
  • sdk-libs/program-test/src/program_test/light_program_test.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch sergey/compressible-clone-cleanup
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sergeytimoshin sergeytimoshin force-pushed the sergey/compressible-clone-cleanup branch 4 times, most recently from 579d45a to 6d927c2 Compare March 14, 2026 19:12
@sergeytimoshin sergeytimoshin force-pushed the sergey/compressible-clone-cleanup branch from 6d927c2 to ae11676 Compare March 14, 2026 19:21
@sergeytimoshin sergeytimoshin force-pushed the sergey/compressible-clone-cleanup branch 4 times, most recently from 3498eb9 to 0e56512 Compare March 14, 2026 21:34
@sergeytimoshin sergeytimoshin changed the title refactor: reduce clone pressure in compressible trackers refactor: reduce clone pressure in compressible trackers Mar 14, 2026
@sergeytimoshin sergeytimoshin force-pushed the sergey/compressible-clone-cleanup branch from 0e56512 to 9e3e448 Compare March 15, 2026 00:37
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.

1 participant