Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
feat(relay): raise shared snapshot limits [H5,H15,H17]
Corey Olson3f60def29a8c
diff --git a/relay/browser-client.js b/relay/browser-client.jsindex 7164fe81..79788402 100644--- a/relay/browser-client.js+++ b/relay/browser-client.js@@ -5,6 +5,7 @@ import { preparePersonRequest, validatePersonRequest } from './person-request.jsimport { snapshotState, presentationState } from './model.js';import { ENGINE_VERSION } from './engine.js';import { Refused } from './refused.js';+import { SNAPSHOT_BODY_BYTES } from './relay-limits.js';import { enqueueStream, followStream } from './browser-stream.js';import { emptyBoardStep, homeLineDismissed, homeScreenLine, noticeLines, rememberOwnedRequestId, showRelayScreen, storedOwnedRequestState } from './browser-notice.js';import { registerApp, requestPairingPersistence } from './install.js';@@ -50,7 +51,7 @@ function takePairing() {/** Decode canonical sealed transport bytes without putting their value in an error. */function transportBytes(value) {- if (typeof value !== 'string' || !/^[A-Za-z0-9_-]+$/.test(value) || value.length > 14000000) throw new Error('The sealed board response is invalid. Refresh this board.');+ if (typeof value !== 'string' || !/^[A-Za-z0-9_-]+$/.test(value) || value.length > SNAPSHOT_BODY_BYTES) throw new Error('The sealed board response is invalid. Refresh this board.');const binary = atob(value.replaceAll('-', '+').replaceAll('_', '/') + '='.repeat((4 - value.length % 4) % 4));return Uint8Array.from(binary, character => character.charCodeAt(0));}diff --git a/relay/browser-page.js b/relay/browser-page.jsindex 9f80fdc7..ad56b127 100644--- a/relay/browser-page.js+++ b/relay/browser-page.js@@ -49,6 +49,7 @@ export function createRelayBrowserHandler({ authenticate }) {['/relay/browser-devices.js', ['text/javascript', readFileSync(new URL('./browser-devices.js', import.meta.url), 'utf8')]],['/relay/browser-approval-card.js', ['text/javascript', readFileSync(new URL('./browser-approval-card.js', import.meta.url), 'utf8')]],['/relay/client.js', ['text/javascript', readFileSync(new URL('./browser-client.js', import.meta.url), 'utf8')]],+ ['/relay/relay-limits.js', ['text/javascript', readFileSync(new URL('../src/relay-limits.js', import.meta.url), 'utf8')]],['/relay/sign-in.js', ['text/javascript', SIGN_IN_TRANSPORT]],['/relay/browser-notice.js', ['text/javascript', readFileSync(new URL('./browser-notice.js', import.meta.url), 'utf8')]],['/relay/browser-deadline.js', ['text/javascript', readFileSync(new URL('./browser-deadline.js', import.meta.url), 'utf8').replace("'../src/refused.js'", "'./refused.js'")]],diff --git a/relay/journal.js b/relay/journal.jsindex 415d3aba..299b7247 100644--- a/relay/journal.js+++ b/relay/journal.js@@ -3,6 +3,7 @@ import { DatabaseSync } from 'node:sqlite';import { closeSync, lstatSync, mkdirSync, openSync } from 'node:fs';import { join, resolve } from 'node:path';import { Refused } from '../src/refused.js';+import { SEALED_SNAPSHOT_BYTES } from '../src/relay-limits.js';const FORMAT = 3;const DEFAULT_BYTES = 100_000;@@ -21,7 +22,7 @@ function identity(value) {export function createRelayJournal({ directory, boardId, maxBytes = DEFAULT_BYTES, now = () => new Date() }) {const id = identity(boardId);if (typeof directory !== 'string' || !directory.trim() || typeof now !== 'function') throw new Refused('RELAY_CONFIG', 'configure a private journal directory and clock');- if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 10_000_000) throw new Refused('RELAY_CONFIG', 'bound each opaque upload between one and ten million bytes');+ if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > SEALED_SNAPSHOT_BYTES) throw new Refused('RELAY_CONFIG', 'bound each opaque upload to the shared snapshot limit');const root = resolve(directory);mkdirSync(root, { recursive: true, mode: 0o700 });const parent = lstatSync(root);diff --git a/relay/pairing-http.js b/relay/pairing-http.jsindex 48367860..6cf49ce2 100644--- a/relay/pairing-http.js+++ b/relay/pairing-http.js@@ -1,8 +1,9 @@/** Authenticated, no-store HTTP boundary for one-use client-encrypted pairing envelopes [H15,H17]. */import { apiJson, apiRefusal, apiStatus, readApiBody } from '../src/api-http.js';import { Refused } from '../src/refused.js';+import { PAIR_PACKAGE_BODY_BYTES } from '../src/relay-limits.js';-const PAIR_BODY = 20_000_000;+const PAIR_BODY = PAIR_PACKAGE_BODY_BYTES;const ROUTE = /^\/api\/v1\/pairings\/([0-9a-f]{32})\/([A-Za-z0-9_-]{22})(\/consume)?$/;/** Accept only the small exact body shape; do not let callers attach tokens or board metadata. */diff --git a/relay/pairing-store.js b/relay/pairing-store.jsindex 7ddacb28..7328d249 100644--- a/relay/pairing-store.js+++ b/relay/pairing-store.js@@ -1,11 +1,12 @@/** Short-lived opaque pairing envelopes; relay storage never receives or derives the code secret [H15,H17]. */import { Refused } from '../src/refused.js';+import { PAIR_ENVELOPE_BYTES, PAIR_STORED_BYTES } from '../src/relay-limits.js';const TEN_MINUTES = 10 * 60_000;const TOMBSTONE_MINUTES = 10 * 60_000;const MAX_CODES = 10_000;-const MAX_ENVELOPE_BYTES = 19_000_000;-const MAX_STORED_BYTES = 50_000_000;+const MAX_ENVELOPE_BYTES = PAIR_ENVELOPE_BYTES;+const MAX_STORED_BYTES = PAIR_STORED_BYTES;const LOCATOR = /^[A-Za-z0-9_-]{22}$/;/** Validate opaque ciphertext transport without parsing or logging its contents. */diff --git a/relay/retention.js b/relay/retention.jsindex 45c7da84..d0260b31 100644--- a/relay/retention.js+++ b/relay/retention.js@@ -4,6 +4,7 @@ import { randomUUID } from 'node:crypto';import { closeSync, linkSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from 'node:fs';import { join, resolve } from 'node:path';import { Refused } from '../src/refused.js';+import { SEALED_SNAPSHOT_BYTES } from '../src/relay-limits.js';import { createRelayJournal } from './journal.js';const DAY = 86_400_000;@@ -78,7 +79,7 @@ export function createRelayRetention({ directory, backupsDirectory = directory +if (!Number.isSafeInteger(link.linkedAt) || link.linkedAt < 0) throw new Refused('RELAY_CLOCK', 'restore a valid link time before retention maintenance');return link.linkedAt;}- const journal = createRelayJournal({ directory: root, boardId: link.id, maxBytes: 10_000_000 });+ const journal = createRelayJournal({ directory: root, boardId: link.id, maxBytes: SEALED_SNAPSHOT_BYTES });try {const activity = journal.activity();const at = activity === null ? link.linkedAt : Date.parse(activity);diff --git a/relay/service.js b/relay/service.jsindex 2ba41135..21cadefe 100644--- a/relay/service.js+++ b/relay/service.js@@ -13,9 +13,10 @@ import { createPairingStore } from './pairing-store.js';import { createPairingHandler } from './pairing-http.js';import { createRelayBrowserHandler } from './browser-page.js';import { VERIFIER_STANDING_ENGINE } from '../src/machine.js';+import { SEALED_SNAPSHOT_BYTES, SNAPSHOT_BODY_BYTES } from '../src/relay-limits.js';-const SNAPSHOT_BODY = 14_000_000;-const STORED_BYTES = 10_000_000;+const SNAPSHOT_BODY = SNAPSHOT_BODY_BYTES;+const STORED_BYTES = SEALED_SNAPSHOT_BYTES;/** Validate a board identity before deriving its private, internal database path. */function identity(id) {diff --git a/src/api-http.js b/src/api-http.jsindex d6213b0a..3c2d3024 100644--- a/src/api-http.js+++ b/src/api-http.js@@ -2,6 +2,7 @@import { Refused } from './refused.js';import { refusalDocument } from './json.js';import { withGitFacts } from './git.js';+import { PAIR_PACKAGE_BODY_BYTES } from './relay-limits.js';const BODY_BYTES = 100_000;@@ -25,7 +26,7 @@ function jsonState(res, status, state, eventLogVersion) {/** Read a bounded JSON object, draining oversize requests so a refusal reaches the caller. */async function readBody(req, { maxBytes = BODY_BYTES } = {}) {- if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 20_000_000) throw new TypeError('API body limit needs a positive safe integer no larger than twenty million');+ if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > PAIR_PACKAGE_BODY_BYTES) throw new TypeError('API body limit needs a positive safe integer within the shared request limit');if (!/^application\/json(?:\s*;|$)/i.test(String(req.headers['content-type'] ?? ''))) throw new Refused('BAD_REQUEST', 'send an application/json object as the request body');const chunks = [];let size = 0;diff --git a/src/pairing.js b/src/pairing.jsindex 3554276b..80d8166e 100644--- a/src/pairing.js+++ b/src/pairing.js@@ -5,12 +5,12 @@ import {} from 'node:crypto';import { ENGINE_VERSION } from './machine.js';import { Refused } from './refused.js';+import { PAIR_PACKAGE_BYTES as MAX_PACKAGE_BYTES } from './relay-limits.js';const LOCATOR = /^[A-Za-z0-9_-]{22}$/;const SECRET = /^[A-Za-z0-9_-]{43}$/;const KEY = /^[A-Za-z0-9_-]{43}$/;const REPOSITORY = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;-const MAX_PACKAGE_BYTES = 14_000_000;/** Refuse noncanonical unpadded base64url instead of accepting aliases for a pairing secret. */function decode(encoded, bytes, code, next) {diff --git a/src/relay-limits.js b/src/relay-limits.jsnew file mode 100644index 00000000..2c237ced--- /dev/null+++ b/src/relay-limits.js@@ -0,0 +1,7 @@+/** Shared decoded payload, request-body and pairing-package limits for every relay client. */+export const SEALED_SNAPSHOT_BYTES = 64_000_000;+export const SNAPSHOT_BODY_BYTES = 90_000_000;+export const PAIR_PACKAGE_BYTES = 90_000_000;+export const PAIR_ENVELOPE_BYTES = PAIR_PACKAGE_BYTES + 28;+export const PAIR_PACKAGE_BODY_BYTES = Math.ceil(PAIR_ENVELOPE_BYTES * 4 / 3) + 32;+export const PAIR_STORED_BYTES = PAIR_ENVELOPE_BYTES * 3;diff --git a/src/relay.js b/src/relay.jsindex 3f0bd09b..b14f3011 100644--- a/src/relay.js+++ b/src/relay.js@@ -14,6 +14,7 @@ import {writeFileSync,} from 'node:fs';import { hostname } from 'node:os';+import { SEALED_SNAPSHOT_BYTES as SEALED_SNAPSHOT_LIMIT } from './relay-limits.js';import {basename,dirname,@@ -103,7 +104,6 @@ import {import { listApiProjects } from './projects.js';export const DEFAULT_RELAY = 'https://app.pullboard.dev';-const SEALED_SNAPSHOT_LIMIT = 10_000_000;const LINK_FILES = new WeakMap();const WARNED_COMMANDS = new WeakSet();const KEY_WARNED_COMMANDS = new WeakSet();diff --git a/test/pairing.test.js b/test/pairing.test.jsindex 7b177be1..b005587a 100644--- a/test/pairing.test.js+++ b/test/pairing.test.js@@ -13,6 +13,7 @@ import { createPairingStore } from '../relay/pairing-store.js';import { createPairingHandler } from '../relay/pairing-http.js';import { createRelayHandler } from '../relay/service.js';import { Refused } from '../src/refused.js';+import { PAIR_PACKAGE_BYTES } from '../src/relay-limits.js';import { relayClientFixture } from './relay-client-fixture.js';const BOARD = '0123456789abcdef0123456789abcdef';@@ -135,7 +136,7 @@ test('[H15,H17] package validation excludes sender credentials and validates relawait assert.rejects(sealPairingBundle(code, invalid), { code: 'PAIR_PACKAGE' });}const oversized = bundle({ snapshot: { version: 1, tables: {- board_meta: [{ meta_key: 'board_id', meta_value: BOARD }], event: [{ event_id: 14 }], marker: [{ value: 'x'.repeat(14_000_000) }],+ board_meta: [{ meta_key: 'board_id', meta_value: BOARD }], event: [{ event_id: 14 }], marker: [{ value: 'x'.repeat(PAIR_PACKAGE_BYTES + 1) }],} } });await assert.rejects(sealPairingBundle(code, oversized), { code: 'PAIR_PACKAGE_SIZE' });for (const invalid of ['', 'abc', 'x'.repeat(98), BOARD + '.A'.repeat(22) + '.B'.repeat(43), null]) {@@ -194,7 +195,12 @@ test('[H15,H17] pairing HTTP authenticates repository access before publishing oif (req.headers.authorization !== 'Bearer receiver-session') throw new Refused('AUTH_REQUIRED', 'sign in');});const issued = createPairingCode(BOARD);- const sealed = await sealPairingBundle(issued.code, bundle());+ const larger = bundle({ snapshot: { version: 1, tables: {+ board_meta: [{ meta_key: 'board_id', meta_value: BOARD }], event: [{ event_id: 14 }], marker: [{ value: 'x'.repeat(20_000_000) }],+ } } });+ const sealed = await sealPairingBundle(issued.code, larger);+ assert.ok(Buffer.byteLength(JSON.stringify({ sealed })) > 20_000_000, 'the encrypted package exceeds the former HTTP body bound');+ assert.ok(Buffer.byteLength(sealed, 'base64url') > 19_000_000, 'the decoded package exceeds the former envelope bound');const base = origin + '/api/v1/pairings/' + BOARD + '/' + issued.locator;const publish = await fetch(base, {method: 'POST', headers: { authorization: 'Bearer receiver-session', 'content-type': 'application/json' },@@ -218,7 +224,7 @@ test('[H15,H17] pairing HTTP authenticates repository access before publishing oconst response = await consumed.json();assert.equal(response.sealed, sealed);assert.ok(!JSON.stringify(response).includes(issued.secret), 'HTTP returns opaque ciphertext only');- assert.deepEqual(await openPairingBundle(issued.code, response.sealed), bundle(),+ assert.deepEqual(await openPairingBundle(issued.code, response.sealed), larger,'the authorized receiver can decrypt the same package after the rejected attempt');assert.ok(checks.every((check) => check.board === BOARD && check.write === false));diff --git a/test/relay-snapshot-size.test.js b/test/relay-snapshot-size.test.jsindex 2fd96d1c..fe751233 100644--- a/test/relay-snapshot-size.test.js+++ b/test/relay-snapshot-size.test.js@@ -8,12 +8,12 @@ import { test } from 'node:test';import * as store from '../src/board.js';import { decodeBoardKey, seal, unseal } from '../src/seal.js';import { ENGINE_VERSION } from '../src/machine.js';+import { SEALED_SNAPSHOT_BYTES as RELAY_LIMIT, SNAPSHOT_BODY_BYTES as BODY_LIMIT } from '../src/relay-limits.js';import { presentationDigest, relaySnapshot } from '../src/relay-presentation.js';import { relayClientFixture } from './relay-client-fixture.js';import { findChromeExecutable, startChrome } from './relay-browser-fixture.js';-const RELAY_LIMIT = 10_000_000;-const BODY_LIMIT = 14_000_000;+const LEGACY_BODY_THRESHOLD = 14_000_000;/** Preserve every SQLite value while normalizing row prototypes for JSON transport comparisons. */function plainRows(rows) { return rows.map(row => ({ ...row })); }@@ -45,6 +45,36 @@ async function sealedSnapshot(box, document, sequence, compressed) {return Buffer.from(await seal(key, plaintext, { boardId: state.board, kind: 'snapshot', sequence })).toString('base64url');}+test('a 20 MB sealed snapshot syncs to the relay and reads back whole [H5,H15,H17]', { timeout: 180_000 }, async t => {+ const box = await relayClientFixture(t);+ await box.link();+ const local = store.openBoard(join(box.root, '.git/pullboard/board.sqlite'));+ try {+ store.shout(local, { from: 'coordinator', to: 'all', text: 'LARGE_SEALED_SNAPSHOT_' + randomBytes(14_000_000).toString('base64url'), lanes: [box.lane] });+ } finally { store.closeBoard(local); }++ const state = JSON.parse(readFileSync(box.linkFile, 'utf8'));+ const sealed = await sealedSnapshot(box, relaySnapshot(box.root), state.sequence, true);+ const sealedBytes = Buffer.from(sealed, 'base64url');+ assert.ok(sealedBytes.byteLength > 20_000_000, 'the gzip snapshot exceeds 20,000,000 decoded bytes');+ assert.ok(sealedBytes.byteLength < RELAY_LIMIT, 'the gzip snapshot remains within the shared decoded limit');+ const requestBody = JSON.stringify({ sequence: state.sequence, sealed });+ assert.ok(Buffer.byteLength(requestBody) < BODY_LIMIT, 'the base64 request fits the shared HTTP body limit');++ const path = box.origin + '/api/v1/boards/' + state.board + '/state';+ const headers = { authorization: 'Bearer ' + state.token, 'x-pullboard-engine': String(ENGINE_VERSION), 'content-type': 'application/json' };+ const upload = await fetch(path, { method: 'PUT', headers, body: requestBody });+ const accepted = await upload.json();+ assert.equal(upload.status, 200, 'the real local relay accepts the >20 MB sealed snapshot: ' + JSON.stringify(accepted));+ assert.equal(accepted.state.sealed, sealed, 'the accepted response preserves every sealed byte');++ const read = await fetch(path, { headers: { authorization: headers.authorization, 'x-pullboard-engine': headers['x-pullboard-engine'] } });+ assert.equal(read.status, 200, 'the real local relay serves the stored large snapshot');+ const returned = await read.json();+ assert.equal(returned.state.sealed, sealed, 'a readback returns the exact sealed snapshot bytes');+ assert.deepEqual(Buffer.from(returned.state.sealed, 'base64url'), sealedBytes);+});+test('a large board syncs to the relay compressed [H5,H15,H17]', {skip: !findChromeExecutable() && 'Chrome is not installed',}, async t => {@@ -108,9 +138,9 @@ test('a large board syncs to the relay compressed [H5,H15,H17]', {}} finally { store.closeBoard(native); }const before = relaySnapshot(box.root);- assert.ok(Buffer.byteLength(JSON.stringify(before)) > BODY_LIMIT, 'the uncompressed snapshot exceeds the unchanged relay body limit');+ assert.ok(Buffer.byteLength(JSON.stringify(before)) > LEGACY_BODY_THRESHOLD, 'the legacy uncompressed snapshot exceeds the former body bound');const uncompressedSealed = await sealedSnapshot(box, before, JSON.parse(readFileSync(box.linkFile, 'utf8')).sequence, false);- assert.ok(Buffer.from(uncompressedSealed, 'base64url').byteLength > BODY_LIMIT, 'the actual legacy sealed snapshot exceeds the relay body limit before base64 framing');+ assert.ok(Buffer.from(uncompressedSealed, 'base64url').byteLength > LEGACY_BODY_THRESHOLD, 'the uncompressed legacy seal exceeds the former body bound');assert.equal((await box.cli('status')).code, 0, 'the local CLI publishes a compressed pending snapshot');assert.equal((await box.cli('add', box.lane, 'advance compressed snapshot')).code, 0, 'an acknowledged move advances the relay snapshot cursor');@@ -120,7 +150,7 @@ test('a large board syncs to the relay compressed [H5,H15,H17]', {const uploadBody = JSON.parse(snapshotRequest.request.toString('utf8'));const sealedBytes = Buffer.from(uploadBody.sealed, 'base64url');assert.ok(sealedBytes.byteLength < RELAY_LIMIT, 'the opaque compressed snapshot fits the decoded journal limit');- assert.ok(snapshotRequest.request.byteLength < BODY_LIMIT, 'the base64 transport body fits the unchanged request limit');+ assert.ok(snapshotRequest.request.byteLength < BODY_LIMIT, 'the base64 transport body fits the shared request limit');const boardKey = decodeBoardKey(readFileSync(box.keyFile, 'utf8').trim());const plaintext = await unseal(boardKey, sealedBytes, { boardId: JSON.parse(readFileSync(box.linkFile, 'utf8')).board, kind: 'snapshot', sequence: uploadBody.sequence });assert.deepEqual(plainTables(JSON.parse(gunzipSync(plaintext).toString('utf8')).tables), plainTables(expected.tables),@@ -171,15 +201,13 @@ test('a large board syncs to the relay compressed [H5,H15,H17]', {// A valid but still-too-large gzip checkpoint remains pending and is named by both CLI readers.const oversizedDocument = relaySnapshot(box.root);- const randomTitle = 'OVERSIZE_SNAPSHOT_340_' + randomBytes(5_050_000).toString('base64');- const itemId = oversizedDocument.tables.item[0].item_id;- oversizedDocument.tables.item.find(row => row.item_id === itemId).item_title = randomTitle;- oversizedDocument.presentation.state.items.find(row => row.id === itemId).title = randomTitle;+ const randomTitle = 'OVERSIZE_SNAPSHOT_340_' + randomBytes(RELAY_LIMIT).toString('base64');+ oversizedDocument.tables.board_meta.push({ meta_key: 'oversize_test_payload', meta_value: randomTitle });const oversizedGzip = await sealedSnapshot(box, oversizedDocument, sourceState.sequence, true);const oversizedBytes = Buffer.from(oversizedGzip, 'base64url').byteLength;- assert.ok(oversizedBytes > RELAY_LIMIT, 'the compressed sealed snapshot still exceeds the relay journal limit');+ assert.ok(oversizedBytes > RELAY_LIMIT, 'the compressed sealed snapshot exceeds the shared relay limit');assert.ok(Buffer.byteLength(JSON.stringify({ sequence: sourceState.sequence, sealed: oversizedGzip })) < BODY_LIMIT,- 'the oversized sealed snapshot remains below the unchanged HTTP body limit');+ 'the oversized sealed snapshot remains below the shared HTTP body limit');const link = JSON.parse(readFileSync(box.linkFile, 'utf8'));const localDigest = presentationDigest(relaySnapshot(box.root).presentation);link.checkpoint = { sequence: sourceState.sequence, sealed: oversizedGzip };@@ -187,11 +215,12 @@ test('a large board syncs to the relay compressed [H5,H15,H17]', {writeFileSync(box.linkFile, JSON.stringify(link), { mode: 0o600 });const status = await textCommand(box, 'status');- assert.match(status.stdout, new RegExp(`relay snapshot for ${sourceState.board}: sealed snapshot \\d+\\.\\d MB over the relay limit 10\\.0 MB`));+ const displayedLimit = (RELAY_LIMIT / 1_000_000).toFixed(1).replace('.', '\\.');+ assert.match(status.stdout, new RegExp(`relay snapshot for ${sourceState.board}: sealed snapshot \\d+\\.\\d MB over the relay limit ${displayedLimit} MB`));const doctor = await textCommand(box, 'doctor');assert.equal(doctor.code, 1);const doctorJSON = await box.cli('doctor');assert.equal(doctorJSON.code, 1);assert.ok(doctorJSON.document.problems.some(problem => problem.code === 'RELAY_SNAPSHOT_LIMIT'), 'doctor JSON names the stable oversize rule');- assert.match(doctor.stdout, new RegExp(`relay snapshot for ${sourceState.board}: sealed snapshot \\d+\\.\\d MB over the relay limit 10\\.0 MB`));+ assert.match(doctor.stdout, new RegExp(`relay snapshot for ${sourceState.board}: sealed snapshot \\d+\\.\\d MB over the relay limit ${displayedLimit} MB`));});