3 Commits
Author SHA1 Message Date
oqyude 1c11079833 ci: actually schedule nix-checks on the host runner
nixos flake checks / invariant-checks (push) Canceled after 47s
test-runner / smoke (push) Successful in 1s
The workflow could never run: it asked for 'runs-on: ubuntu-latest', but the
only runner (gitea-runner-ci-sapphira) advertises exactly one label, 'native'
(host executor). test-runner.yml used 'native' and runs; nix-checks never
produced a single run.

- runs-on: native
- drop cachix/install-nix-action and 'nix profile install sops': the host
  profile already provides nix, sops, git and python3
- evaluate sapphira with 'nix eval --raw ...toplevel.drvPath' instead of
  'nix build --dry-run': the runner user is not a Nix trusted user, so a
  dry-run build would want store write access; evaluation is the actual gate
- timeout 15 min, concurrency cancel-in-progress
2026-10-25 02:26:20 +03:00
oqyude 61c5f01b4b ci: evaluate only sapphira on the self-hosted runner
test-runner / smoke (push) Successful in 1s
nixos flake checks / invariant-checks (push) Canceled after 0s
The only runner is gitea-runner-ci-sapphira, running on the same 2-core /
5.6 GiB host as ~20 production services. Evaluating all seven configurations
took 40+ minutes and pushed the host into swap.

- checks.sh is invoked with --no-build, so check #2 (full nix flake check,
  every host) no longer runs in push CI
- only .#nixosConfigurations.sapphira is evaluated: a broken sapphira is an
  immediate CI-runner outage; other hosts are verified explicitly per change
- workflow_dispatch added, timeout 45 -> 20 min, and concurrency group
  cancels superseded runs instead of queueing them on the same host

Docs: AGENTS checks section, project-state test-runner row, T39 notes.
2026-10-25 02:23:56 +03:00
oqyude 029725499c fix(ci): move the checks workflow to .gitea/workflows and let it fail (T39c)
test-runner / smoke (push) Successful in 0s
nixos flake checks / invariant-checks (push) Canceled after 0s
Two independent reasons why the CI never ran a single check:

1. The workflow lived under .github/workflows/, but the only remote of this
   repo is gitea@git.zeroq.su — there is no GitHub remote, so GitHub Actions
   never saw it. Gitea Actions reads .gitea/workflows/ in preference to
   .github/workflows/, and .gitea/workflows/ already contained
   test-runner.yml, which does not call .ci/checks.sh. The file is moved
   with `git mv` so history follows it.

2. Every step of the job ended in `|| true` and used `--dry-run`, so even
   if it had run, the job could never go red. The `|| true` is dropped:
   the step now fails the job when a host configuration fails to evaluate.
   `--dry-run` is kept on purpose — the value of this step is evaluation,
   not building — and `--no-link` keeps the workspace free of `result`
   symlinks.

Also: the `default` (minimal) configuration was missing from the list and is
now evaluated; epral is evaluated with `nix eval` (cheap, and it is an
aarch64 target that cannot be built on the x86_64 runner); `nix-env -iA` is
replaced by the supported `nix profile install`; a job timeout is added so a
hung evaluation cannot hold the runner.

The check script is invoked through `bash`, so the step no longer depends on
the file mode (see ca450f1 and db3cbd0).

Not pushed.
2026-10-23 12:56:47 +03:00