feat: deliver leader summaries by webhook
This commit is contained in:
1 parent
515b545b32
commit
be17f6c361
21 files changed
+1260
-1269
No files matched your search
@@ -443,11 +443,11 @@ test('migration contains the durable state tables and safety fields', async () =
|
||||
}
|
||||
});
|
||||
|
||||
test('control plane requires the administrator task-isolation migration before readiness', async () => {
|
||||
test('control plane requires the leader summary webhook migration before readiness', async () => {
|
||||
const { readFile } = await import('node:fs/promises');
|
||||
const db = await readFile(new URL('../src/db.ts', import.meta.url), 'utf8');
|
||||
const server = await readFile(new URL('../src/server.ts', import.meta.url), 'utf8');
|
||||
assert.equal(REQUIRED_SCHEMA_VERSION, '021_admin_task_data_plane_isolation');
|
||||
assert.equal(REQUIRED_SCHEMA_VERSION, '023_leader_summary_webhook_delivery');
|
||||
assert.match(db, /schema_migrations/);
|
||||
assert.match(db, /databaseReadiness/);
|
||||
assert.match(db, /assertDatabaseSchema/);
|
||||
@@ -1361,8 +1361,8 @@ test('operator page has a login gate and uses the durable task API', async () =>
|
||||
const inpage = await readFile(new URL('../../chrome-extension/ltjt-order-assistant/inpage.js', import.meta.url), 'utf8');
|
||||
assert.match(index, /id="loginPanel"/);
|
||||
assert.match(index, /id="workbench"[^>]*hidden/);
|
||||
assert.match(index, /styles\.css\?v=20260907-admin-task-isolation-1/);
|
||||
assert.match(index, /app\.js\?v=20260907-admin-task-isolation-1/);
|
||||
assert.match(index, /styles\.css\?v=20260908-leader-webhook-1/);
|
||||
assert.match(index, /app\.js\?v=20260908-leader-webhook-1/);
|
||||
assert.match(index, /id="statusDetailsPopover"/);
|
||||
assert.match(index, /id="statusDetailsRefresh"/);
|
||||
assert.match(app, /apiRequest\(`\/api\/tasks\?\$\{params\.toString\(\)\}`/);
|
||||
|
||||
Reference in new issue
Block a user