Skip to content

Add proxy and CA configuration inputs to the fullsend GitHub Action #8505

Open

Description

@tpouyer

Problem

@waynesun09's review finding identifies that the fullsend GitHub Action writes gateway.toml with a fixed template and has no input for upstream proxy or CA settings. After PR #8496 blocks HTTP_PROXY/HTTPS_PROXY from env.sandbox, a self-hosted Actions runner behind a corporate proxy has no configuration step available: the Action is the gateway operator, and it writes a template without proxy fields.

The GitLab VM executor is not affected the same way: its pin_supervisor_image preserves an existing schema-v2 gateway.toml, so an operator can pre-configure proxy settings on the host.

Evidence

The "Configure OpenShell gateway" step in action.yml:

  1. Uses cat > to write $HOME/.config/openshell/gateway.toml, overwriting any existing file.
  2. The template contains only version, compute_driver, supervisor_image, and health_check_interval_secs.
  3. grep -i proxy action.yml returns zero matches; there are no workflow inputs for proxy or CA settings.

OpenShell v0.1.2's gateway configuration supports upstream proxy chaining under [openshell.drivers.<name>], including https_proxy, no_proxy, proxy_auth_file, and proxy_ca_bundle for the Podman driver. These are the fields the Action's template would need to expose.

Proposed design decisions

  • Which fields to expose as inputs: at minimum https_proxy and no_proxy. Decide whether proxy_auth_file and proxy_ca_bundle should also be exposed, or left to operators who need them to write their own config.
  • How to pass values into the template: extend the existing cat > heredoc, or read from workflow inputs into environment variables that the template references. Keep the fixed pin for supervisor_image and compute_driver so the Action still controls the OpenShell version.
  • Whether to preserve a pre-existing gateway.toml: the current cat > overwrite is intentional for ephemeral Actions runners. Decide whether to keep that model and only add optional fields, or follow the GitLab executor's approach of preserving an existing v2 file.
  • Default behavior when no proxy input is given: the template must remain identical to today's output when the inputs are unset, so existing users see no change.
  • Naming: follow the existing inputs naming convention (kebab-case, e.g. upstream-proxy, no-proxy).

Acceptance criteria

  • New Action inputs for proxy configuration, with documentation in action.yml and the getting-started guide.
  • The generated gateway.toml includes the configured proxy fields when inputs are set, and is byte-identical to the current template when they are not.
  • The Configure OpenShell gateway step does not leak the proxy password into workflow logs (use ::add-mask:: or a secret input).
  • A self-hosted runner behind a corporate proxy can run an agent successfully using the new inputs, verified in a test that exercises the full gateway startup.
  • The getting-started guide's Actions section documents the inputs with a corporate-proxy example.

Out of scope

  • Redesigning the Action's gateway lifecycle (the current ephemeral model is intentional).
  • Exposing OpenShell's full gateway configuration surface as workflow inputs.
  • Changing the GitLab executor, which already preserves operator config.
  • Changing env.sandbox filtering or the deny-list (that is #3373 / #8503).

Related

Thanks, @waynesun09, for identifying the gap.

No implementation or tests have been run for this follow-up; this is a source-backed draft.

Activity

  1. tpouyer commented on Oct 17, 2026

    @tpouyer
    ContributorAuthor

    Scope update from the runner-secret fix in #8496: there is now a partial workaround for Actions users behind a corporate proxy, but the gap this issue tracks is unchanged.

    HTTPS_PROXY, SSL_CERT_FILE and the other credential-class names are deliberately accepted as runner-secret bundle keys (FULLSEND_GITHUB_RUNNER_SECRETS) and can be referenced from env.runner for host-side scripts (pre_script, post_script, validation_loop). Before the fix, the widened reservedSandboxKeys map made those names fail the whole run at the bundle check, so the workaround only became usable with the two-door split.

    What it does not cover:

    • The sandbox child: env.sandbox still refuses these names, by design.
    • The gateway's own upstream connections: the Action still writes gateway.toml from the fixed template with no proxy or CA fields, so the configuration step this issue asks for is still missing.

    So the issue stays open as filed.

  2. added 5 commits that reference this issue on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions