Doubao-powered voice input for Linux, Wayland and Omarchy
ci: finalize distribution-named Midscene workflows
quanru603951df2452
diff --git a/.github/workflows/midscene-experimental.yml b/.github/workflows/midscene-omarchy-4.0.3.ymlsimilarity index 71%rename from .github/workflows/midscene-experimental.ymlrename to .github/workflows/midscene-omarchy-4.0.3.ymlindex f1d4730..814c74b 100644--- a/.github/workflows/midscene-experimental.yml+++ b/.github/workflows/midscene-omarchy-4.0.3.yml@@ -1,19 +1,57 @@-name: Midscene E2E · Omarchy 4.0.3-run-name: Omarchy 4.0.3 · Midscene E2E+name: Omarchy 4.0.3+run-name: Omarchy 4.0.3-on: workflow_dispatch+on:+ push:+ branches: [main]+ paths:+ - ".github/workflows/midscene-omarchy-4.0.3.yml"+ - "tests/midscene/package.json"+ - "tests/midscene/package-lock.json"+ - "tests/midscene/gtk_fixture.py"+ - "tests/midscene/e2e/**"+ - "tests/midscene/run-omarchy-midscene.sh"+ - "tests/midscene/restore-omarchy-vm.sh"+ - "tests/midscene/omarchy-vm.env"+ - "src/**"+ - "manifest.json"+ - "install.sh"+ - "install-user.sh"+ - "setup-omarchy.sh"+ - "start.sh"+ - "omarchy/**"+ pull_request:+ branches: [main]+ paths:+ - ".github/workflows/midscene-omarchy-4.0.3.yml"+ - "tests/midscene/package.json"+ - "tests/midscene/package-lock.json"+ - "tests/midscene/gtk_fixture.py"+ - "tests/midscene/e2e/**"+ - "tests/midscene/run-omarchy-midscene.sh"+ - "tests/midscene/restore-omarchy-vm.sh"+ - "tests/midscene/omarchy-vm.env"+ - "src/**"+ - "manifest.json"+ - "install.sh"+ - "install-user.sh"+ - "setup-omarchy.sh"+ - "start.sh"+ - "omarchy/**"+ workflow_dispatch:permissions:contents: readpackages: readconcurrency:- group: midscene-omarchy-4-0-3-${{ github.ref }}+ group: omarchy-4-0-3-${{ github.ref }}cancel-in-progress: truejobs:omarchy-vm:- name: Omarchy 4.0.3+ name: Midscene onboarding+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repositoryruns-on: ubuntu-latesttimeout-minutes: 70env:diff --git a/.github/workflows/midscene-e2e.yml b/.github/workflows/midscene-ubuntu-22.04.ymlsimilarity index 82%rename from .github/workflows/midscene-e2e.ymlrename to .github/workflows/midscene-ubuntu-22.04.ymlindex 186eff6..a50e618 100644--- a/.github/workflows/midscene-e2e.yml+++ b/.github/workflows/midscene-ubuntu-22.04.yml@@ -1,28 +1,38 @@-name: Midscene E2E · Ubuntu 22.04-run-name: Ubuntu 22.04 · Midscene E2E+name: Ubuntu 22.04+run-name: Ubuntu 22.04on:push:- branches: [ci/midscene-e2e]+ branches: [main]paths:- - ".github/workflows/midscene-e2e.yml"+ - ".github/workflows/midscene-ubuntu-22.04.yml"- "tests/midscene/package.json"- "tests/midscene/package-lock.json"- "tests/midscene/gtk_fixture.py"- "tests/midscene/e2e/**"- - "src/doubao_input/ui/**"+ - "src/**"+ pull_request:+ branches: [main]+ paths:+ - ".github/workflows/midscene-ubuntu-22.04.yml"+ - "tests/midscene/package.json"+ - "tests/midscene/package-lock.json"+ - "tests/midscene/gtk_fixture.py"+ - "tests/midscene/e2e/**"+ - "src/**"workflow_dispatch:permissions:contents: readconcurrency:- group: midscene-ubuntu-22-04-${{ github.ref }}+ group: ubuntu-22-04-${{ github.ref }}cancel-in-progress: truejobs:ubuntu-gtk:- name: Ubuntu 22.04+ name: Midscene onboarding+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repositoryruns-on: ubuntu-22.04timeout-minutes: 15env:diff --git a/tests/midscene/README.md b/tests/midscene/README.mdindex dc2a37f..f5501e9 100644--- a/tests/midscene/README.md+++ b/tests/midscene/README.md@@ -1,8 +1,8 @@# Midscene E2E by Linux distribution-Everything under this directory is developed on `ci/midscene-e2e`; it is not-part of the release branch. GitHub Actions names the two suites after their-tested distributions: Ubuntu 22.04 and Omarchy 4.0.3.+GitHub Actions exposes two distribution-named suites: `Ubuntu 22.04` and+`Omarchy 4.0.3`. Both run for trusted pull requests and relevant pushes to+`main`, and both execute the same shared onboarding acceptance flow.The image-builder CI proves that a GitHub-hosted runner can install the exactofficial Omarchy ISO in a headless QEMU/KVM VM. It reuses Omarchy's own ISO@@ -35,16 +35,18 @@ Omarchy Midscene flow, and 7 minutes 31 seconds for the whole job. The priorinstall-per-run workflow took 17 minutes 43 seconds, so the restored path saves10 minutes 12 seconds (about 58%).-The manual Omarchy workflow now continues from that installed base image:+The Omarchy workflow continues from that installed base image:1. Boot a throwaway overlay from the installed base image.2. Copy this checkout to `md.lifeos.doubao-say` in the guest and run Omarchy'splugin validator.-3. Run deterministic GTK UI fixtures with Rstest and `@midscene/computer` on- ordinary Ubuntu for every trusted change.-4. Run the same focused Midscene onboarding suite through VNC in the real+3. Run the focused Midscene onboarding suite through VNC in the realOmarchy/Hyprland guest session.+The Ubuntu workflow runs the deterministic GTK fixture directly with Rstest+and `@midscene/computer`. Pull requests from forks are skipped because GitHub+does not expose the required model secret to untrusted workflow code.+Both distributions execute the same shared Midscene onboarding scenario. TheUbuntu stage maps the real GTK onboarding window inside theheadless Midscene desktop. Its synthetic fixture starts signed out, opens an