Release v2.15.2
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 4m34s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 57s

This commit is contained in:
lzstealth committed 2026-10-15 01:50:39 +01:00
1 parent ddcc665f81
commit 7295f83f04
43 files changed
+2526 -104

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ const assert = require('node:assert/strict');
const { pruneStaleOnboardingDevices } = require('../src/db/common');
test('prunes old unbound onboarding devices without deleting completed bindings', async () => {
test('prunes old unbound pairings and stale screen bindings', async () => {
let queryText = '';
const pool = {
async query(sql) {
@@ -16,7 +16,7 @@ test('prunes old unbound onboarding devices without deleting completed bindings'
assert.match(queryText, /screen_id IS NULL/);
assert.match(queryText, /modified_at < \(CURRENT_TIMESTAMP - INTERVAL 15 MINUTE\)/);
assert.match(queryText, /last_seen_at < \(CURRENT_TIMESTAMP - INTERVAL 24 HOUR\)/);
assert.match(queryText, /COALESCE\(last_seen_at, modified_at\) < \(CURRENT_TIMESTAMP - INTERVAL 24 HOUR\)/);
assert.doesNotMatch(queryText, /d_players\.identifier = d_onboarding_devices\.device_id/);
});