9 Commits
Author SHA1 Message Date
w3cjandClaude Opus 5.5 2545de19f3 test(e2e): the Go runner is the entry point, mise run e2e -- FLAGS, and tests/e2e.sh goes
TestE2E already set up the sandbox, slots, locks and flags itself, so the
898-line script only handed over. The run is now `mise run e2e -- FLAGS`
(go test -tags e2e from tests/e2e, CGO_ENABLED=0) with the same flags:
--only, --from, --clean, --every-feature, --slots, --slot, --newest-base,
--golden, plus --reuse.

- options: the flags named as the script's options; the hand-over flags
  (lock-holder, count, total, started, summary) and the ported/unported
  split are gone.
- e2eUbuntuRelease, a const in sandbox_test.go, holds the Ubuntu pin;
  scripts/bump.sh e2e-ubuntu moves it (get_const), and TestE2EUbuntuPins,
  bump.txtar and the E2E workflow read it there.
- From the script into Go: the OpenSSL-not-LibreSSL host check, and
  --newest-base's start line and its UPSTREAM DRIFT summary.
- The script's leftover bash helpers (perl vm_state, no_leak, ca_*,
  lima_listens, the retry list, its heartbeat) are gone with it.
- mise's e2e:go task merges into e2e; TestCommandLines drops its $D rule.
- Docs (contributing, testing, maintaining, internals) and AGENTS.md name
  mise run e2e; testing.md's "Porting a section" becomes "Adding a section".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 01:56:50 -07:00
w3cjandClaude Opus 5.5 0189742fe0 ci: a trial workflow running e2e's project section on a Linux runner with KVM
Started by hand only. QEMU and /dev/kvm as Lima's CI sets them up, Lima at a
pinned version and checksum, Ubuntu's cloud image and the built images cached,
up to three attempts, and the logs uploaded on failure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 08:38:59 -07:00
w3cjandClaude Opus 5.5 50e024c153 ci: weekly fuzzing of each fuzz target, crashing inputs uploaded
A scheduled workflow (Mondays, and by hand) lists every func Fuzz in the
tests, the proxy's first, and fuzzes each for two minutes in a matrix; a
failing input is uploaded as crash-<target>. The testing page says how it
becomes a seed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 07:56:49 -07:00
w3cjandClaude Opus 5.5 92ce736574 fix(test): tests pass in any time zone, and CI runs them in one with DST
TestExports counted 30 days from a fixed local date, so it failed in UTC
(CI) and passed in Pacific time, where the range crosses a DST change and
is an hour short. It now counts from export b's parsed date: at exactly
30d both exports are that old, a second short only a, and olderThan 0
returns both.

The audit of internal/ and cmd/ found nothing else that depends on the
zone or today's date: export names are written and parsed in local time
(now documented at the parse and on the coding agents page: an age is
elapsed time, so across DST it's an hour off wall-clock days); run-log
names are local but pruning goes by mtime; the network log, image
versions, logins and Lima's start marker are UTC; retention, tools'
daily check and the caches tests count from instants; testscript
fixtures are dated far in the past or the future.

CI runs mise run test a third time on Linux with TZ=America/Los_Angeles,
and contributing/testing.md says how to check other zones.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 16:50:38 -07:00
w3cjandClaude Opus 5.5 8439cbdb8c ci: the tests pass on Linux runners; workflows linted with actionlint and zizmor
The tests assumed a macOS host with 4 or more CPUs:
- size: the stub VM has 2 CPUs, which any host running the tests has
- ls, images: smolvm's --state-dir on Linux
- docker: .git protection is off on Linux
- the limactl stub's delete forgets the VM's port forwards and ssh port,
  as Lima does, so from's second conversion VM is configured again
- TestStartForwarder confines Lima's start as the host does (no
  sandbox-exec on Linux)
- TestProcessArgs runs sh, which ignores the extra arguments GNU sleep
  exits on

lint:code runs actionlint and zizmor (offline) on the workflows; ci.yml's
paths are written out, without a YAML anchor, and the deploy job's
permissions say why.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 08:01:37 -07:00
w3cjandClaude Opus 5.5 2226b32392 ci(docs): build with hugo.yaml's baseURL, without configure-pages
Reading the Pages site needs pages: read in a private repository; the
site's address is baseURL in docs/hugo.yaml, so the step isn't needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 07:24:03 -07:00
w3cjandClaude Opus 5.5 11eb2da70f docs(site): served at devvm.dev; docs-only changes run only the docs checks
The site's base URL, the doc links devvm prints, the README, CONTRIBUTING,
SECURITY and the home page recording point at https://devvm.dev; the local
server is at http://localhost:1313/.

lint runs lint:code (golangci-lint, shellcheck) and lint:docs (markdownlint,
Vale, lychee, TestDocLinks). CI skips changes only to docs/ and Markdown
files, except the generated CLI reference; the Docs workflow lints and
builds the site on pull requests touching the docs and deploys from main.
mise-action goes to v5.2.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 07:20:19 -07:00
w3cjandClaude Opus 5.5 18658a9ba6 docs: docs site skeleton with Hugo and Hextra
Hugo site in docs/ with the Hextra theme as a pinned Hugo module, a
home page and the contributing page, which takes over building, tools,
tests and stubs from the README and adds writing docs. Vale styles for
the writing rules, markdownlint, Vale and lychee --offline in mise run
lint, and a Pages workflow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 01:23:25 -06:00
w3cjandClaude Opus 5.5 61ccef0beb build: mise tasks, golangci-lint and CI
Pin the dev tools in mise.toml and mise.lock. Add the fmt, lint, test,
vuln, docs and e2e tasks, the golangci-lint v2 config with the
dependency allowlist and print/exit bans, and a CI workflow running
lint and test on macOS and Linux. Tighten test file permissions for gosec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 01:15:29 -06:00