Compare commits

..

2 Commits

Author SHA1 Message Date
lilleman 42661b111f Flush the logger in the OTLP export test, since @larvit/log 2.4.0 batches records
CI / full-gate (push) Successful in 3m51s
Mirror / github-mirror (push) Successful in 3s
2026-11-08 23:14:55 +01:00
renovate-bot ecdf9f3464 Update dependency @larvit/log to v2.4.0 2026-11-08 23:14:55 +01:00
3 changed files with 3 additions and 13 deletions
+1 -6
View File
@@ -6,13 +6,8 @@
"": {
"name": "plainpages",
"dependencies": {
<<<<<<< HEAD
"@larvit/log": "2.3.0",
"ejs": "7.0.2",
=======
"@larvit/log": "2.4.0",
"ejs": "6.0.1",
>>>>>>> e188bdf (Update dependency @larvit/log to v2.4.0)
"ejs": "7.0.2",
"lucide-static": "1.70.0",
"postgres": "3.4.9"
},
+1 -6
View File
@@ -16,13 +16,8 @@
"test": "node --test \"src/**/*.test.ts\" \"plugins/**/*.test.ts\" \"examples/**/*.test.ts\" \"registry-cleanup/**/*.test.ts\" \"release-tooling/**/*.test.ts\""
},
"dependencies": {
<<<<<<< HEAD
"@larvit/log": "2.3.0",
"ejs": "7.0.2",
=======
"@larvit/log": "2.4.0",
"ejs": "6.0.1",
>>>>>>> e188bdf (Update dependency @larvit/log to v2.4.0)
"ejs": "7.0.2",
"lucide-static": "1.70.0",
"postgres": "3.4.9"
},
+1 -1
View File
@@ -56,7 +56,7 @@ test("createLogger: a set endpoint actually exports log records over OTLP/HTTP",
try {
const log = createLogger({ otlpEndpoint: "http://collector:4318", stderr: () => {}, stdout: () => {} });
log.info("exported");
await new Promise((r) => setTimeout(r, 50)); // export is fire-and-forget in the background
await log.flush(); // the queue batches records for up to a second
} finally {
globalThis.fetch = orig;
}