Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Batch: #2418 #2419 (flaky test headroom) (#2421)

0xken15c6be6d220c15
diff --git a/cli/src/lib/e2ee/deviceLogSyncer.spec.ts b/cli/src/lib/e2ee/deviceLogSyncer.spec.ts
index 803f53da4..11b78fc3c 100644
--- a/cli/src/lib/e2ee/deviceLogSyncer.spec.ts
+++ b/cli/src/lib/e2ee/deviceLogSyncer.spec.ts
@@ -2100,6 +2100,7 @@ function onePerPage(backend: FakeBackend): void {
describe('DeviceLogSyncer — a log longer than a usual read', () => {
const many = (n: number) => Array.from({ length: n }, (_, i) => key(10 + i))
+ // #2340: verifying 25 signed entries exceeded Vitest's default 5s timeout on a busy CI runner.
it('a first read goes past the usual page cap, so nothing on the account is announced', async () => {
const t = setup()
for (const k of many(25)) t.backend.add(k, 'viewer', '', 'app')
@@ -2115,7 +2116,7 @@ describe('DeviceLogSyncer — a log longer than a usual read', () => {
await t.syncer.refresh()
expect(t.backend.fetch).toHaveBeenCalledTimes(20)
expect(t.store.read().state?.head.seq).toBe(45)
- })
+ }, 10_000)
it('a review reads a list longer than the usual page cap', async () => {
const t = setup()
diff --git a/desktop/test/super_tab_mentions_test.dart b/desktop/test/super_tab_mentions_test.dart
index ecc4c442f..4d844f21b 100644
--- a/desktop/test/super_tab_mentions_test.dart
+++ b/desktop/test/super_tab_mentions_test.dart
@@ -1089,7 +1089,8 @@ void main() {
// Each `](` without a `)` once scanned to the end: about 3 s to draw.
final watch = Stopwatch()..start();
expect(SuperTabMessageText.tagsIn('${'](' * 15995}@dee.'), ['dee']);
- expect(watch.elapsedMilliseconds, lessThan(50));
+ // Leave room for shared runners; the regression this guards took about 3 s (#2331).
+ expect(watch.elapsedMilliseconds, lessThan(500));
});
testWidgets('a tag by its full address is said, and is its pill', (