Repository navigation
Description
What happens
The agent action (action.yml) turns every runner into a sandbox host
before it runs the agent. These steps have no if: condition on
origin/main:
Install Podman(line 390) runs.github/scripts/install-podman.sh.Configure rootless Podman(line 394) requires cgroups v2, runs
sudo usermod --add-subuids ...when the user has no/etc/subuidentry,
thenpodman system migrate,podman infoand
systemctl --user start podman.socket.Configure OpenShell gateway(line 404) writes
$HOME/.config/openshell/gateway.envandgateway.tomlwith
compute_driver = "podman".
That is the right setup for a GitHub-hosted runner, which starts as a fresh
virtual machine with none of it. It is the wrong setup for a runner that
uses an OpenShell gateway running somewhere else. Fullsend already supports
that arrangement: ensureContainerGatewayOverride in
internal/sandbox/gateway_endpoint.go (line 58) respects an explicit
OPENSHELL_GATEWAY_ENDPOINT and does not change it. On such a runner:
- Sandboxes are created on the remote gateway, so the runner does not need
Podman. Thegateway.tomlwritten on the runner configures a local gateway
that is not used. It does not reach the gateway it is meant to configure. - On a runner that is a container rather than a virtual machine, the Podman
steps fail becausesudo usermodandsystemctl --userare not available.
The job then fails before the agent starts.
What should happen
When the runner is configured for an existing OpenShell gateway
(OPENSHELL_GATEWAY_ENDPOINT is set), the action does not install or
configure a local container runtime or a local gateway. A runner that hosts
its own sandboxes, such as a GitHub-hosted runner, works as it does today.
How to reproduce
- Run a self-hosted runner as a container whose user cannot use
sudoor a
systemd user session, for example a Kubernetes pod. Use an image that
already includes theopenshellCLI andjsonschema. - Set
OPENSHELL_GATEWAY_ENDPOINTin the runner's environment so that it
points at a reachable OpenShell gateway. - Run any workflow that uses the agent action on that runner.
- The action runs
Install PodmanandConfigure rootless Podman. The job
fails atConfigure rootless PodmanbeforeRun fullsend. The run never
uses the gateway that the endpoint names.
Context
Found while running Fullsend end to end against a local GitHub API emulator.
The emulator's self-hosted Actions runners are containers, and they use an
OpenShell gateway that runs as a separate service.
Related: #5262, which added the OPENSHELL_GATEWAY_ENDPOINT override in
gateway_endpoint.go for a containerised CLI that cannot reach the gateway
on loopback.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Nov 3, 2026
🤖 Finished Triage · ✅ Success · Started 1:57 AM UTC · Completed 1:59 AM UTC
Commit:
f6e35de· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.09
fullsend-ai-triage commentedon Nov 3, 2026
Thanks for the detailed report. The unguarded steps in the root
action.ymlmatch your description, and no existing PR or duplicate issue covers this.Implementation note: a step-level
if: env.OPENSHELL_GATEWAY_ENDPOINT == ''will not work for your container-runner case. Theenvcontext only contains variables defined in the workflow, job or step. It does not contain variables set in the runner process's own environment, which is where you set the endpoint. The fix should add a small early bash step that reads the process environment and exports a flag through$GITHUB_OUTPUTor$GITHUB_ENV. The Install Podman, Configure rootless Podman and Configure OpenShell gateway steps would then be gated on that flag. WhetherInstall OpenShell CLIshould stay unconditional (it is presumably safe when the CLI is preinstalled) should be verified againstinstall-openshell.sh.Proposed test case:
This edits the root composite
action.yml, not a file under.github/workflows/, so the code agent should be able to implement it.Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Nov 3, 2026
🤖 Finished Code · ✅ Success · Started 2:01 AM UTC · Completed 2:09 AM UTC
Commit:
f6e35de· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.47
fix(#9044): tolerate preinstalled or externally managed jsonschema (PR …
fix(#9044): enforce jsonschema version floor before skipping install …
fix(#9044): skip local sandbox host setup for remote OpenShell gateway
fix(#9044): skip local sandbox host setup for remote OpenShell gateway
fix(#9044): validate the gateway endpoint and cover the prioritize ca…
21 remaining items
fix(#9044)!: validate the gateway endpoint and rank the repository va…
fix(#9044): address review follow-ups on the gateway endpoint docs an…
fix(#9044): document the gateway registration prerequisite
fix(#9044): assert what the endpoint rejection tests actually reject
fix(#9044): qualify the gateway matching docs and reject plaintext ex…
fix(#9044): split the gateway docs and pin the no-logging rule with t…
fix(#9044): lock the gateway endpoint to the runner's value on demand
feat(#9044)!: pass the gateway endpoint from repository variables
fix(#9044)!: validate the gateway endpoint and rank the repository va…
fix(#9044): address review follow-ups on the gateway endpoint docs an…
fix(#9044): document the gateway registration prerequisite
fix(#9044): assert what the endpoint rejection tests actually reject
fix(#9044): qualify the gateway matching docs and reject plaintext ex…
fix(#9044): split the gateway docs and pin the no-logging rule with t…
fix(#9044): lock the gateway endpoint to the runner's value on demand