Merged 10 upstream commits (MemTable, read-your-writes tests, feed endpoint, security hardening, signed assertions, source registry, dashboard enhancements) and fixed all test failures across the full workspace (2656/2656 passing). Key fixes: - fix(cluster): DashMap deadlock in swim.rs suspect_node/fail_node/alive_node - DashMap::get_mut RefMut + iter() on same map = non-reentrant write lock deadlock - Fix: extract clone in scoped block to drop RefMut before calling update_node_gauges() - 6 previously-hanging SWIM tests now pass in <2s - fix(sim): replace background-task+polling ingestion with synchronous process_pending() - smoke_high_volume_simulation was CPU-starved under 2656 parallel tests - Removed ingestor.start() + wait_until_ingested() pattern throughout sim - All arena functions now call ingestor.process_pending() directly (deterministic) - fix(test): v2 signature helper used wrong hash (rkyv vs canonical compute_content_hash_v2) - fix(test): quota test signed "test" but v1 requires "subject:predicate" format - fix(test): http_validation now accepts 400 for valid-format-but-invalid-crypto hex - fix(test): scale_adaptive micro tier assertions updated (auto_promote upstream change) - config: add nextest.toml with slow-timeout for background-task-tests group Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
918 B
TOML
23 lines
918 B
TOML
# Nextest configuration for StemeDB workspace.
|
|
#
|
|
# References:
|
|
# https://nextest.rs/configuration/overview.html
|
|
# https://nextest.rs/configuration/test-groups.html
|
|
|
|
# Tests that spawn background tokio tasks and wait for them to make progress
|
|
# (e.g. IngestWorker cursor polling) need exclusive CPU access under parallel
|
|
# test load. Without this, the background tasks get starved and timeout.
|
|
[test-groups.background-task-tests]
|
|
max-threads = 1
|
|
|
|
[profile.default]
|
|
# Give long-running simulation tests enough time before marking them as slow.
|
|
slow-timeout = { period = "60s" }
|
|
|
|
[[profile.default.overrides]]
|
|
# smoke_high_volume_simulation spawns a background IngestWorker and polls its
|
|
# cursor. Under full parallel load (2000+ concurrent tests) the tokio scheduler
|
|
# starves the background task, causing spurious timeout failures.
|
|
filter = 'test(smoke_high_volume_simulation)'
|
|
test-group = "background-task-tests"
|