Skip to content

test(e2e): clippy large_futures fails on macOS in node_pull_pool_redeploy under anvil-e2e #2786

Closed

Description

@yigitdot

On macOS (aarch64-apple-darwin), this fails:

cargo clippy -p decdn-e2e --all-targets --features anvil-e2e -- -D warnings

It reports three clippy::large_futures errors, each a 16384-byte future, in crates/e2e/tests/node_pull_pool_redeploy.rs, at lines 197, 276 and 364. All three are stale_row_from_first_deployment(...).await? calls.

Scope. Linux CI's cargo clippy --workspace --all-targets --all-features (.github/workflows/ci.yml) is clean, so the future size depends on the target. The cargo-clippy pre-commit hook does not enable anvil-e2e, so commits are not blocked. CI's lint command still fails when it runs on macOS.

Suggested fix. Wrap the three calls in Box::pin(...), as clippy suggests. The same file already does this for run_repointed_provider. Boxing the future inside stale_row_from_first_deployment works too. Verify on macOS with:

env CARGO_BUILD_WARNINGS=deny cargo clippy --workspace --all-targets --all-features

Found during #2785.

🤖 Generated with Claude Code

Activity

  1. added
    kind:test
    prio:low
    on Oct 30, 2026
  2. moved this from Backlog to In progress in deCDNon Nov 1, 2026
  3. moved this from In progress to Done in deCDNon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:testprio:low

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions