Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

ci(frontend): increase network storage and observation timeout budgets

ldm0b4b9534808d7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6a4050757..7073bae77 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -623,13 +623,13 @@ jobs:
- name: Run full differential
id: frontend
continue-on-error: true
- # The full catalog runs on shared hosts; leave headroom for transient
- # Chromium stalls without changing any readiness or comparison rules.
+ # Leave headroom above the network/storage fixtures' 60-second event
+ # deadline when running the full catalog on shared hosts.
run: >-
uv run --project moli-frontend-smoke --no-sync moli-frontend-smoke
--chromium-bin "${{ steps.chromium.outputs.binary }}"
--moli-bin "$PWD/target/ci-bin/moli-release-head/moli"
- --timeout-ms 30000
+ --timeout-ms 90000
--reference-infrastructure-retries 1
--output target/frontend-smoke
- name: Validate frontend artifacts
diff --git a/moli-frontend-smoke/README.md b/moli-frontend-smoke/README.md
index 6f0f306ce..93e2005b8 100644
--- a/moli-frontend-smoke/README.md
+++ b/moli-frontend-smoke/README.md
@@ -103,6 +103,11 @@ was pending. CI may pass `--reference-infrastructure-retries 1` to re-observe a
connection or protocol failure. The retry does not apply to fixture errors, normalization errors,
Moli failures, or DOM differences, and the original failure remains recorded in `summary.json`.
+CI uses `--timeout-ms 90000` for checkpoint/readiness observations. Network/storage boundary
+fixtures allow up to 60 seconds for event and IndexedDB operations, so the outer observation
+deadline leaves time for the fixture to report its own error. These are upper bounds; completed
+operations proceed immediately.
+
Run Chromium as a reference-only fixture gate:
```bash
diff --git a/moli-frontend-smoke/src/shared/network-storage-boundaries.ts b/moli-frontend-smoke/src/shared/network-storage-boundaries.ts
index 2c1d6db59..0dc0793d5 100644
--- a/moli-frontend-smoke/src/shared/network-storage-boundaries.ts
+++ b/moli-frontend-smoke/src/shared/network-storage-boundaries.ts
@@ -41,7 +41,8 @@ interface CookieEcho {
cookieNames: string[];
}
-const EVENT_TIMEOUT_MS = 20_000;
+// Allow storage initialization and event delivery time on shared CI runners.
+const EVENT_TIMEOUT_MS = 60_000;
function fact(name: string, value: unknown): BoundaryFact {
return { name, value: String(value) };