Skip to content

Require devlanes 0.11.0 and set up the runner with devlanes setup - #6

Merged
arthurfiorette merged 5 commits into
mainfrom
feat/require-devlanes-setup
Nov 2, 2026
Merged

arthurfiorette merged 5 commits into
mainfrom
feat/require-devlanes-setup

Conversation

@arthurfiorette

@arthurfiorette arthurfiorette commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

devlanes 0.10.0 (devlanes-run/devlanes#102) removed devlanes certs trust and added devlanes setup. 0.11.0 (#107, #109) fixed two things this action ran into:

  • the hosts helper failed to install on GitHub's Ubuntu runners, whose /etc/sudoers.d/runner already fails visudo;
  • a lane's exported DEVLANES_PROJECT pinned the next project in the same job to the wrong project. Lanes now export it as DEVLANES_LANE_PROJECT.

The action now requires 0.11.0, so it never runs certs trust and never depends on the old variable.

  • Minimum and default version. Both are 0.11.0. A version input or a lockfile/package.json pin older than that fails the step with the file named.
  • Linux trust step. It now runs devlanes setup --yes. It still installs certutil and still writes tls.trust: [system, chrome] unless the workflow's config sets tls.trust. A failure is still only a warning.
  • hosts-file on Linux. The action writes this into the user config before the daemon starts, instead of passing --hosts:
    • true writes hostnames.hosts_file: always.
    • false writes never, so setup doesn't install the helper on its own.
    • auto writes nothing, so setup installs the helper only when *.localhost doesn't resolve on the runner, for example in a container job.
    • A hostnames.hosts_file in the workflow's config still wins.
  • hosts-file: true with trust: false. This still runs setup, which also trusts the CA, as the old helper install did. The README says so.
  • export-env. The README lists DEVLANES_LANE_PROJECT, and the e2e check asserts it. The e2e check's URL pattern now matches lane domains without a dash, which devlanes has used since 0.9.0.
  • Test fixtures. Services run from the project file's folder, as devlanes has done since 0.8.0.
  • CI.
    • The lockfile jobs expect 0.11.0, and the fixtures are regenerated against the published release.
    • A new hosts-helper job runs the action with hosts-file: true and checks the helper is installed and devlanes setup --check passes.
  • Bundle. dist/ is rebuilt.

Verified locally

pnpm lint-ci, pnpm test-types, pnpm test (76 passed) and pnpm build all pass.

Agent and model: OpenCode / Claude Opus 5.5.

@mira-arthur

mira-arthur Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Mira PR Walkthrough

Raises the action's minimum and default devlanes version to 0.11.0 and replaces the removed devlanes certs trust flow with devlanes setup --yes on Linux. hosts-file is now expressed as hostnames.hosts_file user config (always/never/unset) written before the daemon starts, instead of the --hosts flag. Docs, e2e checks (including DEVLANES_LANE_PROJECT and dashless lane domains), fixtures, and CI are updated, with a new hosts-helper CI job. dist/ was rebuilt, but it isn't in the reviewed file list.

Confidence: 4/5   ◉◉◉◉○   Safe with minor checks
  • The change is well scoped and the author reports lint, types, tests and build passing. The Linux setup and hosts-file behavior can only be confirmed by the new CI job, and dist/ isn't in the reviewed file list, so I couldn't check it.

16 files reviewed


Comment @mira-arthur help to get the list of available commands and usage tips.

@arthurfiorette
arthurfiorette marked this pull request as ready for review November 1, 2026 20:55
devlanes 0.8.0 runs relative paths from the project file's folder; the fixtures still named them from the repository root. The regenerated pnpm lockfile is formatted as Biome expects.
…E_PROJECT

0.11.0 installs the hosts helper on GitHub's runners and no longer lets one lane's exported DEVLANES_PROJECT pin the next project in the job.
@arthurfiorette arthurfiorette changed the title Require devlanes 0.10.0 and set up the runner with devlanes setup Require devlanes 0.11.0 and set up the runner with devlanes setup Nov 1, 2026
@arthurfiorette
arthurfiorette enabled auto-merge (squash) November 2, 2026 00:19
@arthurfiorette
arthurfiorette merged commit cd6f294 into main Nov 2, 2026
25 of 26 checks passed
@arthurfiorette
arthurfiorette deleted the feat/require-devlanes-setup branch November 2, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant