Keep test output quiet with opt-in diagnostic logs (#25)
CI / changes (push) Successful in 4s
CI / server (push) Failing after 1h44m8s
CI / client (push) Successful in 1m52s
CI / image (push) Skipped

Test runs stay quiet by default. Diagnostic logs can be enabled explicitly when troubleshooting, while normal application logging and saved scenario output remain available.

Resolves #22.

---------

Co-authored-by: ars9 <ars9@pm.me>
Co-authored-by: agent <agent@halstation.halstation.local>
Reviewed-on: #25
Co-authored-by: agent-codex <agent-codex@ars9.space>
This commit was merged in pull request #25.
This commit is contained in:
authored and ars9 committed 2026-11-11 22:23:44 +02:00
1 parent 8b48d4812d
commit c0fe15dc01
24 files changed
+250 -36

No files matched your search

+9
View File
@@ -20,6 +20,11 @@ export enum TraceMode {
Off = "off",
}
export enum LogMode {
Console = "console",
Debug = "debug",
}
export class AppConfig {
/** `production` in the Docker image; also selects the default CORS origins. */
@IsString()
@@ -40,6 +45,10 @@ export class AppConfig {
@IsString()
APP_VERSION: string = appPackage().version;
/** Route application diagnostics through `debug` instead of the console. */
@IsEnum(LogMode)
LOG_MODE: LogMode = LogMode.Console;
@IsString()
DB_PATH: string = "data/liqa.db";