Repository navigation
test(e2e): call the upstream node a provider in the node-to-node pull journeys - #2759
Merged
Merged
Conversation
… journeys The pool-adopt, pool-redeploy and top-up journeys named the upstream node a pull-through node buys from a "seeder". Every API they assert on calls it a provider: `PaymentPool.getWatermark(poolId, signer, provider)`, `BuyerLaneSnapshot.provider`, `LaneKey::provider`. Rename identifiers, docs, comments and error strings to match. No behaviour change. Closes #2184 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the provider-terminology updates across the three end-to-end tests.
No open issues 🎉
What changed in this PR
Aligns upstream-node terminology in three node-to-node end-to-end tests with the existing provider APIs, addressing #2184 without changing test behavior.
Changes:
- Renames upstream-node identifiers, comments, documentation, and error messages from “seeder” to “provider,” while preserving
SERVER. - Renames the repointed-provider test and related helpers, with formatting adjustments for longer names.
| File | Description |
|---|---|
crates/e2e/tests/node_pull_topup.rs |
Uses provider terminology throughout the top-up journey. |
crates/e2e/tests/node_pull_pool_redeploy.rs |
Renames provider fixtures, helpers, and the repointed-provider test. |
crates/e2e/tests/node_pull_pool_adopt.rs |
Uses provider terminology throughout the pool-adoption journey. |
Review effort: Balanced
Code coverage overviewLanguages: Rust Rust / code-coverage/cargo-llvm-cov
View coverage of the 2 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
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.
What
The pool-adopt, pool-redeploy and top-up journeys call the upstream node a "seeder". Every API they assert on calls it a provider:
PaymentPool.getWatermark(poolId, signer, provider),BuyerLaneSnapshot.providerandLaneKey::provider. This PR renames identifiers, docs, comments and error strings to match:seeder1→provider1,LegTwoSeeder→LegTwoProvider,SEEDER_MIN_REMAINING→PROVIDER_MIN_REMAINING,SEEDER #1→PROVIDER #1, and so on.SERVERkeeps its name. Behaviour does not change.Closes #2184
Reviewer notes
a_seeder_repointed_at_a_redeploy_…is nowa_provider_repointed_at_a_redeploy_drops_its_stale_lane_and_serves_the_reissued_pool. No workflow or doc refers to the old name.crates/node/Cargo.toml:121. It is outsidecrates/e2e, so this PR does not touch it.Verification
grep -rni seeder crates/e2efinds nothingcargo fmt -- --checkcargo clippy -p decdn-e2e --all-targets --features anvil-e2e -- -D warningscargo build && cargo nextest run -p decdn-e2e --features anvil-e2e -E 'binary(node_pull_pool_redeploy) | binary(node_pull_pool_adopt) | binary(node_pull_topup)': 5 of 5 passedtest, lowercase subject🤖 Generated with Claude Code