[Part 5/6] feat(telemetry): add activity monitor with event-driven snapshots (#8124)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
Adrian Arribas
2025-10-20 19:29:53 +02:00
committed by GitHub
parent 518a9ca314
commit 71ecc401c3
4 changed files with 632 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ describe('Interactive file system', () => {
it('should perform a read-then-write sequence', async () => {
const fileName = 'version.txt';
rig.setup('interactive-read-then-write');
await rig.setup('interactive-read-then-write');
rig.createFile(fileName, '1.0.0');
const run = await rig.runInteractive();
@@ -44,5 +44,8 @@ describe('Interactive file system', () => {
30000,
(args) => args.includes('1.0.1') && args.includes(fileName),
);
// Wait for telemetry to flush and file system to sync, especially in sandboxed environments
await rig.waitForTelemetryReady();
});
});