next.js
24777110 - Add integration test reproducing inner_of_uppers_lost_follower panic

Commit
34 days ago
Add integration test reproducing inner_of_uppers_lost_follower panic Adds a test that reproduces the aggregation graph race condition where `inner_of_uppers_lost_follower` panics after exhausting retries because a follower edge was double-removed due to hierarchical upper overlap. The test requires the `test_aggregation_race` feature flag which: - Injects a 5ms sleep after balance_edge to widen the race window - Reduces MAX_RETRIES from 60000 to 100 so the panic surfaces quickly - Adds diagnostic output detecting the hierarchical-upper double-remove Run with: cargo test -p turbo-tasks-backend --test aggregation_balance_race \ --features test_aggregation_race --no-default-features -- --nocapture
Author
Committer
Parents
Loading