gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitb37cc1dab37cc1da|||PR Vendor Hybriel day59Atlasb37cc1da/tests/notify-paths.mjs

20.0 KB

  1. // tests/notify-paths.mjs — calendar#9 (mission 003): WHERE A REMINDER FIRES. Real headless Chrome as a phone (390 px,
  2. // touch, Android Chrome user agent), own ident (tests/identkit.mjs, a copy without .env), own server + storage.
  3. // node tests/notify-paths.mjs [app dir] (default: this tree; give an old tree to see the old behaviour)
  4. // env: NOTIFY_GATE_PORT (app, default 8700; ident = +1; Chrome = +2…+9), NOTIFY_GATE_SCRATCH (where the stores, Chrome
  5. // profiles and screenshots go; default <app>/.scratch/notify-gate).
  6. // Each scenario has its own identity and its own Chrome, so a tab can only ever show ITS user's reminder:
  7. // permission — no permission yet: is "Turn on notifications" offered, does a real tap ask the browser?
  8. // open — the app opened and left open, NOT touched (the phone on the table): does the reminder come?
  9. // touched — the app open and touched once: does it come on time?
  10. // resume — touched, then the phone switches away (Chrome FREEZES the tab, as Android does), back after the reminder time
  11. // discarded — touched, frozen past the reminder time, and Android dropped the tab: coming back loads the app fresh
  12. // closed — touched, then the tab is closed (the browser and its service worker stay): does anything fire?
  13. // Every reminder is "1 minute before" an event 2–3 minutes ahead. What a tab showed is read from the service worker's
  14. // notifications (registration.getNotifications) and from a recorder around showNotification / new Notification.
  15. import { spawn } from 'node:child_process';
  16. import { writeFileSync, existsSync, mkdirSync, rmSync } from 'node:fs';
  17. import { dirname, join, resolve } from 'node:path';
  18. import { fileURLToPath } from 'node:url';
  19. const HERE = dirname(fileURLToPath(import.meta.url));
  20. const APP = resolve(process.argv[2] || resolve(HERE, '..'));
  21. const PORT = Number(process.env.NOTIFY_GATE_PORT || 8700);
  22. const BASE = `http://127.0.0.1:${PORT}`;
  23. const SCRATCH = resolve(process.env.NOTIFY_GATE_SCRATCH || join(APP, '.scratch', 'notify-gate'));
  24. rmSync(SCRATCH, { recursive: true, force: true });
  25. mkdirSync(join(SCRATCH, 'chrome'), { recursive: true });
  26. process.env.TMPDIR = join(SCRATCH, 'chrome'); // cdp.mjs makes the Chrome profiles under the temp dir
  27. if (!process.env.HL_CHROME && existsSync('/opt/google/chrome/chrome')) process.env.HL_CHROME = '/opt/google/chrome/chrome';
  28. const { launchBrowser } = await import('./cdp.mjs');
  29. const { startIdent } = await import('./identkit.mjs');
  30. const IDENT_DIR = process.env.CALENDAR_GATE_IDENT_DIR || [resolve(APP, '../ident.worldapi.org'), '/media/STORAGE/projects/WorldAPI/ident.worldapi.org'].find(d => existsSync(join(d, 'project.hl')));
  31. const ONLY = (process.env.NOTIFY_GATE_ONLY || '').split(',').filter(Boolean);
  32. const sleep = (ms) => new Promise(r => setTimeout(r, ms));
  33. const J = JSON.stringify;
  34. const pad = (n) => String(n).padStart(2, '0');
  35. let failures = 0, passes = 0, gaps = 0;
  36. const results = {};
  37. function check(label, ok, detail = '') {
  38. console.log(`${ok ? 'ok ' : 'FAIL'} ${label}${ok ? '' : ' — ' + detail}`);
  39. if (ok) passes++; else failures++;
  40. }
  41. // what needs a piece Hybriel does not have yet (report 003): printed as GAP, not counted — NOTIFY_GATE_STRICT=1 counts it
  42. function gap(label, ok, detail = '') {
  43. if (ok || process.env.NOTIFY_GATE_STRICT) return check(label, ok, detail);
  44. console.log(`GAP ${label} — ${detail}`);
  45. gaps++;
  46. }
  47. const stamp = () => new Date().toTimeString().slice(0, 8);
  48. const say = (who, what) => console.log(`${stamp()} [${who}] ${what}`);
  49. // the recorder: every notification a page shows, with the time (also the ones a constructor would refuse on Android)
  50. const RECORDER = `(() => {
  51. window.__notes = [];
  52. window.__asked = [];
  53. const R = globalThis.ServiceWorkerRegistration;
  54. if (R && R.prototype.showNotification) { const o = R.prototype.showNotification; R.prototype.showNotification = function (t, x) { window.__notes.push({ via: 'worker', title: t, body: x && x.body, at: Date.now() }); return o.call(this, t, x); }; }
  55. const N = window.Notification;
  56. if (N) {
  57. const W = function (t, x) { window.__notes.push({ via: 'new Notification', title: t, body: x && x.body, at: Date.now() }); return new N(t, x); };
  58. W.prototype = N.prototype;
  59. Object.defineProperty(W, 'permission', { get: () => N.permission });
  60. W.requestPermission = (...a) => { window.__asked.push({ at: Date.now(), active: !!(navigator.userActivation && navigator.userActivation.isActive) }); return N.requestPermission(...a); };
  61. window.Notification = W;
  62. }
  63. })();`;
  64. const ANDROID_UA = 'Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36';
  65. let ident = null, server = null, log = '';
  66. const browsers = [];
  67. async function stopAll() {
  68. for (const b of browsers) { try { await b.close(); } catch {} }
  69. if (ident) { try { await ident.stop(); } catch {} ident = null; }
  70. if (server) {
  71. try { server.kill('SIGTERM'); } catch {}
  72. await new Promise(r => { if (server.exitCode !== null || server.signalCode !== null) return r(); server.once('exit', r); setTimeout(r, 3000); });
  73. server = null;
  74. }
  75. }
  76. async function phone(port) {
  77. const browser = await launchBrowser({ debugPortRange: [port, port] });
  78. browsers.push(browser);
  79. return { browser, page: await tab(browser) };
  80. }
  81. // a tab dressed as the phone's browser
  82. async function tab(browser) {
  83. const page = await browser.newPage();
  84. await page.addInitScript(RECORDER);
  85. await page.send('Emulation.setDeviceMetricsOverride', { width: 390, height: 800, deviceScaleFactor: 2, mobile: true });
  86. await page.send('Emulation.setTouchEmulationEnabled', { enabled: true, maxTouchPoints: 5 });
  87. await page.send('Emulation.setUserAgentOverride', { userAgent: ANDROID_UA, platform: 'Linux armv8l' });
  88. return page;
  89. }
  90. const hydrated = (page) => page.waitFor('!!window.__hl && window.__hl.socket && window.__hl.socket.readyState === 1', { timeout: 120000, label: 'hydrated' });
  91. async function tap(page, sel) {
  92. const at = await page.evaluate(`(() => { const e = document.querySelector(${J(sel)}); if (!e) return null; e.scrollIntoView({ block: 'center' }); const r = e.getBoundingClientRect(); return { x: Math.round(r.x + r.width / 2), y: Math.round(r.y + r.height / 2) }; })()`);
  93. if (!at) throw new Error('tap: no ' + sel);
  94. await page.send('Input.dispatchTouchEvent', { type: 'touchStart', touchPoints: [{ x: at.x, y: at.y }] });
  95. await page.send('Input.dispatchTouchEvent', { type: 'touchEnd', touchPoints: [] });
  96. }
  97. const shownBy = (page) => page.evaluate(`navigator.serviceWorker.getRegistration().then(r => r ? r.getNotifications() : []).then(l => l.map(n => n.title + '|' + n.body))`);
  98. const recorded = (page) => page.evaluate('window.__notes || []');
  99. const planned = (page) => page.evaluate(`(document.querySelector('#notify-planned') || {}).textContent || ''`);
  100. const shot = async (page, name) => { const { data } = await page.send('Page.captureScreenshot', { format: 'png' }); writeFileSync(join(SCRATCH, `${name}.png`), Buffer.from(data, 'base64')); };
  101. // a signed-in phone of `who` with permission given (as after "Allow"), and its event `title`: start 2–3 min ahead,
  102. // own reminder 1 minute before. Returns the reminder's instant.
  103. async function setUp(name, who, port, { grant = true } = {}) {
  104. const { page } = await phone(port);
  105. if (grant) await page.send('Browser.grantPermissions', { origin: BASE, permissions: ['notifications'] });
  106. const code = await ident.selectorCode(who, APPKEY, BASE);
  107. await page.goto(BASE + '/login/callback?ident_code=' + code, { timeout: 120000 });
  108. await page.waitForSelector('#logout', { timeout: 60000 });
  109. await hydrated(page);
  110. await page.waitFor(`navigator.serviceWorker.getRegistration().then(r => !!(r && r.active))`, { label: 'service worker active', timeout: 60000 });
  111. return page;
  112. }
  113. async function addEvent(page, title) {
  114. const zone = await page.evaluate('Intl.DateTimeFormat().resolvedOptions().timeZone');
  115. const now = Date.now();
  116. const start = new Date(Math.ceil((now + 150000) / 60000) * 60000); // a whole minute, ≥ 2.5 min ahead
  117. const remindAt = start.getTime() - 60000;
  118. const dateOf = (d) => `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
  119. const cookie = (await page.cookies([BASE])).map(c => c.name + '=' + c.value).join('; ');
  120. const win = [dateOf(new Date(now - 86400000 * 3)), dateOf(new Date(now + 86400000 * 9))];
  121. const fields = { title, allDay: false, startDate: dateOf(start), startTime: `${pad(start.getHours())}:${pad(start.getMinutes())}`, endDate: '', endTime: '', place: '', notes: '', zone, custom: true, reminders: [{ unit: 'minutes', n: '1', time: '09:00' }] };
  122. const r = await fetch(BASE + '/__hl/emit', { method: 'POST', headers: { 'content-type': 'application/json', cookie }, body: J({ t: 'emit', i: 1, event: 'calSave', payload: [fields, win[0], win[1]] }) });
  123. const j = JSON.parse(await r.text());
  124. if (!j.value || j.value.error) throw new Error('calSave: ' + r.status + ' ' + J(j));
  125. return remindAt;
  126. }
  127. const until = async (t) => { const w = t - Date.now(); if (w > 0) await sleep(w); };
  128. const seen = (list, title) => list.some(g => g.startsWith(title + '|'));
  129. const recSeen = (list, title) => list.find(n => n.title === title);
  130. const late = (n, at) => n ? Math.round((n.at - at) / 1000) + ' s after the reminder time' : 'not shown';
  131. let APPKEY = null;
  132. const scenarios = {
  133. // ---- no permission yet: the button and the browser's question ----
  134. async permission(who, port) {
  135. const page = await setUp('permission', who, port, { grant: false });
  136. const before = await page.evaluate(`({ ask: !document.querySelector('#notify-ask').classList.contains('hidden'), permission: Notification.permission })`);
  137. await shot(page, 'permission-1-loaded');
  138. await tap(page, '#month-title');
  139. await sleep(1500);
  140. const afterTouch = await page.evaluate(`!document.querySelector('#notify-ask').classList.contains('hidden')`);
  141. let asked = [];
  142. // the controls live in the reminder settings (C13): user menu → "Reminder settings" → the notifications section
  143. if (afterTouch) { await tap(page, '#settings-open'); await sleep(1200); await tap(page, '#notify-ask'); await sleep(2000); asked = await page.evaluate('window.__asked'); }
  144. await shot(page, 'permission-2-touched');
  145. results.permission = { before, afterTouch, asked };
  146. say('permission', J(results.permission));
  147. gap('permission: "Turn on notifications" is offered as soon as the page shows (no touch needed; Hybriel: no hook when a page is shown)', before.ask === true, 'button hidden until the first touch: ' + J(before));
  148. check('permission: a real tap on it asks the browser, while the tap still counts as a user gesture', asked.length > 0 && asked[0].active, J({ afterTouch, asked }));
  149. },
  150. // ---- the app open and left alone ----
  151. async open(who, port) {
  152. const page = await setUp('open', who, port);
  153. const at = await addEvent(page, 'Open untouched');
  154. await page.goto(BASE + '/', { timeout: 120000 });
  155. await hydrated(page);
  156. await sleep(3000);
  157. const p0 = await planned(page);
  158. say('open', `loaded, not touched; planned text "${p0}"; reminder at ${new Date(at).toTimeString().slice(0, 8)}`);
  159. await until(at + 25000);
  160. const rec = await recorded(page), sw = await shownBy(page);
  161. await shot(page, 'open-untouched');
  162. results.open = { planned: p0, recorded: rec, shown: sw, at };
  163. gap('open (not touched): the reminder comes on time (Hybriel: no hook when a page is shown)', !!recSeen(rec, 'Open untouched') && seen(sw, 'Open untouched') && recSeen(rec, 'Open untouched').at - at < 20000, J({ planned: p0, shown: sw, rec }));
  164. },
  165. // ---- open and touched once ----
  166. async touched(who, port) {
  167. const page = await setUp('touched', who, port);
  168. const at = await addEvent(page, 'Open touched');
  169. await page.goto(BASE + '/', { timeout: 120000 });
  170. await hydrated(page);
  171. await tap(page, '#month-title');
  172. await page.waitFor(`document.querySelector('#notify-planned').textContent.length > 0`, { timeout: 20000, label: 'planned' }).catch(() => {});
  173. const p0 = await planned(page);
  174. say('touched', `touched; planned "${p0}"`);
  175. await until(at + 25000);
  176. const rec = await recorded(page), sw = await shownBy(page);
  177. results.touched = { planned: p0, recorded: rec, shown: sw, at };
  178. check('open (touched once): the reminder comes on time, through the service worker', !!recSeen(rec, 'Open touched') && recSeen(rec, 'Open touched').via === 'worker' && seen(sw, 'Open touched') && recSeen(rec, 'Open touched').at - at < 20000, J({ planned: p0, shown: sw, rec }));
  179. // loaded again before the event starts: what was shown is not shown a second time
  180. await page.goto(BASE + '/', { timeout: 120000 });
  181. await hydrated(page);
  182. await tap(page, '#month-title');
  183. await sleep(5000);
  184. const again = await recorded(page);
  185. check('open (touched once): loaded again, a reminder already shown is not shown twice', !recSeen(again, 'Open touched'), J(again));
  186. },
  187. // ---- switched away (frozen), back later in the same tab ----
  188. async resume(who, port) {
  189. const page = await setUp('resume', who, port);
  190. const at = await addEvent(page, 'Back later');
  191. await page.goto(BASE + '/', { timeout: 120000 });
  192. await hydrated(page);
  193. await tap(page, '#month-title');
  194. await page.waitFor(`document.querySelector('#notify-planned').textContent.length > 0`, { timeout: 20000, label: 'planned' }).catch(() => {});
  195. say('resume', `touched; planned "${await planned(page)}"; now frozen (switched away)`);
  196. await page.send('Page.setWebLifecycleState', { state: 'frozen' });
  197. await until(at + 30000);
  198. await page.send('Page.setWebLifecycleState', { state: 'active' });
  199. say('resume', 'back (active)');
  200. await sleep(15000);
  201. const rec = await recorded(page), sw = await shownBy(page);
  202. results.resume = { recorded: rec, shown: sw, at };
  203. const n = recSeen(rec, 'Back later');
  204. say('resume', 'notification: ' + late(n, at));
  205. check('switched away: the reminder is shown at the latest when the app is back', !!n && seen(sw, 'Back later'), J({ shown: sw, rec }));
  206. check('switched away: shown once', rec.filter(x => x.title === 'Back later').length === 1 || sw.filter(g => g.startsWith('Back later|')).length === 1, J(rec));
  207. },
  208. // ---- switched away, the tab dropped by Android: back = a fresh load ----
  209. async discarded(who, port) {
  210. const page = await setUp('discarded', who, port);
  211. const at = await addEvent(page, 'Tab dropped');
  212. await page.goto(BASE + '/', { timeout: 120000 });
  213. await hydrated(page);
  214. await tap(page, '#month-title');
  215. await page.waitFor(`document.querySelector('#notify-planned').textContent.length > 0`, { timeout: 20000, label: 'planned' }).catch(() => {});
  216. say('discarded', `touched; planned "${await planned(page)}"; frozen, then dropped`);
  217. await page.send('Page.setWebLifecycleState', { state: 'frozen' });
  218. await until(at + 30000);
  219. // Android dropped the frozen tab; coming back loads the app as a fresh document
  220. const browser = browsers.find(b => b.pages.includes(page));
  221. await page.close();
  222. browser.pages = browser.pages.filter(p => p !== page);
  223. const back = await tab(browser);
  224. await back.send('Browser.grantPermissions', { origin: BASE, permissions: ['notifications'] }); // a CDP grant ends with its tab; a real one stays
  225. await back.goto(BASE + '/', { timeout: 120000 });
  226. await hydrated(back);
  227. await tap(back, '#month-title');
  228. await sleep(15000);
  229. const rec = await recorded(back), sw = await shownBy(back);
  230. await shot(back, 'discarded-back');
  231. if (process.env.NOTIFY_GATE_DEBUG) console.log('[discarded] console:\n' + back.dumpConsole() + '\nlocalStorage ' + J(await back.evaluate('JSON.stringify(localStorage)')) + ' permission ' + await back.evaluate('Notification.permission'));
  232. results.discarded = { recorded: rec, shown: sw, at };
  233. say('discarded', 'notification: ' + J(sw));
  234. check('tab dropped while away: coming back shows the missed reminder, saying when the event starts', sw.some(g => /^Tab dropped\|Starts at \d\d:\d\d$/.test(g)), J({ shown: sw, rec }));
  235. },
  236. // ---- the tab closed; the browser and the worker stay ----
  237. async closed(who, port) {
  238. const page = await setUp('closed', who, port);
  239. const at = await addEvent(page, 'App closed');
  240. await page.goto(BASE + '/', { timeout: 120000 });
  241. await hydrated(page);
  242. await tap(page, '#month-title');
  243. await page.waitFor(`document.querySelector('#notify-planned').textContent.length > 0`, { timeout: 20000, label: 'planned' }).catch(() => {});
  244. say('closed', `touched; planned "${await planned(page)}"; closing the tab`);
  245. const browser = browsers.find(b => b.pages.includes(page));
  246. await page.close();
  247. browser.pages = browser.pages.filter(p => p !== page);
  248. await until(at + 25000);
  249. // a same-origin page that is NOT the app (an icon) reads what the worker shows
  250. const look = await browser.newPage();
  251. await look.goto(BASE + '/icons/icon-192.png', { timeout: 60000 });
  252. const sw = await shownBy(look);
  253. results.closed = { shown: sw, at };
  254. say('closed', 'shown: ' + J(sw));
  255. gap('closed app: the reminder comes on time (needs Web Push: Hybriel has no VAPID/ECDH/AES-GCM and no worker push listener)', seen(sw, 'App closed'), J(sw));
  256. // opened again before the event starts: the missed reminder shows at once
  257. await look.close();
  258. browser.pages = browser.pages.filter(p => p !== look);
  259. const back = await tab(browser);
  260. await back.send('Browser.grantPermissions', { origin: BASE, permissions: ['notifications'] }); // a CDP grant ends with its tab; a real one stays
  261. await back.goto(BASE + '/', { timeout: 120000 });
  262. await hydrated(back);
  263. await tap(back, '#month-title');
  264. await sleep(10000);
  265. const sw2 = await shownBy(back), rec2 = await recorded(back);
  266. await shot(back, 'closed-reopened');
  267. say('closed', 'reopened: ' + J(sw2));
  268. results.closedReopened = { shown: sw2, recorded: rec2, reopenedAfter: Math.round((Date.now() - at) / 1000) };
  269. check('closed app, opened again before the event: the missed reminder shows at once', sw2.some(g => /^App closed\|Starts at \d\d:\d\d$/.test(g)) && !!recSeen(rec2, 'App closed'), J({ sw2, rec2 }));
  270. },
  271. };
  272. async function main() {
  273. mkdirSync(join(SCRATCH, 'store'), { recursive: true });
  274. ident = await startIdent({ identDir: IDENT_DIR, workDir: join(SCRATCH, 'store', 'ident'), port: PORT + 1 });
  275. const names = Object.keys(scenarios).filter(n => !ONLY.length || ONLY.includes(n));
  276. const who = {};
  277. for (const n of names) who[n] = await ident.signIn(n + '@example.org');
  278. APPKEY = await ident.registerApp(who[names[0]], 'calendar (notify gate)', [BASE]);
  279. server = spawn(join(APP, 'bin/hybriel'), ['project.hl'], { cwd: APP, env: { ...process.env, CALENDAR_PORT: String(PORT), HL_HOST: '127.0.0.1', CALENDAR_SESSIONS: join(SCRATCH, 'store', 'sessions') + '/',
  280. CALENDAR_STORAGE: join(SCRATCH, 'store', 'mpackdb'), CALENDAR_WATCH: '0', CALENDAR_PUBLIC_URL: BASE, IDENT_URL: ident.base, IDENT_EXCHANGE_URL: ident.base,
  281. IDENT_API_KEY: APPKEY.key, IDENT_API_SECRET: APPKEY.secret }, stdio: ['ignore', 'pipe', 'pipe'] });
  282. server.stdout.on('data', d => log += d); server.stderr.on('data', d => log += d);
  283. mkdirSync(join(SCRATCH, 'store', 'sessions'), { recursive: true });
  284. for (let i = 0; ; i++) { // a cold compile takes up to 41 s: wait up to 150 s
  285. try { if ((await fetch(BASE + '/')).ok) break; } catch {}
  286. if (i > 600) throw new Error('server did not come up\n' + log);
  287. await sleep(250);
  288. }
  289. say('gate', `app ${APP} up; scenarios ${names.join(' ')}`);
  290. // all scenarios at once, each in its own Chrome (ports PORT+2 …)
  291. const runs = names.map((n, i) => scenarios[n](who[n], PORT + 2 + i).catch(e => check(n + ' ran', false, String(e && e.stack || e))));
  292. await Promise.all(runs);
  293. }
  294. try { await main(); } catch (e) { check('gate ran', false, String(e && e.stack || e)); }
  295. writeFileSync(join(SCRATCH, 'results.json'), J(results, null, 1));
  296. if (failures) console.log('---- server log (tail)\n' + log.slice(-2000));
  297. await stopAll();
  298. console.log(`${passes} passed, ${failures} failed, ${gaps} Hybriel gaps (app ${APP})`);
  299. process.exit(failures ? 1 : 0);

Branches

Latest commits

  • b37cc1da|||PR Vendor Hybriel day59Atlas
  • 05665102Merge branch 'vendor-day56' into mainAtlas
  • 687296fb|||PR Vendor Hybriel day56Atlas
  • a6166d4eMerge branch 'hl-standard-3' into mainAtlas
  • 6d0eb3b0|||PR Calendar day add buttons only when signed in (Kunibert minor)Atlas
  • add4b499|||PR Make calendar day actions keyboard accessibleAtlas
  • 79e49b4dMerge branch 'hl-standard' into mainAtlas
  • e9fec7bb|||PR HL-STANDARD clean-up: typed parameters, plain locals, by-reference cacheAtlas
  • eff166a4Re-vendor complete Hybriel plugins and runtime to day44mre
  • cef81394Wait for the DST fixture page instead of an unused socketmre
  • 42434f47Check lazy-session cookies after login with a stored anonymous fixturemre
  • 728e84e3Re-vendor complete Hybriel day41 plugin directoriesmre
  • cbd7ff43Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 59d1da0acalendar: plain declarations instead of needless let in 9 files (calendar#17): 49 declarations that are never reassigned; reassigned ones and the timer closure's p stay letmre
  • f5415cf9calendar: the Style blocks in the language's nested form (calendar#16): rules named after the View's own elements with their children nested, pseudo-classes and @media nested, merged duplicate select rule; same CSS, shots identical in Chrome at 4 sizesmre
  • edb7c947calendar: the sign-in callback keeps the session it finds and signs it in (same cookie, nothing signed out; ident#28); security gate 56+4 failing → 60 passedmre
  • bf8cc0fcStyles move into their components: the shell's styles into main.hl, the events and the editors into the month view's Style block; styles.hl keeps only the theme inherit, the accent and the message line; .gitignore ignores a bin symlink too; tests/styles-shots.mjs for the before/after pixel comparemre
  • 5d8579d7README: login.js stays by caramboleyo's explicit rulemre
  • cc759328Merge sb3-standby: calendar deploys through its standbymre
  • f2fcdc6dcalendar: a standby container (port 45015, profile standby, reminder clock off) and a /health page; deploy hands over through standby-swap.sh without a gapmre