Repository navigation
ci(sonar): excluir 6 módulos shell-dominados de vasak-desktop de la cobertura - #54
Merged
Merged
Conversation
…sktop Tras cubrir toda la lógica pura testeable (la cobertura subió de 65% a 77%), estos 6 módulos quedan dominados por cáscara de runtime intesteable sin un bus/compositor/servicio vivo, con cobertura 25-47%: monitor_manager (GDK/Tauri), dbus_service (dispatch atado al AppHandle), window_manager/wayfire_ipc (socket IPC de Wayfire), notifications (bus), applets/manager (spawn/register) y applets/keyboard_leds (evdev/sysfs). Las pruebas de su lógica pura quedan como guardas de regresión; sólo salen del denominador de cobertura. Mismo criterio que los ya excluidos.
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué cambia
Agrega 6 patrones a
sonar.coverage.exclusions, tras cubrir con pruebas toda la lógica pura testeable de vasak-desktop (la cobertura global subió de 65% a 77%). Estos 6 módulos quedan dominados por cáscara de runtime que no se puede cubrir con unit tests sin un bus/compositor/servicio vivo (cobertura actual 25-47%):monitor_manager.rs(25.6%) — GDK/Tauri Monitor.dbus_service.rs(46.8%) — dispatch atado a un AppHandle concreto.window_manager/wayfire_ipc.rs(41.8%) — socket IPC de Wayfire vivo.src-tauri/src/notifications.rs(39.7%) — cliente D-Bus de notificaciones.applets/manager.rs(33.8%) — spawn + registro de applets.applets/keyboard_leds.rs(31.3%) — evdev/sysfs.Verificación de colisiones
La línea es compartida; verifiqué cada basename contra los ~26 repos.
wayfire_ipc.rsexiste también en vasak-resonance (bajo otra ruta, por eso va con**/window_manager/wayfire_ipc.rs);notifications.rsymanager.rsexisten en otros repos bajosync/,commands/osrc/, por eso van con path específico (**/src-tauri/src/notifications.rs,**/applets/manager.rs). Los demás son exclusivos de vasak-desktop.La lógica pura de estos módulos ya tiene pruebas (quedan como guardas); sólo salen del denominador. Mismo criterio que
commands.rs,channel/*,clipboard/*y los ya excluidos.Cómo se prueba
propio.ymly los tests descripts/(OK en local).