Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

ci: restore parallel Omarchy Midscene matrix

quanru54be2f149b7e
diff --git a/.github/workflows/midscene-omarchy-4.0.3.yml b/.github/workflows/midscene-omarchy-4.0.3.yml
index 8ede6ef..dccfe02 100644
--- a/.github/workflows/midscene-omarchy-4.0.3.yml
+++ b/.github/workflows/midscene-omarchy-4.0.3.yml
@@ -54,11 +54,10 @@ jobs:
strategy:
# Each shard restores an independent disposable VM. Sharing one Hyprland
# session would make fixture resets, focus and screenshots race.
- # TEMPORARY: max-parallel is 1 while the Ark model endpoint is limited
- # to ~25-35 RPM; the MIDSCENE_MODEL_RETRY_* env below absorbs short
- # bursts. Restore max-parallel: 5 once RPM is raised.
+ # Run independent VMs concurrently. The current Ark endpoint may still
+ # return 429 under this load; MIDSCENE_MODEL_RETRY_* handles short bursts.
fail-fast: false
- max-parallel: 1
+ max-parallel: 5
matrix:
project:
- omarchy-shard-1
diff --git a/tests/contracts/test_pages_report_history.mjs b/tests/contracts/test_pages_report_history.mjs
index 5b120fb..4162b0c 100644
--- a/tests/contracts/test_pages_report_history.mjs
+++ b/tests/contracts/test_pages_report_history.mjs
@@ -54,8 +54,8 @@ test('records every shard and renders the Summary before Pages deployment', asyn
);
assert.match(
source,
- /^\s*max-parallel: [1-5]$/m,
- `${workflow} must declare an explicit matrix concurrency (1 while the model endpoint is rate-limited, 5 otherwise)`,
+ /^\s*max-parallel: 5$/m,
+ `${workflow} must run its independent VM shards in parallel`,
);
assert.match(source, /if-no-files-found: error/);
assert.match(source, /Create bundle even when every shard failed early/);
diff --git a/tests/e2e/README.md b/tests/e2e/README.md
index 1e29877..2bbe5db 100644
--- a/tests/e2e/README.md
+++ b/tests/e2e/README.md
@@ -3,24 +3,20 @@
GitHub Actions exposes two distribution-named suites: `Ubuntu 22.04` and
`Omarchy 4.0.3`. The Omarchy suite also checks the real desktop shell visually.
-> **Temporary scheduling (2026-09).** The Volcengine Ark endpoint behind
-> `MIDSCENE_MODEL_*` is rate-limited to roughly 25–35 RPM, and the parallel
-> visual fleet (five jobs per workflow, both workflows at once) exhausted that
-> quota within minutes. Until the quota is raised:
+> **Scheduling (2026-09).** The Volcengine Ark endpoint behind
+> `MIDSCENE_MODEL_*` has been rate-limited to roughly 25–35 RPM. Running both
+> five-job visual workflows at once previously exhausted that quota:
>
> - the Ubuntu 22.04 workflow runs only via **Actions → Run workflow**
> (`workflow_dispatch`); its push/pull-request triggers were removed from the
> `on:` block but everything else (matrix, polishing, Pages) is unchanged;
-> - the Omarchy workflow still runs for trusted pull requests and relevant
-> pushes, but `strategy.max-parallel` is set to `1`, so its five matrix jobs
-> execute one after another. Each job restores the 3.8 GB VM bundle anew, so
-> the full suite takes about 110–120 minutes instead of ~35 minutes.
+> - the Omarchy workflow runs five independent VM jobs in parallel again, as
+> requested on 2026-09-25. Its model-call retries remain enabled, but 429
+> errors may recur until the endpoint quota is raised.
>
-> To restore parallel scheduling: reinstate the previous `push`/`pull_request`
-> trigger block in `.github/workflows/midscene-ubuntu-22.04.yml` from git
-> history, and change `max-parallel: 1` back to `5` in
-> `.github/workflows/midscene-omarchy-4.0.3.yml`. Restoring five-way
-> parallelism needs an endpoint quota of at least ~150 RPM / ~1M TPM.
+> To restore Ubuntu automatic runs as well, reinstate its previous
+> `push`/`pull_request` trigger block from git history. Running both workflows
+> in parallel needs an endpoint quota of at least ~150 RPM / ~1M TPM.
The image-builder CI proves that a GitHub-hosted runner can install the exact
official Omarchy ISO in a headless QEMU/KVM VM. It reuses Omarchy's own ISO
@@ -73,8 +69,7 @@ post-setup dictation checks. `midscene.config.ts` passes each case
identity to a fresh fixture. Four duration-balanced shards run in isolated
Actions jobs, each with its own Xvfb desktop or Omarchy VM, while cases inside
one shard remain serial so window focus cannot leak between tests. The shards
-normally run in parallel (`max-parallel: 5`); the Omarchy workflow is
-temporarily pinned to `max-parallel: 1` for the quota reason described above. The config prepares the GTK fixture or
+run in parallel (`max-parallel: 5`). The config prepares the GTK fixture or
Omarchy VNC viewer, and resets that state for every retry. Custom `shell.*`
Nodes prepare the real Omarchy menu and bar; `cases/omarchy-shell.yaml` keeps
the three pixel-level assertions explicit. Run `npm run nodes` in this