diff --git a/engineering-docs/bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md b/engineering-docs/bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md index 226e7206..9e127fc7 100644 --- a/engineering-docs/bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md +++ b/engineering-docs/bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md @@ -1,9 +1,10 @@ --- -status: fixed +status: closed severity: blocking target: 0.3.1 owner: maintenance opened: 2026-11-15 +closed: 2026-11-15 requirements: [R-CONFIG-001] --- @@ -171,10 +172,10 @@ emitted the `PEXWarning` twice with two different fallback directories - `CapsuleUser.command()` and `CapsuleUser.owner_changes()` (and `logs.own`, `display._own`, and both `entrypoint.sh` scripts) skip redundant `gosu 0:0` / same-UID `chown 0:0` calls that `--cap-drop ALL` would otherwise refuse. -- **Verification target:** full `nox -s tests`, `nox -s typecheck`, `nox -s docs-contract`, - plus end-to-end validation on a real rootless Docker daemon (`Docker` with `Security Options: rootless`). +- **Validation and closure (2026-11-15):** + - `validate_unittests_follow_conventions.py --base release-0.3.1` (`0` breaches), `nox -s typecheck` (`344` files), `nox -s tests` (`3267 passed`), `nox -s smoke`, and `nox -s docs-contract` (`249 pages`) passed on `ws-maintenance/0.3.1-rootless-docker` (`a1a54eba`). + - Owner transported `devcapsule-local.pex` (`v0.3.1-local-linux-x86_64`, SHA-256 `7921e3bbd6abbe5ade7790d5c9020383d6117aa109608fa2714206246fde5d40`, built from `a1a54eba`) to the affected Ubuntu 24.04.5 LTS rootless Docker host and confirmed it worked on the rootless Docker installation (PR #38 merged into `release-0.3.1` at `2a3d6f61`). - **Remaining note:** `scie` `boot.commands[""]` still unpacks without exporting `PEX_ROOT`; once `/home/devcapsule/.cache` is writable under rootless `0:0`, the default `$XDG_CACHE_HOME/pex` path stops falling back to `/tmp/pex-root.*` on writable capsule homes. -- **Close criteria:** PR on `ws-maintenance/0.3.1-rootless-docker` is merged into `release-0.3.1` - and `devcapsule project run` is verified end-to-end inside a capsule on the owner's rootless Docker host. +- **Reopen criteria:** Reopen if a capsule launched with the merged `0.3.1` executable on rootless Docker again fails with `/etc/devcapsule/home/settings.toml` permission denied or `/home/devcapsule/.cache/pex` unwritable, or if non-rootless behavior regresses. diff --git a/engineering-docs/releases/v0.3.1/bugs.md b/engineering-docs/releases/v0.3.1/bugs.md index a2f96f31..3ecfecc1 100644 --- a/engineering-docs/releases/v0.3.1/bugs.md +++ b/engineering-docs/releases/v0.3.1/bugs.md @@ -13,7 +13,7 @@ before each candidate and record the reconciliation revision here. | Record | Status | Severity | Owner | Disposition | Next action | |---|---|---|---|---|---| -| [Inside a capsule on another machine, `devcapsule` warns on `/home/devcapsule/.cache/pex` and aborts with `Permission denied` reading `/etc/devcapsule/home/settings.toml`](../../bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md) | fixed | blocking | maintenance | filed 2026-11-15 at owner direction (`blocking` for `0.3.1`); rootless-only fix implemented on `ws-maintenance/0.3.1-rootless-docker`: when `docker info` reports `Security Options: rootless`, run container `--user 0:0` and plan `identity=(0, 0, "root")` without `gosu 0:0` / redundant `chown 0:0`; non-rootless behavior unchanged | review/merge PR on `ws-maintenance/0.3.1-rootless-docker` into `release-0.3.1` and validate end-to-end on the owner's Ubuntu 24.04.5 rootless Docker host | +| [Inside a capsule on another machine, `devcapsule` warns on `/home/devcapsule/.cache/pex` and aborts with `Permission denied` reading `/etc/devcapsule/home/settings.toml`](../../bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md) | closed | blocking | maintenance | filed 2026-11-15 at owner direction (`blocking` for `0.3.1`); rootless-only fix merged into `release-0.3.1` via PR #38 (`2a3d6f61`): when `docker info` reports `Security Options: rootless`, run container `--user 0:0` and plan `identity=(0, 0, "root")` without `gosu 0:0` / redundant `chown 0:0` (non-rootless unchanged); closed 2026-11-15 after owner verified `devcapsule-local.pex` (`a1a54eba`, SHA-256 `7921e3bb…`) worked on the rootless Docker installation | none | | [This repository's own project configuration predates 0.3: the committed manifest and lock are not what the release writes](../../bugs/devcapsule/2026-11-13-repository-project-configuration-predates-0.3.md) | confirmed | blocking | maintenance | rated blocking by the owner on 2026-11-13: the committed manifest is schema 1 and the lock is from `embedded-28`, the release ships `embedded-33`; an uncommitted rewrite of 2026-11-04 in the owner's checkout is from `embedded-31` and is not the fix; the refresh was checked on a copy with `v0.3.1-rc2` on 2026-11-13: the manifest is unchanged and the lock moves to `embedded-33`, Claude Code 2.1.321 and Codex 0.167.0; the write is refused inside the capsule | the owner runs `devcapsule project --path /home/costin/work.provisional/costin3/myProjects/devcapsule init --regenerate` on the host and `config check` there; then the two files are committed, before the final tag | | [Eclipse cannot be acquired from scratch on amd64: the libsoup package URLs return 404](../../bugs/devcapsule/2026-11-07-eclipse-amd64-libsoup-urls-return-404.md) | closed | major | maintenance | found by PR #338 on 2026-11-04, confirmed at the cut; both packages repinned at `3.4.4-5ubuntu0.10` (PR #10), matrix `embedded-32`; closed 2026-11-08 by a fresh amd64 Eclipse acquisition with an empty home on the downloaded `v0.3.1-rc1` | none; the 0.3.0 executable stays affected, 0.3.1 is the remedy | | [Codex status and version checks fail: the npm registry document exceeds the channel's 16 MiB cap](../../bugs/devcapsule/2026-11-08-codex-npm-metadata-exceeds-16-mib.md) | closed | major | maintenance | found 2026-11-08 reading the feed: Codex `inconclusive` for 45 runs since 2026-10-01; the full registry document is 18.7 MB against the channel's 16 MiB cap; resolved via PR #20 (`eb8ff8cf`, `Accept: application/vnd.npm.install-v1+json` in `NpmChannel.check()`); closed 2026-11-10 on `origin/component-status` (`0bc31c64`, `result: "ok"`, `consecutive_failures: 0`) and `project versions check` on downloaded `v0.3.1-rc2` (`2c3ace0f…`) | none; the 0.3.0 executable stays affected, 0.3.1 is the remedy | diff --git a/engineering-docs/wip/2026-09-18-maintenance/CURRENT-STATUS.md b/engineering-docs/wip/2026-09-18-maintenance/CURRENT-STATUS.md index 25c6ae7c..b9ee2470 100644 --- a/engineering-docs/wip/2026-09-18-maintenance/CURRENT-STATUS.md +++ b/engineering-docs/wip/2026-09-18-maintenance/CURRENT-STATUS.md @@ -5439,6 +5439,8 @@ claimed. No final release or graphical/end-user acceptance is claimed yet. ## Open Threads +- Blocking for 0.3.1, filed and closed 2026-11-15 (PR #38 merged into + `release-0.3.1` at `2a3d6f61`): when `docker info` reports - Website raw gitlink in GitHub Actions, 2026-11-16 (`ws-maintenance/website-gitlink-actions` -> `release-0.3.1`): `.github/workflows/tests.yml` (`docs-build`) and `.github/workflows/website.yml` (`build` and `candidate`) now materialize @@ -5464,7 +5466,9 @@ claimed. No final release or graphical/end-user acceptance is claimed yet. to `project_runtime_plan()` and `rootless_docker=True` to `PycharmRunOptions` (`--user 0:0`, `IDE_UID=0`, `IDE_GID=0`, `IDE_USER=root`, skipping redundant `gosu 0:0` and same-owner `chown` under `--cap-drop ALL`). All changes gate on - `rootless_docker` so non-rootless behavior stays unchanged. Record: + `rootless_docker` so non-rootless behavior stays unchanged. Owner verified + `devcapsule-local.pex` (`a1a54eba`, SHA-256 `7921e3bb…`) on the rootless + Docker installation. Record: [the 2026-11-15 bug](../../bugs/devcapsule/2026-11-15-in-capsule-devcapsule-fails-on-mounted-settings-and-pex-cache.md). - Blocking for 0.3.1, owner's rating of 2026-11-13: this repository's own `.devcapsule` is committed in its pre-0.3 form, a schema-1 manifest and a