[bug] IntegrityCheck --no-stamp still writes (workers do not get the flag)

Abierto
#2,810 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 5 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
node.js, typescript
Área
tooling

Línea de trabajo

Start with LIFEOS/TOOLS/IntegrityCheck.ts: check the header claim that --no-stamp and --section runs write nothing, then trace runWorker() to see that workers get --run-entry and --verbose but not --no-stamp or --accept-drop. Guard the output-coverage emit, the record-coverage writeEventOnce() calls and the plugin temp-folder write behind the read-only flags. Done when a --no-stamp run writes nothing in every lane and no-ledger installs report 'not measured'.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

What happened

IntegrityCheck --no-stamp still writes (workers do not get the flag)

Summary

LifeOS 8.761.0. The header of LIFEOS/TOOLS/IntegrityCheck.ts says "--no-stamp and --section runs write nothing at all". Four things break that:

  1. runWorker() starts each worker with --run-entry <i> (and --verbose), not with --no-stamp. Inside a worker noStamp is therefore false: the output-coverage lane emits its Vigil event on every --no-stamp run, and the layer-one lane can rewrite its snapshot.
  2. A --section output-coverage run emits the same event (the emit has no guard for --section).
  3. The send-gate audit lane can emit events and the record-coverage lane calls writeEventOnce() whatever the flag says; the plugin lane writes a temporary folder.
  4. --accept-drop is not passed to the workers either, so a concurrent full run cannot accept a drop.

Related: on an install with no output ledger file (the recorder hook is not in the public release), the reconciler's event reads "Output coverage 0%, N escapes" at severity medium on every run. The number cannot change there.

Suggested fix: pass the flags to the workers, guard each emit with the read-only flags, and report "not measured" while no ledger file exists.

Details

  • Kind: bug
  • LifeOS version: 8.761.0

Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.

Lenguaje dominante
TypeScript
Estrellas
19.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de danielmiessler/LifeOS

Todos los issues de danielmiessler/LifeOS

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.