Skip to content

ci(cobertura): excluir el glue de la superficie de chat de Lince - #48

Merged
JoaquinDecima merged 1 commit into
mainfrom
ci/excluir-cobertura-chat-lince
Nov 22, 2026
Merged

JoaquinDecima merged 1 commit into
mainfrom
ci/excluir-cobertura-chat-lince

Conversation

@JoaquinDecima

@JoaquinDecima JoaquinDecima commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

La superficie de chat de Lince (vasak-assistant#1, PR vasak-desktop#311) agrega dos archivos de puro glue que no se pueden ejercitar sin un bus ni un display vivos, y hoy cuentan contra la cobertura del código nuevo (Sonar quedó en 27.7%):

  • windows_apps/assistant.rs — la ventana de capa GTK (crear/mostrar/esconder), igual que control_center.rs y shell_layer.rs, ya excluidos.
  • src-tauri/src/assistant.rs — el cliente D-Bus del asistente: envoltorios finos de invoke/call por el bus y el gateo de apertura.

La lógica que sí es verificable (los tipos del cable, available_from_file_state y la guarda de firmas del contrato) conserva sus pruebas en la suite; medir el archivo sólo frena el PR que toca el cliente. Misma decisión que commands.rs y los otros drivers de ventana.

Se agregan los dos globs a sonar.coverage.exclusions del flujo compartido, con su párrafo de porqué.

Summary by CodeRabbit

  • Chores
    • Updated code coverage reporting to exclude chat interface and assistant client code.

La superficie de chat de Lince (vasak-assistant#1) agrega en vasak-desktop dos
archivos de puro glue: windows_apps/assistant.rs (ventana de capa GTK, como
control_center.rs/shell_layer.rs) y src-tauri/src/assistant.rs (cliente D-Bus:
envoltorios de invoke/call y el gateo de apertura). No se pueden mover sin un bus
ni un display vivos. La lógica pura (tipos del cable, available_from_file_state,
la guarda de firmas) conserva sus pruebas. Misma decisión que commands.rs.
@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 →

No actionable comments were generated in the recent review.

Walkthrough

The workflow documents the Lince chat surface files and adds the assistant files to SonarQube coverage exclusions.

Changes: SonarQube coverage exclusions

Layer / File(s) Summary
Document and exclude assistant files
.github/workflows/app.yml
The workflow comments describe the Lince chat surface and its assistant client as excluded glue code. SonarQube coverage exclusions now include windows_apps/assistant.rs and src-tauri/src/assistant.rs.

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

Change: Other

Possibly related PRs

  • Vasak-OS/.github#46: Adds related shell-layer files to SonarQube coverage exclusions and is cited as a precedent.
Merge Risk: Minimal · up to 81d2f

This change only excludes two Lince chat glue files from the Sonar coverage gate in CI. It does not alter runtime behavior, and no concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed El título describe el cambio principal: agregar a las exclusiones cubiertas por SonarQube los archivos del glue de la superficie de chat de Lince (windows_apps/assistant.rs y src-tauri/src/assistant.r…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

El título describe el cambio principal: agregar a las exclusiones cubiertas por SonarQube los archivos del glue de la superficie de chat de Lince (windows_apps/assistant.rs y src-tauri/src/assistant.rs). El resumen del cambio confirma que ambos archivos se agregan a coverage exclusions en .github/workflows/app.yml. El título usa el prefijo 'ci(cobertura)', que identifica el alcance de CI y cobertura. El título está en español, lo cual coincide con la descripción del PR.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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 coverage list
Two assistant files now join the twist
The comments tell which chat paths they trace
Sonar leaves those glue files out of place
I hop away, my notes all neat

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9b0cd9e0-81eb-48ef-9e65-5ad504e54ee2
Commits

Reviewing files that changed from the base of the PR and between 151c8b7 and 81d2f12.

Files selected for processing: 1

  • .github/workflows/app.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@JoaquinDecima JoaquinDecima added the enhancement New feature or request label Nov 22, 2026
@JoaquinDecima
JoaquinDecima merged commit cfe3067 into main Nov 22, 2026
8 checks passed
@JoaquinDecima
JoaquinDecima deleted the ci/excluir-cobertura-chat-lince branch November 22, 2026 18:34
@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