🤖 tests: historyService 'preserves active usage when truncation removes only workflow display rows' fails when run in one process with other history test files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bun, typescript
- Área
- testing-qa
Línea de trabajo
Start with src/node/services/historyService.test.ts and the listed historyService..test.ts, historyScanner..test.ts, historyRowScanner.test.ts, historyReplacementRows.test.ts, and compactionPendingState*.test.ts files. Run the reported Bun command, then identify which earlier test file leaves state affecting getHistoryFromLatestBoundary. Done means the named test passes both alone and in the combined process.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Failure
src/node/services/historyService.test.ts → "HistoryService > sealed history rotation > preserves active usage when truncation removes only workflow display rows" fails when it shares a bun process with the other history test files. It passes alone, and it passes when the whole historyService.test.ts file runs by itself (366/366).
Repro on main at eb0da23fc8 (bun 1.3.5), from src/node/services:
bun test historyService.*.test.ts historyService.test.ts historyScanner.*.test.ts historyRowScanner.test.ts historyReplacementRows.test.ts compactionPendingState*.test.ts
# 1004 pass, 1 fail: the test above
The implementation agent observed that getHistoryFromLatestBoundary still returns the workflow-display row after truncateHistory with a reset boundary. That points to state leaking in from an earlier test file in the same process (order dependent), not to a product bug. I have not bisected which file leaks it.
Found while validating the #4655 one-pass read (PR-C). That branch fails the same way, so it is not the cause.
Expected
The test passes regardless of which other test files share its process. CI currently splits files into shards, so the failure can surface when a PR changes how files are grouped.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 139
- Merge medio
- 6 h 35 min
- PR fusionados (30 d)
- 819
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de coder/xum
-
approved
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
🤖 Delegated-turn delivery and peer-limit follow-ups from #5311 and #5327Posiblemente ocupada @ThomasK33 la tomó hoy. Abierto
Los mantenedores suelen responder en 1 día
-
🤖 Compaction follow-up dispatch: remaining follow-ups from #5313Posiblemente ocupada @ThomasK33 la tomó hoy. Abierto
Los mantenedores suelen responder en 1 día
-
🤖 Concurrency primitive and fileLock hazards found by the formal models (#5309, #5319 follow-ups)Posiblemente ocupada @ThomasK33 la tomó hoy. Abierto
Los mantenedores suelen responder en 1 día
-
🤖 History persistence follow-ups from the formal-verification fixes (#5312, #5316, #5318)Posiblemente ocupada @ThomasK33 la tomó hoy. Abierto
Los mantenedores suelen responder en 1 día
Issues similares
-
area/frontend good first issue kind/cooldown
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
voidzero-dev/oxc-angular-compiler#511 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
langchain-ai/deepagentsjs#898 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
anomalyco/models.dev#8509 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug documentation P2 UI/UX
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día