Skip to content

fix(update): DC 0.3.4 y concurrencia con apt-daily - #40

Merged
jesus-ixatu merged 1 commit into
mainfrom
fix/dc-bin-apt-overlap
Nov 19, 2026
Merged

jesus-ixatu merged 1 commit into
mainfrom
fix/dc-bin-apt-overlap

Conversation

@jesus-ixatu

Copy link
Copy Markdown
Collaborator

Contexto (19/11/2026, PC-IXATU-08)

La salida real de dotfiles-update reportó dos incidentes: APT lock por apt-daily.service en arranque (~08:00) y Desktop Commander 0.3.4 PREPARED / ACTIVATION_PENDING con error de validación.

Correcciones

  • APT: si el mantenimiento oficial apt-daily.service / apt-daily-upgrade.service está activo, activándose o recargando, omitir únicamente el apt-get update redundante con estado SKIP; preservar upgrade, autoremove, snapshot y fallos no relacionados. No deshabilitar timers ni retirar locks.
  • Desktop Commander: verificar el ejecutable publicado en bin.desktop-commander (fallback a main para fixtures antiguos), y seguir rechazando rutas inseguras y paquetes sin integridad.
  • En el lockfile npm ignorar restricciones de Node de dependencias opcionales que no están instaladas (p. ej. sharp Windows IA32), pero exigirlas si están presentes.
  • Asegurar que el directorio de staging gestionado y propio tenga permisos 0700 antes de intentar activación.

Validación

  • make test-ci: PASS, aislamiento temporal de GitNexus por sandbox.
  • make agent-validate-changed SECURITY_ONLINE=1: PASS, OSV estricto, Gitleaks sin fugas.
  • 5 tests específicos del validador/permiso: PASS; tests APT active/activating/reloading, normal, fallos no relacionados y mocks: PASS.
  • Paquete npm REAL DC 0.3.4: dotfiles-dc-activate 0.3.4 muestra DRY-RUN: validated STAGED 0.3.4; ACTIVE 0.3.3; no changes made. Servicios DC y Azure MCP activos.
  • No se activó aún 0.3.4 mediante este PR. Hacer activación controlada tras merge/release desde una unidad systemd separada y verificar rollback/readyz.

La advertencia npm sobre globalignorefile y el progreso abundante de Cursor Agent son cosméticos/upstream y quedan fuera de este ajuste pequeño.

Closes #39

@jesus-ixatu
jesus-ixatu merged commit 05716aa into main Nov 19, 2026
1 check passed
@jesus-ixatu
jesus-ixatu deleted the fix/dc-bin-apt-overlap branch November 19, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(update): aceptar bin en paquetes DC y evitar colisión APT al iniciar WSL

1 participant