Reduce the build and test times of the aggregator
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- build-system, performance, testing
Línea de trabajo
Start by measuring the aggregator with cargo build --timings, cargo test --no-run, and cargo nextest, then compare the results against the signer and the ci-tests profile. Read the mithril-aggregator and workspace Cargo manifests to trace the listed feature and profile settings. Done means recording the baseline, applying justified optimizations, and measuring gains against it.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why
The mithril-aggregator crate is still the slowest unit of the workspace to build and test (unit test binary about 77 s, 13 integration test binaries of 12 to 17 s each, against 16 s and 6 to 9 s for the signer), which slows down the local development loop and the CI.
What
The aggregator build and test times are measured, then reduced by removing the feature flips and the per binary fixed costs that remain after the boxing of the HTTP route filters.
How
- Measure the current build times (
cargo build --timings,cargo test --no-run) and the slowest tests (cargo nextest) of the aggregator to set a baseline - Assess possible optimizations:
- Remove the
allow_skip_signer_certificationfeature flip of themithril-commondev-dependency, which rebuildsmithril-commonand the 13 internal crates depending on it betweencargo buildandcargo test? - Align the features of the shared dependencies (
tokio,reqwest,rustls,tower,zstd) at the workspace level to stop the rebuilds when switching between the aggregator and the other packages? - Evaluate a reduced debug info level (
debug = "line-tables-only") for the local dev profile, as already used by theci-testsprofile? - Speed up or move to the slow tier the slowest aggregator tests found by the baseline?
- TBD
- Remove the
- Measure the gains against the baseline
- Lenguaje dominante
- Rust
- Estrellas
- 155
- Forks
- 52
- Merge medio
- 3 d 9 h
- PR fusionados (30 d)
- 33
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IntersectMBO/mithril
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
IntersectMBO/mithril#1605 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
IntersectMBO/mithril#3748 ·
Los mantenedores suelen responder en 3 días
-
feature :rocket:
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
IntersectMBO/mithril#3743 ·
Los mantenedores suelen responder en 3 días
-
feature :rocket:
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
IntersectMBO/mithril#3742 ·
Los mantenedores suelen responder en 3 días
-
infrastructure :classical_building:
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
IntersectMBO/mithril#3740 ·
Los mantenedores suelen responder en 3 días
Todos los issues de IntersectMBO/mithril
Issues similares
-
triage: failed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
oxc-project/tsrs#1277 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
tursodatabase/turso#13221 ·
Los mantenedores suelen responder en 1 día
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Posiblemente ocupada @flyingrobots la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
flyingrobots/edict#457 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100