Files
nico.stoerzbachandClaude Opus 5.5 1104081f80 CI faster and lighter on the runner; F-SVC-7 without a second config file
CI (owner: speed up, less runner load). Measured per push: go 4–5.5 min
(fuzz 1.9), package 2–3.5, e2e 5–7 (145 tests = 29 × 5 browsers, trace
for every test); three runs at once on CT 131 slowed WebKit past the
30 s test limit.
- concurrency + cancel-in-progress: a newer push replaces the older run.
- paths-ignore docs/** and *.md: docs commits run no CI.
- e2e per push: Chromium + phone; Firefox, WebKit, wide screen nightly
  (02:23) and on demand (workflow_dispatch).
- Playwright: trace only on retry, one retry in CI (flaky tests show as
  flaky in the report instead of failing the run).
- fuzz: 5 s per target per push, 2 min nightly (Makefile FUZZTIME).
- npm cache in the go job.

F-SVC-7 (owner agreed): service switches stay in systemd (source of
truth); automation uses systemctl, documented in system-requirements.md;
the setup wizard gets the switches. No config.yaml for them.

Includes the e2e fix from fbeb68f (update check may take up to 60 s).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 17:23:27 +01:00

22 lines
500 B
Makefile

# Common development tasks. CI runs the same targets.
.PHONY: test fuzz fuzz-short vet fmt
test:
go test -race -cover ./...
vet:
go vet ./...
fmt:
gofmt -w .
# Fuzz every target for FUZZTIME (CI: 5s per push, 2m nightly).
FUZZTIME ?= 15s
fuzz:
for p in smbconf nfsconf exports; do for f in FuzzRoundTrip FuzzSetIsReadBack; do \
go test ./internal/format/$$p -run '^$$' -fuzz $$f -fuzztime $(FUZZTIME) || exit 1; done; done
# Short run for local use.
fuzz-short:
$(MAKE) fuzz FUZZTIME=15s