Cross-target clippy (check rs_cross) is a quarter of each local check
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Start by reading sh/rs/cross-lint.sh and the just check and just ci definitions to see how rs_cross runs and where --all-targets is set. Compare the two options in the issue against the native nightly lanes and landing worker gate; done means choosing and implementing a scope change that reduces local check time while documenting where cross-target test errors will be caught.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
Over 7 hours of agent work on one 32-core host, just check and just ci in moq worktrees used 33 core-hours across 81 runs, a mean of about 25 CPU-minutes per run. The wall and CPU seconds per module summaries from 45 of those runs split it like this:
| Phase | Share of CPU | Mean CPU-min per run |
|---|---|---|
test rs |
40% | 12.2 |
check rs_cross |
23% | 6.6 |
check rs |
17.5% | 5.0 |
check js |
6% | 3.1 |
rs_cross's local narrowing to "selected crates that name a platform" saves little: it averaged 7.7 CPU-min underjust checkand 6.1 underjust ci.- In sampled
clippy-driverprocesses, test targets (--test) made up about 79% of cross-target clippy time (1.81 of 2.29 core-hours). Libs and bins made up the other 21%.
Options
- Drop
--all-targetsfromsh/rs/cross-lint.sh. macOS and Windows would lint libs, bins and examples, and leave test targets to the nightly native lanes. That cuts about three quarters of the phase, roughly 15% of every check. - Or run
rs_crossonly in the landing worker's gate, not in a localjust check.
Either way, a platform-gated error in a test target would surface later: in the nightly native lanes with the first option, or in the queue with the second.
(Written by Claude Opus 5.5 with high effort)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 822
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
moq-dev/moq#10463 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
moq-dev/moq#10460 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
moq-dev/moq#10373 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
moq-dev/moq#10336 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Test connection's password prompt says the password is never saved, also for a keychain profileAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area: settings bug Haiku review: no-score ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MMFoundation/WallpaperMachine#346 ·
Los mantenedores suelen responder en 1 día
-
Make the HTTP server's keep-alive and headers timeouts configurablePosiblemente ocupada @mattgodbolt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
compiler-explorer/compiler-explorer#9902 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día