Skip to content

ci(cobertura): excluir lock/mod.rs de vasak-session-manager (glue del 2do binario) - #47

Merged
JoaquinDecima merged 1 commit into
mainfrom
ci/excluir-lock-mod-de-cobertura
Nov 22, 2026
Merged

JoaquinDecima merged 1 commit into
mainfrom
ci/excluir-lock-mod-de-cobertura

Conversation

@JoaquinDecima

@JoaquinDecima JoaquinDecima commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

src-tauri/src/lock/mod.rs de vasak-session-manager es el glue de arranque del segundo binario del paquete (la pantalla de bloqueo): crea y reparenta las superficies de capa (cover_every_monitor, reparent, daemonize), registra sus comandos y no tiene pruebas. No se ejercita sin un display, igual que lib.rs/main.rs, que ya están excluidos.

El afinado WebKit de Vasak-OS/vasak-session-manager#47 registra tune_webview en su generate_handler!, y al tocar el archivo el chequeo de formato del CI reacomoda sus WebviewWindowBuilder multilínea: esas líneas reformateadas cuentan como código nuevo sin cubrir y voltean la puerta de Sonar (0% de cobertura nueva). Se lo suma a sonar.coverage.exclusions.

Summary by CodeRabbit

  • Chores
    • Updated code coverage reporting to exclude one additional internal component. All existing coverage exclusions remain unchanged.
    • This change affects internal reporting only; it does not alter app features or behavior visible to users.

Es el glue de arranque del segundo binario del paquete (la pantalla de bloqueo):
crea y reparenta las superficies de capa, no tiene pruebas, y no se ejercita sin
display. Es el equivalente de `lib.rs`/`main.rs`, ya excluidos. El afinado WebKit
de vasak-session-manager#47 registra un comando en su generate_handler! y, al
tocar el archivo, el chequeo de formato reacomoda sus builders multilínea: esas
líneas contaban como nuevas sin cubrir y volteaban la puerta de Sonar.
@JoaquinDecima JoaquinDecima added the enhancement New feature or request label Nov 22, 2026
@JoaquinDecima JoaquinDecima self-assigned this Nov 22, 2026
@JoaquinDecima JoaquinDecima moved this to In Progress in VasakOS Roadmap Nov 22, 2026
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The workflow adds **/src-tauri/src/lock/mod.rs to the Sonar coverage exclusions. Existing exclusions remain unchanged.

Changes: Sonar coverage configuration

Layer / File(s) Summary
Add lock module exclusion
.github/workflows/app.yml
The Sonar coverage exclusion list now includes **/src-tauri/src/lock/mod.rs.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 88227

This adds one Sonar coverage exclusion for the untested lock-screen startup module. It affects only coverage reporting, not runtime behavior, and no merge risk was found.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

A rabbit checks the workflow line,
One lock module joins the list.
The other exclusions stay in place,
No extra paths appear.
The coverage config is updated,
Then off I hop through clover.

@JoaquinDecima
JoaquinDecima merged commit 151c8b7 into main Nov 22, 2026
7 of 8 checks passed
@JoaquinDecima
JoaquinDecima deleted the ci/excluir-lock-mod-de-cobertura branch November 22, 2026 14:17
@github-project-automation github-project-automation Bot moved this from In Progress to Done in VasakOS Roadmap Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant