Files
openclaw/qa/scenarios/runtime/logging-file-boundary.yaml
Vincent Koc 2e4683ba7f fix(qa): finish aggregate suites without shared cache races (#120816)
* fix(qa): bound parallel aggregate script runs

Punchcard-Session: amber-workshop-workshop-36
Co-authored-by: Dallin Romney <6581799+RomneyDa@users.noreply.github.com>

* test(tui): wait for adopted session frame

Punchcard-Session: amber-workshop-workshop-36

---------

Co-authored-by: Dallin Romney <6581799+RomneyDa@users.noreply.github.com>
2026-08-10 03:32:04 +08:00

28 lines
1.1 KiB
YAML

title: Logging file boundary
scenario:
id: logging-file-boundary
surface: runtime
coverage:
primary:
- observability.rolling-gateway-jsonl-file-logs
- observability.trace-correlation-fields
objective: Verify the actual file logger rotates bounded JSONL while preserving diagnostic trace correlation.
successCriteria:
- A tiny configured file limit rotates the active JSONL log into the .1 archive.
- Every retained line in the active and archived files is valid JSON.
- Trace, span, parent, and flags fields survive in the file record and match the linked diagnostic event.
codeRefs:
- src/logging/logger.ts
- src/logging/logger-file-transport.ts
- src/infra/diagnostic-trace-context.ts
- test/e2e/qa-lab/runtime/logging-file-boundary-runtime.ts
execution:
kind: script
parallelSafe: true
path: test/e2e/qa-lab/runtime/logging-file-boundary-runtime.ts
summary: Runs the real logger with a tiny file cap and validates JSONL rotation and trace correlation.
args:
- --artifact-base
- ${outputDir}