From a77efd630c43e89eb0100baee3a2018409dea8dc Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 20:32:57 +0000 Subject: [PATCH 1/7] docs: how to make a repository dl-ready --- AGENTS.md | 5 ++- CHANGELOG.md | 6 +++ README.md | 1 + docs/dl-ready-repos.md | 93 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 docs/dl-ready-repos.md diff --git a/AGENTS.md b/AGENTS.md index 9e6d3ef5..3e5a6898 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -220,6 +220,9 @@ dl -- # run: stdout and exit status are the command's dl rm # teardown; refuses on unpushed work ``` +To convert a repository so `dl` opens it fast and clean, follow +[docs/dl-ready-repos.md](docs/dl-ready-repos.md). + [docs/agents-using-dl.md](docs/agents-using-dl.md) is the contract behind those: what each `--ls --json` field means, why `unsaved` is not a boolean, how a signalled command reports, which cleanup verb to reach for, and what a workspace @@ -256,7 +259,7 @@ globbing or expansion. - **README orients, `docs/` explains.** The README is deliberately short: what `dl` is, the quickstart, the command tables, and one environment-variable table. Depth lives in `docs/` (`cli.md`, `workspaces.md`, `workspace-tools.md`, - `cleanup.md`, `performance.md`, `development.md`, `agents-using-dl.md`) and is linked from the README's + `cleanup.md`, `performance.md`, `development.md`, `agents-using-dl.md`, `dl-ready-repos.md`) and is linked from the README's Docs table. A new paragraph of design rationale belongs in the docs page for its topic, not in the README. Adding a flag still means naming it in the README, because `test/test_readme_cli_doc.py` requires every flag `dl --help` offers to diff --git a/CHANGELOG.md b/CHANGELOG.md index bf7a298d..f299742d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- **`docs/dl-ready-repos.md` says how to convert a repository so `dl` opens it fast and + clean.** The target devcontainer shape, the tips and the blockers from the October 2026 + sweep across the owner's repositories, with links to the dl fixes for the blockers dl had. + ### Fixed - **The devcontainer image no longer trusts the compromised emSign ECC Root CA - G3.** diff --git a/README.md b/README.md index ca9e73f2..c78ef94f 100644 --- a/README.md +++ b/README.md @@ -578,6 +578,7 @@ re-decides a mount. | [docs/cleanup.md](docs/cleanup.md) | `--prune`, `--purge`, `--reconcile`, and what a workspace costs on disk | | [docs/performance.md](docs/performance.md) | Where a launch's seconds go, and the trend on `main` | | [docs/devcontainer-projects.md](docs/devcontainer-projects.md) | Projects with demanding devcontainers | +| [docs/dl-ready-repos.md](docs/dl-ready-repos.md) | Converting a repository so `dl` opens it fast and clean: the target devcontainer shape, tips, known blockers | | [docs/agents-using-dl.md](docs/agents-using-dl.md) | Running `dl` from a script or an agent: the subprocess contract, `--ls --json`, and what one branch per agent buys | | [docs/development.md](docs/development.md) | Building, testing, CI guards, the prebuilt image | diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md new file mode 100644 index 00000000..ef1d3bd7 --- /dev/null +++ b/docs/dl-ready-repos.md @@ -0,0 +1,93 @@ +# Making a repository dl-ready + +This page is for an agent that converts a repository so `dl owner/repo@branch` opens it +quickly and cleanly. It is a checklist, learned from a sweep across the owner's repositories +in October 2026. Each tip names the repository that taught it. + +## The target shape + +- `.devcontainer/devcontainer.json` with + `"image": "ghcr.io/blooop/python_template/devcontainer:latest"`. That image is Ubuntu 26.04 + with pixi, the claude-code feature and the emSign G3 CA fix baked in. Copy + python_template's `.devcontainer/` (not its `ci/`), and keep `"name"` as the last key, so + `update-from-template-repo` merges do not conflict on it. +- Everything else comes from pixi. Python, uv, node and Rust tools go in the pixi manifest, + not in a Dockerfile. +- Only when something cannot come from conda-forge: `"build"` with + `FROM ghcr.io/blooop/python_template/devcontainer:latest` plus one extra layer. + +## Tips + +- **No `features` block on an `"image"` config.** Any feature makes the devcontainer CLI + build a derived image on the first launch of every branch. The base already has + common-utils and git (dbw, planthood). +- **Do not use Microsoft's `base:ubuntu-24.04` or `python:0-3.10`.** The 24.04 tag stopped + being rebuilt in October 2025 and ships a CA bundle that still trusts emSign G3. + `python:0-3.10` no longer builds: `apt install git-lfs` exits 100 (leetcode_rerun, + rerun_examples). A repository that really needs its own base uses `base:3-ubuntu26.04`. +- **Post-create must not rewrite the lock.** A plain `pixi install` or `pixi run ` + with a newer pixi rewrites `pixi.lock` (pixi 0.83 turns a v6 lock into v7), so every + fresh workspace is dirty and `dl rm` refuses it. Use `pixi install --frozen` and + `pixi run --frozen ` in post-create (python_template#177). `--locked` fails + container creation on an older lock format. +- **Commit the lock in the current format.** Once the lock is v7, pixi 0.83 has nothing to + rewrite, so a `pixi run test` typed by a person does not dirty the clone either. Fix + pixi's manifest warnings in the same change. +- **The `.pixi` volume is root-owned on create.** Post-create runs `sudo chown vscode .pixi` + before `pixi install` (python_template's `post-create.sh`). +- **Seed `known_hosts` in post-create**, not by mounting `~/.ssh`. devpod forwards the ssh + agent. +- **Keep `--network=host` only with a reason**: mDNS for homeassistant-config, ROS 2 DDS for + colcon-runner. Everything else uses the bridge network, so two branches of one repository + do not fight over ports. +- **Environment variables go in `containerEnv`**, not in an `env` key (which is not valid) + or a Dockerfile `ENV` (deps_rocker, rockerc). +- **Docker-driving repositories keep docker-in-docker or docker-outside-of-docker** as a + feature and accept the derived build (rockerc, worktree_docker, deps_rocker). On the 26.04 + image docker-in-docker needs major 4: `docker-in-docker:2` has no Moby packages for + Ubuntu 26.04 and fails in seconds (devcontainers/features#1738). + `docker-outside-of-docker:1` already works. +- **Repositories with Git LFS files need git-lfs in the container.** The shared image has + none, so `git status` fails with "clean filter 'lfs' failed". Find them with + `git lfs ls-files`, and add one apt `git-lfs` layer on top of the shared image + (ArjanCodesSoftwareDesignerMindset). +- **Old flit repositories keep flit as the build backend.** pixi needs only `python`, + ` = { path = ".", editable = true }` under pypi-dependencies and + `default = { features = ["test"] }`. Old pins can cap Python: taichi 1.7.0 has no cp312 + wheel, so ant_colony_bench uses 3.11. +- **Repositories with no pixi manifest** (devcontainer-features, devcontainer-templates) use + `"build"` from the shared image plus the features they need, and skip the template's + `post-create.sh`, which runs `pixi install`. + +## Blockers to expect + +- **Template bind mounts fail where the host lacks the source.** The template mounts + `~/.config/gh` and `~/.claude`. A CI runner has neither, and a missing bind source stops + the container. Create both directories in CI first (deps_rocker's `ci.yml`). +- **A host-dependent `initializeCommand` stops the workspace.** stata's `init-host.sh` + exits 1 when `~/.config/stata` is absent. Make the script create or skip what it needs. + +Fixed in dl (from the release after these PRs merge), so a conversion no longer needs to work around them: + +- A repository with no devcontainer got devpod's own `base:ubuntu`, because dl never passed + `[worktree] fallback_image` on + ([#706](https://github.com/blooop/devlaunch/issues/706), fixed in [#710](https://github.com/blooop/devlaunch/pull/710)). dl now passes it, and it + defaults to the shared image. +- `dl rm` refused every such repository, because devpod writes its fallback config into the + clone as `.devcontainer.json` + ([#707](https://github.com/blooop/devlaunch/issues/707), fixed in [#711](https://github.com/blooop/devlaunch/pull/711)). The build files devpod writes under `.devcontainer/.devpod-internal/` for a config with features no longer count either. +- "the hostname setup stage exited 1" printed on every cold launch + ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless. +- One damaged devpod workspace record repeated devpod's warning on every dl call + ([#705](https://github.com/blooop/devlaunch/issues/705)). + +## Testing a conversion + +- Test the pushed branch and `@main`, for a before and after: + `dl blooop/@ -- bash -lc ''`. That form runs with no pty, which is + expected and fakes some failures (the clipboard, for one). +- Pre-check a Python pin with a throwaway `docker run` of the shared image before the dl + test. +- Delete both workspaces after: `dl blooop/@ rm`. +- A cold create on the shared image, image already pulled, took 29s to 42s for a small pixi + repository and 74s for colcon-runner. A much longer create means something is building. From aba145a5813beb44f3909bac172ad0330284e091 Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:14:30 +0000 Subject: [PATCH 2/7] fix(docs): dl-ready-repos listed the open #705 as fixed in dl #709, #710 and #711 are merged, so the fixed list now dates itself from v0.63.2 instead of a future merge. --- docs/dl-ready-repos.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index ef1d3bd7..efd7a27a 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -66,8 +66,12 @@ in October 2026. Each tip names the repository that taught it. the container. Create both directories in CI first (deps_rocker's `ci.yml`). - **A host-dependent `initializeCommand` stops the workspace.** stata's `init-host.sh` exits 1 when `~/.config/stata` is absent. Make the script create or skip what it needs. +- **One empty devpod workspace record repeats devpod's warning on every dl call**, and + `dl --ls` does not show that workspace (open: [#705](https://github.com/blooop/devlaunch/issues/705)). + The warning names the workspace. Delete that record's folder under + `~/.devpod/contexts/default/workspaces/`. -Fixed in dl (from the release after these PRs merge), so a conversion no longer needs to work around them: +Fixed on dl's `main` after v0.63.2, so a conversion on a later dl no longer needs to work around them: - A repository with no devcontainer got devpod's own `base:ubuntu`, because dl never passed `[worktree] fallback_image` on @@ -78,8 +82,6 @@ Fixed in dl (from the release after these PRs merge), so a conversion no longer ([#707](https://github.com/blooop/devlaunch/issues/707), fixed in [#711](https://github.com/blooop/devlaunch/pull/711)). The build files devpod writes under `.devcontainer/.devpod-internal/` for a config with features no longer count either. - "the hostname setup stage exited 1" printed on every cold launch ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless. -- One damaged devpod workspace record repeated devpod's warning on every dl call - ([#705](https://github.com/blooop/devlaunch/issues/705)). ## Testing a conversion From aacb4f81557fc74c6251ce513a2550683ccef10d Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:14:47 +0000 Subject: [PATCH 3/7] fix(docs): dl-ready-repos said the shared image has no git-lfs python_template#177 put git-lfs in the image, and the published latest reports git-lfs/3.7.1. --- docs/dl-ready-repos.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index efd7a27a..3ba5a487 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -8,7 +8,7 @@ in October 2026. Each tip names the repository that taught it. - `.devcontainer/devcontainer.json` with `"image": "ghcr.io/blooop/python_template/devcontainer:latest"`. That image is Ubuntu 26.04 - with pixi, the claude-code feature and the emSign G3 CA fix baked in. Copy + with pixi, git-lfs, the claude-code feature and the emSign G3 CA fix baked in. Copy python_template's `.devcontainer/` (not its `ci/`), and keep `"name"` as the last key, so `update-from-template-repo` merges do not conflict on it. - Everything else comes from pixi. Python, uv, node and Rust tools go in the pixi manifest, @@ -47,10 +47,10 @@ in October 2026. Each tip names the repository that taught it. image docker-in-docker needs major 4: `docker-in-docker:2` has no Moby packages for Ubuntu 26.04 and fails in seconds (devcontainers/features#1738). `docker-outside-of-docker:1` already works. -- **Repositories with Git LFS files need git-lfs in the container.** The shared image has - none, so `git status` fails with "clean filter 'lfs' failed". Find them with - `git lfs ls-files`, and add one apt `git-lfs` layer on top of the shared image - (ArjanCodesSoftwareDesignerMindset). +- **Repositories with Git LFS files need git-lfs in the container.** Without it, `git status` + fails with "clean filter 'lfs' failed" (ArjanCodesSoftwareDesignerMindset). The shared + image has carried git-lfs since python_template#177, so a repository on it needs nothing. + One on its own base adds an apt `git-lfs` layer. Find them with `git lfs ls-files`. - **Old flit repositories keep flit as the build backend.** pixi needs only `python`, ` = { path = ".", editable = true }` under pypi-dependencies and `default = { features = ["test"] }`. Old pins can cap Python: taichi 1.7.0 has no cp312 From 2c17c4b07ef61881d9a7ae30a02dc81308d7774c Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:15:00 +0000 Subject: [PATCH 4/7] fix(docs): dl-ready-repos said docker-in-docker needs major 4 on 26.04 Major 2 builds with "moby": false; devlaunch's own devcontainer does that. --- docs/dl-ready-repos.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index 3ba5a487..76bb1588 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -44,8 +44,9 @@ in October 2026. Each tip names the repository that taught it. or a Dockerfile `ENV` (deps_rocker, rockerc). - **Docker-driving repositories keep docker-in-docker or docker-outside-of-docker** as a feature and accept the derived build (rockerc, worktree_docker, deps_rocker). On the 26.04 - image docker-in-docker needs major 4: `docker-in-docker:2` has no Moby packages for - Ubuntu 26.04 and fails in seconds (devcontainers/features#1738). + image, `docker-in-docker:2` with its default `"moby": true` fails in seconds, because + Moby has no Ubuntu 26.04 packages for it (devcontainers/features#1738). Use major 4, or + keep major 2 with `"moby": false`, as this repository's own `.devcontainer/` does. `docker-outside-of-docker:1` already works. - **Repositories with Git LFS files need git-lfs in the container.** Without it, `git status` fails with "clean filter 'lfs' failed" (ArjanCodesSoftwareDesignerMindset). The shared From f14cfa0e4444c281087d9a0627b1a54bf5127f70 Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:17:07 +0000 Subject: [PATCH 5/7] docs(dl-ready-repos): list #705 as fixed in #713, link #715, say merged #709/#710 behavior #713 merges before this page, so the #705 blocker and its rm -r workaround go; dl now names the record once with the rm -r hint itself. --- docs/dl-ready-repos.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index 76bb1588..1aa254d4 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -46,7 +46,8 @@ in October 2026. Each tip names the repository that taught it. feature and accept the derived build (rockerc, worktree_docker, deps_rocker). On the 26.04 image, `docker-in-docker:2` with its default `"moby": true` fails in seconds, because Moby has no Ubuntu 26.04 packages for it (devcontainers/features#1738). Use major 4, or - keep major 2 with `"moby": false`, as this repository's own `.devcontainer/` does. + keep major 2 with `"moby": false`, as this repository's own `.devcontainer/` does + ([#715](https://github.com/blooop/devlaunch/pull/715)). `docker-outside-of-docker:1` already works. - **Repositories with Git LFS files need git-lfs in the container.** Without it, `git status` fails with "clean filter 'lfs' failed" (ArjanCodesSoftwareDesignerMindset). The shared @@ -67,22 +68,25 @@ in October 2026. Each tip names the repository that taught it. the container. Create both directories in CI first (deps_rocker's `ci.yml`). - **A host-dependent `initializeCommand` stops the workspace.** stata's `init-host.sh` exits 1 when `~/.config/stata` is absent. Make the script create or skip what it needs. -- **One empty devpod workspace record repeats devpod's warning on every dl call**, and - `dl --ls` does not show that workspace (open: [#705](https://github.com/blooop/devlaunch/issues/705)). - The warning names the workspace. Delete that record's folder under - `~/.devpod/contexts/default/workspaces/`. Fixed on dl's `main` after v0.63.2, so a conversion on a later dl no longer needs to work around them: - A repository with no devcontainer got devpod's own `base:ubuntu`, because dl never passed `[worktree] fallback_image` on ([#706](https://github.com/blooop/devlaunch/issues/706), fixed in [#710](https://github.com/blooop/devlaunch/pull/710)). dl now passes it, and it - defaults to the shared image. + defaults to the shared image. Only a create uses it: a workspace that exists keeps its image. - `dl rm` refused every such repository, because devpod writes its fallback config into the clone as `.devcontainer.json` ([#707](https://github.com/blooop/devlaunch/issues/707), fixed in [#711](https://github.com/blooop/devlaunch/pull/711)). The build files devpod writes under `.devcontainer/.devpod-internal/` for a config with features no longer count either. - "the hostname setup stage exited 1" printed on every cold launch - ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless. + ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless, + and dl now reports it as an info line: it did not set the hostname, and nothing else is + affected. +- One damaged devpod workspace record (a `workspace.json` that is empty, + garbled or not a JSON object) repeated + devpod's `could not load workspace` warning on every dl call + ([#705](https://github.com/blooop/devlaunch/issues/705), fixed in [#713](https://github.com/blooop/devlaunch/pull/713)). dl now names that record once on + stderr, gives the `rm -r ` that clears it, and hides devpod's repeated warning. ## Testing a conversion From bc114bfe23f9a076088b3a562ba85b37f9664ba1 Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:24:02 +0000 Subject: [PATCH 6/7] fix(docs): dl-ready-repos overstated three dl fixes and went stale at the next release - #705: dl prints one line on each call, not once, and devpod's warning still shows on the first-launch tool install and on `stop`. - #707: name the three `.devpod-internal` places, that it stays only after an interrupted build, and that `.devcontainer.json` is ignored only while its one key is a string `image`. - #709 changed the words, not the level; "most cold launches", not every. - "Fixed on dl's main after v0.63.2" -> "dl releases newer than v0.63.2", and point at CHANGELOG.md for detail. - Name blooop as the owner; link #708, python_template#177, devcontainers/features#1738 and the public repositories; drop names a reader cannot find. Re-wrap the long lines. --- CHANGELOG.md | 2 +- docs/dl-ready-repos.md | 99 +++++++++++++++++++++++++----------------- 2 files changed, 60 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7548ad3..308b58aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **`docs/dl-ready-repos.md` says how to convert a repository so `dl` opens it fast and clean.** The target devcontainer shape, the tips and the blockers from the October 2026 - sweep across the owner's repositories, with links to the dl fixes for the blockers dl had. + sweep across blooop's repositories, with links to the dl fixes for the blockers dl had. ### Changed diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index 1aa254d4..4a3ec91f 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -1,8 +1,8 @@ # Making a repository dl-ready This page is for an agent that converts a repository so `dl owner/repo@branch` opens it -quickly and cleanly. It is a checklist, learned from a sweep across the owner's repositories -in October 2026. Each tip names the repository that taught it. +quickly and cleanly. It is a checklist, learned from a sweep across blooop's repositories in +October 2026. Where a public repository shows a tip, the tip links it. ## The target shape @@ -20,16 +20,17 @@ in October 2026. Each tip names the repository that taught it. - **No `features` block on an `"image"` config.** Any feature makes the devcontainer CLI build a derived image on the first launch of every branch. The base already has - common-utils and git (dbw, planthood). + common-utils and git. - **Do not use Microsoft's `base:ubuntu-24.04` or `python:0-3.10`.** The 24.04 tag stopped being rebuilt in October 2025 and ships a CA bundle that still trusts emSign G3. - `python:0-3.10` no longer builds: `apt install git-lfs` exits 100 (leetcode_rerun, - rerun_examples). A repository that really needs its own base uses `base:3-ubuntu26.04`. + `python:0-3.10` no longer builds: `apt install git-lfs` exits 100. A repository that + really needs its own base uses `base:3-ubuntu26.04`. - **Post-create must not rewrite the lock.** A plain `pixi install` or `pixi run ` with a newer pixi rewrites `pixi.lock` (pixi 0.83 turns a v6 lock into v7), so every fresh workspace is dirty and `dl rm` refuses it. Use `pixi install --frozen` and - `pixi run --frozen ` in post-create (python_template#177). `--locked` fails - container creation on an older lock format. + `pixi run --frozen ` in post-create + ([python_template#177](https://github.com/blooop/python_template/pull/177)). `--locked` + fails container creation on an older lock format. - **Commit the lock in the current format.** Once the lock is v7, pixi 0.83 has nothing to rewrite, so a `pixi run test` typed by a person does not dirty the clone either. Fix pixi's manifest warnings in the same change. @@ -37,27 +38,34 @@ in October 2026. Each tip names the repository that taught it. before `pixi install` (python_template's `post-create.sh`). - **Seed `known_hosts` in post-create**, not by mounting `~/.ssh`. devpod forwards the ssh agent. -- **Keep `--network=host` only with a reason**: mDNS for homeassistant-config, ROS 2 DDS for - colcon-runner. Everything else uses the bridge network, so two branches of one repository - do not fight over ports. +- **Keep `--network=host` only with a reason**: mDNS for a Home Assistant config, ROS 2 DDS + for [colcon-runner](https://github.com/blooop/colcon-runner). Everything else uses the + bridge network, so two branches of one repository do not fight over ports. - **Environment variables go in `containerEnv`**, not in an `env` key (which is not valid) - or a Dockerfile `ENV` (deps_rocker, rockerc). + or a Dockerfile `ENV`. - **Docker-driving repositories keep docker-in-docker or docker-outside-of-docker** as a - feature and accept the derived build (rockerc, worktree_docker, deps_rocker). On the 26.04 - image, `docker-in-docker:2` with its default `"moby": true` fails in seconds, because - Moby has no Ubuntu 26.04 packages for it (devcontainers/features#1738). Use major 4, or - keep major 2 with `"moby": false`, as this repository's own `.devcontainer/` does - ([#715](https://github.com/blooop/devlaunch/pull/715)). + feature and accept the derived build ([rockerc](https://github.com/blooop/rockerc), + [worktree_docker](https://github.com/blooop/worktree_docker), + [deps_rocker](https://github.com/blooop/deps_rocker)). On the 26.04 image, which this + repository moved to in [#708](https://github.com/blooop/devlaunch/pull/708), + `docker-in-docker:2` with its default `"moby": true` fails in seconds, because Moby has + no Ubuntu 26.04 packages for it + ([devcontainers/features#1738](https://github.com/devcontainers/features/issues/1738)). + Use major 4, or keep major 2 with `"moby": false`, as this repository's own + `.devcontainer/` does ([#715](https://github.com/blooop/devlaunch/pull/715)). `docker-outside-of-docker:1` already works. - **Repositories with Git LFS files need git-lfs in the container.** Without it, `git status` - fails with "clean filter 'lfs' failed" (ArjanCodesSoftwareDesignerMindset). The shared - image has carried git-lfs since python_template#177, so a repository on it needs nothing. + fails with "clean filter 'lfs' failed". The shared image has carried git-lfs since + [python_template#177](https://github.com/blooop/python_template/pull/177), so a + repository on it needs nothing. One on its own base adds an apt `git-lfs` layer. Find them with `git lfs ls-files`. - **Old flit repositories keep flit as the build backend.** pixi needs only `python`, ` = { path = ".", editable = true }` under pypi-dependencies and `default = { features = ["test"] }`. Old pins can cap Python: taichi 1.7.0 has no cp312 - wheel, so ant_colony_bench uses 3.11. -- **Repositories with no pixi manifest** (devcontainer-features, devcontainer-templates) use + wheel, so a repository that pins it uses Python 3.11. +- **Repositories with no pixi manifest** + ([devcontainer-features](https://github.com/blooop/devcontainer-features), + [devcontainer-templates](https://github.com/blooop/devcontainer-templates)) use `"build"` from the shared image plus the features they need, and skip the template's `post-create.sh`, which runs `pixi install`. @@ -65,28 +73,39 @@ in October 2026. Each tip names the repository that taught it. - **Template bind mounts fail where the host lacks the source.** The template mounts `~/.config/gh` and `~/.claude`. A CI runner has neither, and a missing bind source stops - the container. Create both directories in CI first (deps_rocker's `ci.yml`). -- **A host-dependent `initializeCommand` stops the workspace.** stata's `init-host.sh` - exits 1 when `~/.config/stata` is absent. Make the script create or skip what it needs. + the container. Create both directories in CI first, as + [deps_rocker](https://github.com/blooop/deps_rocker)'s `ci.yml` does. +- **A host-dependent `initializeCommand` stops the workspace.** An `init-host.sh` that + exits 1 when its `~/.config/` directory is absent stops every launch on a host + without it. Make the script create or skip what it needs. -Fixed on dl's `main` after v0.63.2, so a conversion on a later dl no longer needs to work around them: +dl releases newer than v0.63.2 fix these, so a conversion on such a dl does not need to +work around them. `CHANGELOG.md` has the details. -- A repository with no devcontainer got devpod's own `base:ubuntu`, because dl never passed - `[worktree] fallback_image` on - ([#706](https://github.com/blooop/devlaunch/issues/706), fixed in [#710](https://github.com/blooop/devlaunch/pull/710)). dl now passes it, and it - defaults to the shared image. Only a create uses it: a workspace that exists keeps its image. -- `dl rm` refused every such repository, because devpod writes its fallback config into the - clone as `.devcontainer.json` - ([#707](https://github.com/blooop/devlaunch/issues/707), fixed in [#711](https://github.com/blooop/devlaunch/pull/711)). The build files devpod writes under `.devcontainer/.devpod-internal/` for a config with features no longer count either. -- "the hostname setup stage exited 1" printed on every cold launch - ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless, - and dl now reports it as an info line: it did not set the hostname, and nothing else is - affected. -- One damaged devpod workspace record (a `workspace.json` that is empty, - garbled or not a JSON object) repeated - devpod's `could not load workspace` warning on every dl call - ([#705](https://github.com/blooop/devlaunch/issues/705), fixed in [#713](https://github.com/blooop/devlaunch/pull/713)). dl now names that record once on - stderr, gives the `rm -r ` that clears it, and hides devpod's repeated warning. +- A repository with no devcontainer got devpod's own `base:ubuntu` + ([#706](https://github.com/blooop/devlaunch/issues/706), fixed in + [#710](https://github.com/blooop/devlaunch/pull/710)). dl now passes + `[worktree] fallback_image`, which defaults to the shared image, on a create only: a + workspace that exists keeps its image. +- `dl rm` refused such a repository, because devpod writes its fallback config into the + clone as `.devcontainer.json` ([#707](https://github.com/blooop/devlaunch/issues/707), + fixed in [#711](https://github.com/blooop/devlaunch/pull/711)). dl ignores that file only + while its one key is a string `image`. dl also ignores devpod's `.devpod-internal/` build + folder at the clone root, in `.devcontainer/` and in `.devcontainer//`. devpod + removes that folder when a build ends, so a clone keeps it only after an interrupted + build. +- "the hostname setup stage exited 1" printed on most cold launches + ([#704](https://github.com/blooop/devlaunch/issues/704), fixed in + [#709](https://github.com/blooop/devlaunch/pull/709)). It was always harmless. dl now + says what happened: it did not set the hostname, and nothing else is affected. +- One damaged devpod workspace record (a `workspace.json` that is empty, garbled, or JSON + but not an object; `null` reads as an empty record) repeated devpod's + `could not load workspace` warning on every dl call + ([#705](https://github.com/blooop/devlaunch/issues/705), fixed in + [#713](https://github.com/blooop/devlaunch/pull/713)). dl now prints one line on stderr + on each call that names the record and gives the `rm -r ` that clears it. dl drops + devpod's warning from the output it reads, but the warning still shows on the two calls + that dl hands the terminal directly: the tool install on a first launch, and `stop`. ## Testing a conversion From 472918492655bb27570f2b2d910dc74b163e9e3c Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sun, 25 Oct 2026 22:26:15 +0000 Subject: [PATCH 7/7] fix(docs): dl-ready-repos said 'these' where it meant the blockers below --- docs/dl-ready-repos.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dl-ready-repos.md b/docs/dl-ready-repos.md index 4a3ec91f..593aa4c2 100644 --- a/docs/dl-ready-repos.md +++ b/docs/dl-ready-repos.md @@ -79,8 +79,8 @@ October 2026. Where a public repository shows a tip, the tip links it. exits 1 when its `~/.config/` directory is absent stops every launch on a host without it. Make the script create or skip what it needs. -dl releases newer than v0.63.2 fix these, so a conversion on such a dl does not need to -work around them. `CHANGELOG.md` has the details. +dl releases newer than v0.63.2 fix the blockers below, so a conversion on such a dl does not +need to work around them. `CHANGELOG.md` has the details. - A repository with no devcontainer got devpod's own `base:ubuntu` ([#706](https://github.com/blooop/devlaunch/issues/706), fixed in