Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
name: CI

# Prose runs nothing: no build, test or workflow step of this CI reads a Markdown file or anything
# under docs/ (grep, 2026-11-11: Prettier ignores both; docs/screenshots is read only by the site,
# pages.yml), so a change made only of them skips the run. The scheme is Aura's and Twinova's
# (chetto1983/Aura, chetto1983/Twinova ci.yml): `paths` with negations, where a file a test reads
# could be re-included. Pushes run on master only; a working branch is checked by its pull_request
# run, so one SHA does not run twice. No tag trigger here, so `paths` cannot swallow a tag push.
on:
push:
branches: ["master"]
paths: &code-paths
- "**"
- "!**.md"
- "!docs/**"
pull_request:
branches: ["master"]
paths: *code-paths

permissions:
contents: read
Expand Down Expand Up @@ -82,7 +95,11 @@ jobs:
persist-credentials: false
- run: bash scripts/check-file-size.sh

# Only on master, as in Twinova (user, 2026-11-11): the MSI was the longest job of run 42981578708
# (4 min 52 s, the E2E 4 min 15 s and 4 min 28 s), and on a pull request the E2E already builds
# and drives the app on both platforms.
bundle:
if: github.event_name == 'push'
needs: [rust, frontend, file-size]
strategy:
fail-fast: false
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ name: Mutation
on:
push:
branches: ["master"]
paths: ["src-tauri/src/**", "src/lib/**", "stryker.config.json", "src-tauri/.cargo/mutants.toml"]
# Test files stay in: a test edit can stop catching a mutant.
paths:
- "src-tauri/src/**"
- "src/lib/**"
- "stryker.config.json"
- "src-tauri/.cargo/mutants.toml"
# Dependencies and build profiles change the code the tests run (as in chetto1983/Twinova,
# whose PR #29 touched only Cargo.toml).
- "src-tauri/Cargo.toml"
- "src-tauri/Cargo.lock"
schedule:
- cron: "13 5 * * 1"
workflow_dispatch:
Expand Down
5 changes: 4 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ data types, byte orders) and backend texts stay in English
- **DEFINITION OF DONE.** A job is complete only when validated E2E on a real scenario (app running,
real master↔slave exchange, ideally against an independent reference implementation).
- **GIT PUSH DISCIPLINE.** Push at the end of a task or completed job, then check that all CI runs
on the pushed SHA are green. Never leave work only in a local branch.
on the pushed SHA are green. Never leave work only in a local branch. CI runs on pushes to
`master` and on pull requests (the Aura scheme), so a working branch needs an open PR to be
checked; a change made only of Markdown files or of `docs/` runs nothing (nothing in CI reads
them).

## Post-edit validation (Gate 2)

Expand Down
Loading