Skip to content

test(e2e): call the upstream node a provider in the node-to-node pull journeys - #2759

Merged
thiras merged 1 commit into
mainfrom
test/e2e-seeder-to-provider
Oct 29, 2026
Merged

thiras merged 1 commit into
mainfrom
test/e2e-seeder-to-provider

Conversation

@thiras

@thiras thiras commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

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.provider and LaneKey::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. SERVER keeps its name. Behaviour does not change.

Closes #2184

Reviewer notes

  • One test function is renamed: a_seeder_repointed_at_a_redeploy_… is now a_provider_repointed_at_a_redeploy_drops_its_stale_lane_and_serves_the_reissued_pool. No workflow or doc refers to the old name.
  • rustfmt rewrapped three call sites, because the longer name pushed them past 100 columns.
  • One "seeder" is left in the repo, in a comment at crates/node/Cargo.toml:121. It is outside crates/e2e, so this PR does not touch it.
  • Test-only change, so there is no CHANGELOG entry.

Verification

  • grep -rni seeder crates/e2e finds nothing
  • cargo fmt -- --check
  • cargo clippy -p decdn-e2e --all-targets --features anvil-e2e -- -D warnings
  • cargo 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 passed
  • pre-commit hooks on commit
  • PR title type test, lowercase subject

🤖 Generated with Claude Code

… 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]>
@thiras thiras self-assigned this Oct 29, 2026
Copilot AI balanced review requested due to automatic review settings October 29, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: Rust

Rust / code-coverage/cargo-llvm-cov

main f3e6938 test/e2e-seeder-to-p... 1e5fc9a +/-
77% 77% 0%
View coverage of the 2 most impacted files.
File main f3e6938 test/e2e-seeder-to-p... 1e5fc9a +/-
crates/client/src/scheduler.rs 94% 94% 0%
crates/node/src/dht/publish.rs 78% 80% +2%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@thiras
thiras merged commit 9880c62 into main Oct 29, 2026
38 checks passed
@thiras
thiras deleted the test/e2e-seeder-to-provider branch October 29, 2026 19:54
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.

test(e2e): rename "seeder" to "provider" in the node-to-node pull journeys

2 participants