feat(ql3): surface bounded console run logs

This commit is contained in:
whyour
2026-08-28 12:27:19 +08:00
parent 920a31fb66
commit 57953ec80b
12 changed files with 391 additions and 14 deletions
@@ -448,6 +448,14 @@ test('serves an authenticated Run through one real SQLite authority and durable
assert.equal(accepted.statusCode, 200);
assert.equal(accepted.body.run.id, RUN_ID);
assert.equal(accepted.body.run.projectId, 'default');
assert.deepEqual(accepted.body.run.latestAttempt, {
id: ATTEMPT_ID,
attempt: 1,
status: 'running',
logAvailable: true,
createdAtMs: NOW - 90,
startedAtMs: NOW - 80,
});
assert.equal(JSON.stringify(accepted).includes('secret'), false);
const listed = await request(