Repository navigation
Description
Problem
The image smoke steps of .github/workflows/ci.yml (the service image and the runner image) and of .github/workflows/release.yml start containers with --tmpfs /home/devops:uid=1000,gid=1000. Docker gives these options to the kernel. Podman checks the options and refuses them: in the devcontainer of #6414, where docker is podman-docker, rootless docker run and rootful sudo docker run with Podman 5.8.6 both stop with Error: unknown mount option "uid=1000": invalid mount option. The steps without --tmpfs ...:uid= work there (docker run --rm --entrypoint id "$IMAGE" -u). So these steps run on a GitHub-hosted runner, but not in the devcontainer, and the rule "every CI job runs in the devcontainer and on a stock GitHub-hosted runner" (docs/SDLC.md) does not hold for them.
Expected
- Each
docker runstep of the image smoke checks runs with Docker on a GitHub-hosted runner and with Podman throughpodman-dockerin the devcontainer, and the user 1000 of the image can write its tmpfs home. Podman has--tmpfs <path>:Uand Docker has no such option, so the form that works on both is a decision of this item.
Proof
- The changed steps pass in CI.
- The same commands, with the image built in the devcontainer, exit 0 in the devcontainer of fix(devcontainer): build the devcontainer image FROM devtools #6414.
Source: #6414
Alternatives check of 2026-11-20: not-applicable.
Class: ci, no search.
Tool: none found.
Proposed design
Problem statement
Replace --tmpfs /home/devops:uid=1000,gid=1000 with --tmpfs /home/devops:mode=1777 in each image smoke step of .github/workflows/ci.yml and .github/workflows/release.yml. One pull request delivers the change. The devcontainer of #6414 is the Podman gate, and the CI Quality Gate workflow is the Docker gate. Docker gives uid=1000,gid=1000 to the kernel. Podman 5.8.6 stops with Error: unknown mount option "uid=1000": invalid mount option, so the steps fail in the devcontainer of #6414. The rule in docs/SDLC.md says every CI job runs in the devcontainer and on a stock GitHub-hosted runner. The steps break that rule.
Acceptance criteria
Requirement: Portable home tmpfs
Each image smoke step of .github/workflows/ci.yml and .github/workflows/release.yml SHALL mount /home/devops with --tmpfs /home/devops:mode=1777.
Scenario: Podman devcontainer smoke check
- WHEN the image smoke commands run in the devcontainer of fix(devcontainer): build the devcontainer image FROM devtools #6414 with
dockerset topodman-docker, and the image is built there - THEN each command exits 0, and the user 1000 probe writes its file to
/home/devops.
Requirement: Docker runner smoke check
The image smoke steps of .github/workflows/ci.yml MUST exit 0 on a stock GitHub-hosted runner with Docker.
Scenario: CI runner smoke check
- WHEN the
CI Quality Gateworkflow runs on a stock GitHub-hosted runner for a pull request that changes image content - THEN each image smoke step of
.github/workflows/ci.ymlexits 0.
Requirement: Workflow validation
The changed workflows MUST pass the workflow validators.
Scenario: actionlint and zizmor
- WHEN
uv run devops ci --check --only actionlint,zizmorruns - THEN the command exits 0 and reports no workflow error.
Existing Tool Considered
The alternatives check of 2026-11-20 records not-applicable for class ci with no search, and it names no tool; see the alternatives block in the issue body. The need is a container engine, and the workflows already use Docker and Podman through podman-docker; no other open, maintained tool or library covers it. The change builds no code, so it has no build cost.
Key questions
- Which tmpfs form works on Docker and on Podman and lets user 1000 write
/home/devops?: Use--tmpfs /home/devops:mode=1777. Docker passesmodeto the kernel, and Podman accepts themodemount option. Mode 1777 is world-writable with the sticky bit, so user 1000 can create its files. Do not useuid=1000,gid=1000, because Podman 5.8.6 stops withError: unknown mount option "uid=1000": invalid mount option. Do not useU, because Docker has noUoption. (best practice) [sources: .github/workflows/ci.yml, .github/workflows/release.yml, docs/SDLC.md]- Chosen: mode=1777. Both engines accept the kernel
modeoption, and the world-writable mode lets user 1000 write the home. - Rejected: uid=1000,gid=1000. Podman 5.8.6 rejects
uid=1000withunknown mount option. - Rejected: U. Podman accepts
U, but Docker has no such option. - Rejected: No tmpfs option. The step does not state the default mode, and the explicit mode states the permission that user 1000 needs.
- Rejected: Engine-conditional
docker run. It adds a branch to each smoke step and two forms to keep in sync.
- Chosen: mode=1777. Both engines accept the kernel
- Do the smoke steps need a second, engine-conditional form for Podman?: No. One form works on both engines. A branch on the engine adds a second form to each step and two forms to keep in sync. (best practice) [sources: .github/workflows/ci.yml, .github/workflows/release.yml]
- Chosen: One portable form. One form removes the engine branch and the second form from each step.
- Rejected: Engine-conditional form. It adds a branch to each smoke step and two forms to keep in sync.
- Do the smoke steps keep a tmpfs home for user 1000?: Yes.
--read-onlymakes the image's/home/devopsread-only, and user 1000 must write its home for the probe. The tmpfs gives a writable home. (best practice) [sources: .github/workflows/ci.yml]- Chosen: Keep a writable tmpfs. The probe runs as user 1000 and writes its file, so the home must be writable.
- Rejected: Remove the home tmpfs. The image's
/home/devopsis read-only under--read-only, so the probe cannot write.
- Do the release workflow smoke steps use the same tmpfs form as the CI workflow smoke steps?: Yes. Both workflows run the same smoke commands, and the change edits the
--tmpfsoption in each one. [sources: .github/workflows/release.yml]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 19, 2026
Both target Podman compatibility in the project, but 1117 changes the CLI engine-discovery code while the candidate changes docker run commands in CI workflow YAML files.devops-cli-service commentedon Nov 19, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
fix(devcontainer): build the devcontainer image FROM devtools (#6472)
devops-cli-service commentedon Nov 20, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
dan-petty commentedon Nov 20, 2026
Evidence of 2026-11-20 in the devtools devcontainer (rootless Podman 5.8.6), on the published service image, with the Python probe of the Service Image Smoke Test:
--tmpfs /home/devops:uid=1000,gid=1000Error: unknown mount option "uid=1000"--tmpfs /home/devops:UUto the kernel, which refuses it)--tmpfs /home/devops:mode=1777--mount type=tmpfs,destination=/home/devops,tmpfs-mode=1777mode=1777is a tmpfs option of the kernel that Docker and Podman both accept. The home is thenroot 1777, like theemptyDirof a pod (mode 0777), so the probe still proves that the userdevopswrites to a home it does not own. The 8 lines are inci.yml(498, 505, 606, 609) andrelease.yml(359, 366, 494, 497).