🛟 Updated.
6d8ca4c parent: 7cc3ff4 modified
.github/workflows/ci.yml +17 -5 | @@ -2,6 +2,10 @@ | ||
| 2 | 2 | # |
| 3 | 3 | # Continuous integration: `make check` (lint + every test that needs no real |
| 4 | 4 | # agent) and a check that the committed TypeScript bindings are up to date. |
| 5 | +# | |
| 6 | +# The job runs in an ubuntu:26.04 container — the system the project is | |
| 7 | +# developed and checked on — not on the runner's own ubuntu-latest: Wails v3 | |
| 8 | +# needs GTK >= 4.10 (GtkFileDialog), which older Ubuntu releases lack. | |
| 5 | 9 | # Rickub runs it as an ordinary GitHub Actions workflow, on every push and |
| 6 | 10 | # every merge request. No workflow_dispatch: Rickub's dispatch API fires every |
| 7 | 11 | # dispatchable workflow of a ref (see mini-me's release.yml). |
| @@ -18,7 +22,20 @@ concurrency: | ||
| 18 | 22 | jobs: |
| 19 | 23 | check: |
| 20 | 24 | runs-on: ubuntu-latest |
| 25 | + container: | |
| 26 | + image: ubuntu:26.04 | |
| 27 | + env: | |
| 28 | + DEBIAN_FRONTEND: noninteractive | |
| 21 | 29 | steps: |
| 30 | + # First: checkout needs git, bindings-check runs git diff. | |
| 31 | + - name: Install the system packages (git, C compiler, GTK 4, WebKitGTK 6, procps) | |
| 32 | + run: | | |
| 33 | + apt-get update -qq | |
| 34 | + apt-get install -y -qq --no-install-recommends \ | |
| 35 | + ca-certificates curl git build-essential pkg-config \ | |
| 36 | + libgtk-4-dev libwebkitgtk-6.0-dev procps | |
| 37 | + git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| 38 | + | |
| 22 | 39 | - name: Checkout |
| 23 | 40 | uses: actions/checkout@v4 |
| 24 | 41 | |
| @@ -36,11 +53,6 @@ jobs: | ||
| 36 | 53 | - name: Install pnpm (version from frontend/package.json) |
| 37 | 54 | run: npm install -g "$(node -p "require('./frontend/package.json').packageManager")" |
| 38 | 55 | |
| 39 | - - name: Install the Wails build dependencies (GTK 4, WebKitGTK 6) | |
| 40 | - run: | | |
| 41 | - sudo apt-get update -qq | |
| 42 | - sudo apt-get install -y -qq pkg-config libgtk-4-dev libwebkitgtk-6.0-dev | |
| 43 | - | |
| 44 | 56 | - name: Install the Wails CLI |
| 45 | 57 | run: | |
| 46 | 58 | go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0 |
| @@ -2,6 +2,10 @@ | |||
| 2 | # | 2 | # |
| 3 | # Continuous integration: `make check` (lint + every test that needs no real | 3 | # Continuous integration: `make check` (lint + every test that needs no real |
| 4 | # agent) and a check that the committed TypeScript bindings are up to date. | 4 | # agent) and a check that the committed TypeScript bindings are up to date. |
| 5 | +# | ||
| 6 | +# The job runs in an ubuntu:26.04 container — the system the project is | ||
| 7 | +# developed and checked on — not on the runner's own ubuntu-latest: Wails v3 | ||
| 8 | +# needs GTK >= 4.10 (GtkFileDialog), which older Ubuntu releases lack. | ||
| 5 | # Rickub runs it as an ordinary GitHub Actions workflow, on every push and | 9 | # Rickub runs it as an ordinary GitHub Actions workflow, on every push and |
| 6 | # every merge request. No workflow_dispatch: Rickub's dispatch API fires every | 10 | # every merge request. No workflow_dispatch: Rickub's dispatch API fires every |
| 7 | # dispatchable workflow of a ref (see mini-me's release.yml). | 11 | # dispatchable workflow of a ref (see mini-me's release.yml). |
| @@ -18,7 +22,20 @@ concurrency: | |||
| 18 | jobs: | 22 | jobs: |
| 19 | check: | 23 | check: |
| 20 | runs-on: ubuntu-latest | 24 | runs-on: ubuntu-latest |
| 25 | + container: | ||
| 26 | + image: ubuntu:26.04 | ||
| 27 | + env: | ||
| 28 | + DEBIAN_FRONTEND: noninteractive | ||
| 21 | steps: | 29 | steps: |
| 30 | + # First: checkout needs git, bindings-check runs git diff. | ||
| 31 | + - name: Install the system packages (git, C compiler, GTK 4, WebKitGTK 6, procps) | ||
| 32 | + run: | | ||
| 33 | + apt-get update -qq | ||
| 34 | + apt-get install -y -qq --no-install-recommends \ | ||
| 35 | + ca-certificates curl git build-essential pkg-config \ | ||
| 36 | + libgtk-4-dev libwebkitgtk-6.0-dev procps | ||
| 37 | + git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
| 38 | + | ||
| 22 | - name: Checkout | 39 | - name: Checkout |
| 23 | uses: actions/checkout@v4 | 40 | uses: actions/checkout@v4 |
| 24 | 41 | ||
| @@ -36,11 +53,6 @@ jobs: | |||
| 36 | - name: Install pnpm (version from frontend/package.json) | 53 | - name: Install pnpm (version from frontend/package.json) |
| 37 | run: npm install -g "$(node -p "require('./frontend/package.json').packageManager")" | 54 | run: npm install -g "$(node -p "require('./frontend/package.json').packageManager")" |
| 38 | 55 | ||
| 39 | - - name: Install the Wails build dependencies (GTK 4, WebKitGTK 6) | ||
| 40 | - run: | | ||
| 41 | - sudo apt-get update -qq | ||
| 42 | - sudo apt-get install -y -qq pkg-config libgtk-4-dev libwebkitgtk-6.0-dev | ||
| 43 | - | ||
| 44 | - name: Install the Wails CLI | 56 | - name: Install the Wails CLI |
| 45 | run: | | 57 | run: | |
| 46 | go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0 | 58 | go install github.com/wailsapp/wails/v3/cmd/wails3@v3.0.0 |
modified
.memory/history.md +5 -0 | @@ -152,3 +152,8 @@ | ||
| 152 | 152 | - **2026-10-30**: owner could not reach `~/Library/Application Support/sidekicks/` with **Open…** (macOS hides ~/Library). `PickFile(folder)`: the dialog starts in the folder of the configuration in use (`SetDirectory`); app test checks it; how-to edit/switch config (EN/FR) mentions ⇧⌘G. |
| 153 | 153 | - **2026-10-30**: Settings and the log now start folded at every launch (Shell `onMount` collapses them; autoSaveId keeps their size) — verified under Xvfb. How-to reset (EN `reset-sidekicks`, FR `repartir-de-zero`): config.yaml, preferences.json, data/. |
| 154 | 154 | - **2026-10-30 — M4 closed**: owner checked Milo (sbx) in the interface; #39 closed (tasks + comment), milestone "M4 · Workspace des agents" closed. |
| 155 | + | |
| 156 | +## 2026-10-30 — CI fixed (first real run) | |
| 157 | + | |
| 158 | +- **Owner's report**: the CI had never been seen; 3 runs (push branch, PR, push main) failed in `make lint-go`: Wails v3 cgo needs `GtkFileDialog` (GTK >= 4.10); Rickub's `ubuntu-latest` has an older GTK (likely 22.04). Frontend and bindings steps passed. | |
| 159 | +- **Fix**: the job runs in a `container: ubuntu:26.04` (same system as the dev sandbox, where make check passes); installs git, build-essential, pkg-config, libgtk-4-dev, libwebkitgtk-6.0-dev, procps, ca-certificates, curl as root (no sudo); `safe.directory` for git. To be confirmed by the next run. | |
| @@ -152,3 +152,8 @@ | |||
| 152 | - **2026-10-30**: owner could not reach `~/Library/Application Support/sidekicks/` with **Open…** (macOS hides ~/Library). `PickFile(folder)`: the dialog starts in the folder of the configuration in use (`SetDirectory`); app test checks it; how-to edit/switch config (EN/FR) mentions ⇧⌘G. | 152 | - **2026-10-30**: owner could not reach `~/Library/Application Support/sidekicks/` with **Open…** (macOS hides ~/Library). `PickFile(folder)`: the dialog starts in the folder of the configuration in use (`SetDirectory`); app test checks it; how-to edit/switch config (EN/FR) mentions ⇧⌘G. |
| 153 | - **2026-10-30**: Settings and the log now start folded at every launch (Shell `onMount` collapses them; autoSaveId keeps their size) — verified under Xvfb. How-to reset (EN `reset-sidekicks`, FR `repartir-de-zero`): config.yaml, preferences.json, data/. | 153 | - **2026-10-30**: Settings and the log now start folded at every launch (Shell `onMount` collapses them; autoSaveId keeps their size) — verified under Xvfb. How-to reset (EN `reset-sidekicks`, FR `repartir-de-zero`): config.yaml, preferences.json, data/. |
| 154 | - **2026-10-30 — M4 closed**: owner checked Milo (sbx) in the interface; #39 closed (tasks + comment), milestone "M4 · Workspace des agents" closed. | 154 | - **2026-10-30 — M4 closed**: owner checked Milo (sbx) in the interface; #39 closed (tasks + comment), milestone "M4 · Workspace des agents" closed. |
| 155 | + | ||
| 156 | +## 2026-10-30 — CI fixed (first real run) | ||
| 157 | + | ||
| 158 | +- **Owner's report**: the CI had never been seen; 3 runs (push branch, PR, push main) failed in `make lint-go`: Wails v3 cgo needs `GtkFileDialog` (GTK >= 4.10); Rickub's `ubuntu-latest` has an older GTK (likely 22.04). Frontend and bindings steps passed. | ||
| 159 | +- **Fix**: the job runs in a `container: ubuntu:26.04` (same system as the dev sandbox, where make check passes); installs git, build-essential, pkg-config, libgtk-4-dev, libwebkitgtk-6.0-dev, procps, ca-certificates, curl as root (no sudo); `safe.directory` for git. To be confirmed by the next run. | ||