Repository navigation
Conversation
PR Summary by QodoPass the OpenShell gateway endpoint from repository variables
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
|
🤖 Review · Commit: This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging. |
Code Review by Qodo
1.
|
Site previewPreview: https://43604c23-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.56 This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging. |
|
🤖 Finished Review · ✅ Success · Started 2:23 PM UTC · Completed 2:36 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.82 |
|
Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous runRisk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (2)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (3)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (4)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (5)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (6)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. Previous run (7)Risk Assessment: moderate (2/5) DetailsWhile the PR touches protected workflow paths with elevated recent churn, its modest diff size, opt-in repository variable gating, and complete alignment with a low-risk issue maintain a moderate composite risk. |
ReviewFindingsMedium
Low
Earlier findings
2 finding(s) below the Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJjb21tZW50IiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibWVkaXVtIiwiY2F0ZWdvcnkiOiJmYWlsLW9wZW4iLCJmaWxlIjoiYWN0aW9uLnltbCIsImlkIjoiZl83MTdlOTkxZDcxMmM2YTZjIiwibGluZSI6NDczLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic2VjdXJpdHkifSx7InNldmVyaXR5IjoiaW5mbyIsImNhdGVnb3J5Ijoic2NvcGUtY3JlZXAiLCJmaWxlIjoiLmdpdGh1Yi93b3JrZmxvd3MvcmV1c2FibGUtZGlzcGF0Y2gueW1sIiwiaWQiOiJmXzY1MjdkODVmNDZmNzQwY2QiLCJsaW5lIjoxNTIxLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJyZWFraW5nLWNvbmZpZyIsImZpbGUiOiJhY3Rpb24ueW1sIiwiaWQiOiJmXzExZWIyMTIzYTNkOGMxMzQiLCJsaW5lIjo0NjYsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJjcm9zcy1yZXBvLWNvbnRyYWN0cyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImJhY2t3YXJkLWluY29tcGF0aWJsZSIsImZpbGUiOiIuZ2l0aHViL3dvcmtmbG93cy9yZXVzYWJsZS1kaXNwYXRjaC55bWwiLCJpZCI6ImZfMGJkNzE4YjM4YTQyMjExMCIsImxpbmUiOjE1MjEsImFjdGlvbmFibGUiOmZhbHNlLC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WQiOiJmXzY1MjdkODVmNDZmNzQwY2QiLCJsaW5lIjoxMDk0LCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoiaW50ZW50LWNvaGVyZW5jZSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InBhdHRlcm4taW5jb25zaXN0ZW5jeSIsImZpbGUiOiJpbnRlcm5hbC9zY2FmZm9sZC9hY3Rpb25fc2FuZGJveF9ob3N0X3Rlc3QuZ28iLCJpZCI6ImZfZjZiOTE1ZDAwNDc2ZjljMyIsImxpbmUiOjEzMiwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmX2Y2YjkxNWQwMDQ3NmY5YzMiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl8yYTViNGZmM2E0N2Q1ZjI5Iiwic3RhdHVzIjoicmVjbGFzc2lmaWVkIn0seyJpZCI6ImZfNjUyN2Q4NWY0NmY3NDBjZCIsInN0YXR1cyI6Im9wZW4ifV19 --> ReviewFindingsMedium
Earlier findings
Labels: PR updates user-facing infrastructure documentation in addition to sandbox and dispatch code. 2 finding(s) below the Previous run (7)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InBhdHRlcm4taW5jb25zaXN0ZW5jeSIsImZpbGUiOiJpbnRlcm5hbC9zY2FmZm9sZC9hY3Rpb25fc2FuZGJveF9ob3N0X3Rlc3QuZ28iLCJpZCI6ImZfZjZiOTE1ZDAwNDc2ZjljMyIsImxpbmUiOjEzMiwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmNvbXBsZXRlLWRvYyIsImZpbGUiOiJkb2NzL2d1aWRlcy9nZXR0aW5nLXN0YXJ0ZWQvb3BlcmF0aW9ucy5tZCIsImlkIjoiZl8yYTViNGZmM2E0N2Q1ZjI5IiwibGluZSI6MzMsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJzY29wZS1jcmVlcCIsImZpbGUiOiIuZ2l0aHViL3dvcmtmbG93cy9yZXVzYWJsZS1kaXNwYXRjaC55bWwiLCJpZCI6ImZfNjUyN2Q4NWY0NmY3NDBjZCIsImxpbmUiOjEwOTQsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn1dfQ== --> ReviewFindingsMedium
Low
Labels: PR changes workflow dispatch plumbing and sandbox host setup for a remote OpenShell gateway Next steps:
|
waynesun09
left a comment
There was a problem hiding this comment.
Review-only comments, no changes requested.
[MEDIUM] No threading test guards FULLSEND_OPENSHELL_GATEWAY_ENDPOINT across the agent call sites (internal/scaffold/workflow_call_alignment_test.go, near TestOTELVariableForwarding; the file is not in this diff, so this comment goes here)
The second commit added the missing reusable-prioritize.yml hop. Missing a hop like that is what this file's threading tests exist to catch: TestOTELVariableForwarding, TestOTELHeadersSecretThreading, TestJiraCredentialSecretThreading and TestInferenceGatewayAPIKeySecretThreading. At 8739d7d, no test checks that FULLSEND_OPENSHELL_GATEWAY_ENDPOINT: ${{ vars.OPENSHELL_GATEWAY_ENDPOINT }} is present in each of the 7 uses: ./.defaults/ agent steps in reusable-dispatch.yml (triage, code, review, fix, retro, prioritize, harness) or in reusable-prioritize.yml. action_sandbox_host_test.go tests only the action script. If a new agent stage is added or a step is edited without this line, that stage silently ignores the remote gateway.
Suggestion: add a sibling test to TestOTELVariableForwarding that checks every uses: ./.defaults/ agent step in reusable-dispatch.yml and reusable-prioritize.yml contains FULLSEND_OPENSHELL_GATEWAY_ENDPOINT: ${{ vars.OPENSHELL_GATEWAY_ENDPOINT }}.
| elsewhere. Set the `OPENSHELL_GATEWAY_ENDPOINT` repository (or organization) | ||
| variable in the repository being dispatched to that gateway's `https://` |
There was a problem hiding this comment.
[MEDIUM] Docs name the wrong repository for the variable: vars comes from the calling workflow's repository
The guide says to set OPENSHELL_GATEWAY_ENDPOINT "in the repository being dispatched". In a reusable workflow, vars is read from the repository whose workflow calls it, not from the work-item repository. That makes the guide wrong for some callers:
reusable-prioritize.ymlis called by the config repo'sprioritize.yml(internal/scaffold/fullsend-repo/.github/workflows/prioritize.yml,uses: __REUSABLE_WORKFLOW__), with the work item passed asinputs.source_repo. So the config repo's variable applies, not the one on the prioritized repo.reusable-dispatch.ymlcallers that run from the config repo have the same issue: the Jira and custom pollers, and the harness matrix stage.
If an operator sets the variable on the work-item repo, nothing reports an error; the action quietly falls back to the runner environment or local Podman setup.
Suggestion: name the repository explicitly: the repository whose workflow calls reusable-dispatch.yml or reusable-prioritize.yml (the repo with the fullsend shim, or the .fullsend config repo for prioritize, poller and harness runs). An organization variable visible to that repository also works. Optionally, log github.repository in the Detect step so operators can see whose variables were used.
There was a problem hiding this comment.
Fixed in 9c9cc6b: the guide now names the repository where the workflow run is triggered (the one whose Actions tab shows the run), notes that for the standard per-repo install that is the work-item repository itself, and says a variable set only on a different work-item repository is not read. The two configuration ways are now a numbered list.
8739d7d to
9c9cc6b
Compare
…d test Review follow-ups on #9158: - The gateway setup steps were buried in one narrative paragraph; the guide now uses a numbered list, and names the repository the variable is read from: in a reusable workflow, `vars` comes from the calling workflow's repository (the repository with the fullsend shim, or the .fullsend config repository for prioritize, poller and harness-matrix runs), not the work-item repository. A variable set on the work-item repository is not read and fails silently, so the guide says so. - Drop a synthetic empty message and a redundant assertion in the sandbox-host detection test: require.Error(t, err) alone. Signed-off-by: jtanner <tanner.jc@gmail.com>
|
🤖 Finished Review · ✅ Success · Started 11:34 AM UTC · Completed 11:45 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.34 |
…d test Review follow-ups on #9158: - The gateway setup steps were buried in one narrative paragraph; the guide now uses a numbered list, and names the repository the variable is read from: in a reusable workflow, `vars` comes from the calling workflow's repository (the repository with the fullsend shim, or the .fullsend config repository for prioritize, poller and harness-matrix runs), not the work-item repository. A variable set on the work-item repository is not read and fails silently, so the guide says so. - Drop a synthetic empty message and a redundant assertion in the sandbox-host detection test: require.Error(t, err) alone. Signed-off-by: jtanner <tanner.jc@gmail.com>
|
🤖 Finished Review · ✅ Success · Started 6:26 PM UTC · Completed 6:38 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.71 |
waynesun09
left a comment
There was a problem hiding this comment.
Review-only comments, no changes requested.
| # and must not shadow a value configured in the runner's own process | ||
| # environment, so the fallback reads OPENSHELL_GATEWAY_ENDPOINT only | ||
| # when the workflow channel is empty (#9044). | ||
| endpoint="${FULLSEND_OPENSHELL_GATEWAY_ENDPOINT:-}" |
There was a problem hiding this comment.
[HIGH] A repository variable outranks the runner operator's endpoint, so on a shared pool one repository can send the gateway's bearer token to any host
At b9f1730, lines 454-459: a non-empty FULLSEND_OPENSHELL_GATEWAY_ENDPOINT (vars.OPENSHELL_GATEWAY_ENDPOINT) always wins. The runner's OPENSHELL_GATEWAY_ENDPOINT is read only when that variable is empty, and the operator has no way to lock it. The only check is ^https://[^[:space:]]+$, so any https host passes.
In OpenShell v0.1.4, when OPENSHELL_GATEWAY is set, no endpoint matching happens and the named gateway's stored auth is sent to whatever endpoint is given. From crates/openshell-cli/src/tls.rs at v0.1.4:
- OIDC mode adds an
authorization: Bearer <token>header (line 40). - Bearer-over-HTTPS without registered mTLS material falls back to
ClientTlsConfig::new().with_enabled_roots()(line 434), which trusts the system/public CAs. - Cloudflare edge mode sends the edge token (line 374).
Impact: anyone who can write Actions variables in one repository on a shared runner pool can point the variable at a host with a public certificate. That host then receives the shared gateway's OIDC or edge bearer token, and the token works for every other repository's sandboxes on that gateway. Only pinned-CA mTLS blocks this.
Prior context: the earlier precedence thread on these lines was about the #9044 requirement wording and was resolved as intended design. The shared-pool docs thread suggested an operator opt-out, which was deferred as a follow-up. Neither covered reusable bearer tokens leaving the gateway, the docs still do not say this, and I found no follow-up issue for the opt-out.
Suggestion: give the runner operator a lock.
- When the runner sets
OPENSHELL_GATEWAY, or a flag such asFULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED=1, the runner value wins, and a repository variable with a different value fails the job. - Or: when
OPENSHELL_GATEWAYis set, accept the repository variable only if it equals that gateway's registered endpoint (fromopenshell gateway info, after removing a trailing slash).
Either way, the shared-pool docs should say plainly that on bearer-auth gateways (OIDC or Cloudflare edge) the repository variable can send a reusable bearer token to any host. At minimum, file the deferred opt-out as a tracked issue before merge.
There was a problem hiding this comment.
Fixed in d4ea049: the action now has an operator lock, fail-closed. When the runner's process environment sets FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED=1 together with the runner's own OPENSHELL_GATEWAY_ENDPOINT, the runner value wins and a repository variable naming a different endpoint fails the job. The lock also fails a repository variable on a locked runner with no endpoint of its own (the fleet-image case you describe, where the gateway is registered under OPENSHELL_GATEWAY without exporting the endpoint), and a lock value other than 1, 0 or empty fails rather than silently meaning unlocked. Seven lock cases are in the test harness. The guide states the bearer-token risk plainly, documents the lock and its runner-endpoint prerequisite, and notes the lock defends against variable-only writers — workflow writers remain a runner-group access-control concern. The tracking issue is #9569. I went with your first-listed shape (the dedicated flag rather than keying on OPENSHELL_GATEWAY, to avoid overloading an existing variable's meaning); happy to add the match-registered-endpoint check as a follow-up if you'd prefer the stricter semantics.
|
🤖 Finished Review · ✅ Success · Started 12:37 AM UTC · Completed 12:50 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.40 |
waynesun09
left a comment
There was a problem hiding this comment.
One finding from a review pass, posted inline.
Follow-up to #9049, per the design agreed with rh-hemartin: the dispatch workflow reads vars.OPENSHELL_GATEWAY_ENDPOINT and passes it to the agent action via a dedicated FULLSEND_OPENSHELL_GATEWAY_ENDPOINT channel, so an unset repository variable (rendered as an empty string) cannot shadow a value configured in the runner's own process environment. The action's detection prefers a non-empty workflow channel, falls back to the runner process environment, and publishes the resolved endpoint to GITHUB_ENV for the sandbox setup. Workflow env is the infrastructure-plumbing channel (ADR 0081); the runner-env detection remains as a documented fallback for fleet-managed runner images, with the workflow value taking precedence. Addresses #9044 Signed-off-by: jtanner <tanner.jc@gmail.com>
…riable Review follow-up (Claude Sonnet 5.5 + Codex gpt-6.1 cross-review): - The standalone reusable-prioritize.yml also invokes the agent action; pass the repository-variable channel there too (missed call site). - Reject endpoints that are not a single https:// URL with no whitespace before logging or writing them to GITHUB_ENV: a newline in the value would become a separate assignment for later steps, and whitespace-only configuration would silently suppress the runner-environment fallback. - Log the endpoint's source channel, not its value (repository variables are not masked in public logs). - Tests: propagation is now asserted unconditionally (remote cases must publish the resolved endpoint, local cases must write nothing), the runner-only cases assert the published value, and rejection cases cover whitespace-only, newline-injected, and non-https endpoints. - Docs: organization variables apply too; the precedence is stated as deliberate (repository administrators choose the gateway for their runs); the single-URL requirement is documented. BREAKING CHANGE: the sandbox-host detection now rejects an endpoint that is not a single https:// URL with no whitespace, where any non-empty value was previously accepted. Runner environments configured with a plaintext http:// endpoint, a value with no scheme, or an uppercase scheme must switch to an https:// URL; gateways that serve only plaintext are no longer supported through this path. The no-whitespace rule keeps GITHUB_ENV injection out either way. Separately, a non-empty repository or organization variable OPENSHELL_GATEWAY_ENDPOINT now takes precedence over a value configured in the runner's own process environment; consumers who already hold a variable with this name will see their routing change. Signed-off-by: jtanner <tanner.jc@gmail.com>
…d test Review follow-ups on #9158: - The gateway setup steps were buried in one narrative paragraph; the guide now uses a numbered list, and names the repository the variable is read from: in a reusable workflow, `vars` comes from the calling workflow's repository (the repository with the fullsend shim, or the .fullsend config repository for prioritize, poller and harness-matrix runs), not the work-item repository. A variable set on the work-item repository is not read and fails silently, so the guide says so. - Drop a synthetic empty message and a redundant assertion in the sandbox-host detection test: require.Error(t, err) alone. Signed-off-by: jtanner <tanner.jc@gmail.com>
Review follow-up: the guide read as if setting the variable was all an installation needed. OpenShell matches the configured endpoint against the gateways registered on the runner (openshell gateway add, which stores the mTLS or authentication material), and a value that does not match a registered endpoint makes the sandbox fail later at the TLS or authentication handshake, with an error that does not point at the cause. The section now says the gateway must already be registered and that the variable must repeat the registered endpoint exactly. Signed-off-by: jtanner <tanner.jc@gmail.com>
Review follow-up: the wantErr branch accepted any non-zero exit, so the whitespace, newline-injection and non-https cases would also have passed if the script had failed for an unrelated reason (a syntax error, a missing tool on the restricted PATH). runDetectSandboxHost now returns the combined output and the parsed GITHUB_ENV/GITHUB_OUTPUT maps on failure too, and the rejection cases assert the step's own validation error is printed and that nothing is published to GITHUB_ENV or GITHUB_OUTPUT — the property the newline guard exists to protect. The runner-environment fallback channel, which turns a bad value that used to be accepted into a hard failure, now has its own rejection cases instead of only the workflow channel. Signed-off-by: jtanner <tanner.jc@gmail.com>
…plicitly Review follow-up: OpenShell matches the configured endpoint against the registered gateways only when OPENSHELL_GATEWAY is not set on the runner. When a fleet image sets it, the named gateway's registered material is used with whatever endpoint the variable holds, so on a shared runner pool a repository variable from any one repository decides where that gateway is used. The guide now says both, and states that plaintext http:// gateways are rejected (the breaking-change note on the validating commit). Signed-off-by: jtanner <tanner.jc@gmail.com>
…ests Review follow-ups: - The gateway section had grown back into a single block; it is now short labelled paragraphs (what is skipped, registration, endpoint matching with and without OPENSHELL_GATEWAY, precedence and validation, shared runner pools, CLI preinstall for remote-gateway runners), the over-long line is rewrapped, and the mismatch failure quotes the actual OpenShell error (failed to read TLS CA under a gateways/<name>/mtls path) instead of describing a TLS or authentication handshake. The shared-pool warning names the OPENSHELL_GATEWAY precondition and says each repository's variable steers its own runs, and the migration note in the fallback item is version-agnostic and covers uppercase schemes. - The tests now assert that every endpoint value the case supplied — including the losing channel's value in the precedence case, and each line of a newline-injected value — never appears in the step's output, and that the success log names the channel the endpoint came from, so a future echo of the value cannot regress the redaction silently. Signed-off-by: jtanner <tanner.jc@gmail.com>
Review follow-up on the bearer-token finding: on a shared runner pool with a bearer-auth gateway (OIDC or Cloudflare edge, without pinned-CA mTLS), anyone who can write Actions variables in one repository could point OPENSHELL_GATEWAY_ENDPOINT at a host of their choosing, and the gateway's reusable bearer token would be sent there, because the repository variable wins over the runner's own value and the only validation is the https-URL shape. Add an operator lock: when the runner's process environment sets FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED=1 together with the runner's own OPENSHELL_GATEWAY_ENDPOINT, the runner value wins and a repository variable naming a different endpoint fails the job instead of redirecting the credentials. The lock is fail-closed: a repository variable also fails on a locked runner with no endpoint of its own (a fleet image may register the gateway under OPENSHELL_GATEWAY without exporting the endpoint), and a lock value other than 1, 0 or empty fails rather than silently meaning unlocked. The lock is opt-in and defends against variable-only writers; workflow writers remain a runner-group access-control concern. The guide states the bearer-token risk plainly, documents the lock and its runner-endpoint prerequisite, and the config-repository wording is updated to per-repo terms per ADR 0044. Signed-off-by: jtanner <tanner.jc@gmail.com>
d4ea049 to
c088e20
Compare
|
🤖 Finished Review · ✅ Success · Started 4:03 AM UTC · Completed 4:18 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $3.27 |
| # fleet image may register the gateway under OPENSHELL_GATEWAY | ||
| # without exporting OPENSHELL_GATEWAY_ENDPOINT), and a value other | ||
| # than 1, 0 or empty fails rather than silently meaning unlocked. | ||
| lock="${FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED:-}" |
There was a problem hiding this comment.
[medium] fail-open
Endpoint pinning is opt-in. When FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED is absent or empty, a non-empty repository or organization variable replaces the runner's own gateway endpoint (lines 454-459). On a shared runner pool where a fleet image sets OPENSHELL_GATEWAY and the gateway uses bearer auth (OIDC or Cloudflare edge, without pinned-CA mTLS), anyone who can write Actions variables in one repository can send that gateway's credentials to any HTTPS host they choose; the https/whitespace check at line 499 does not prove the host is the operator's gateway. Malformed lock values are rejected and lock=1 rejects a differing repository endpoint. advanced-setup.md documents the precedence and the opt-in lock as deliberate, and notes workflow writers can bypass the lock anyway. Severity is anchored to the prior assessment: this code is unchanged since the prior review.
Suggested fix: Consider pinning by default for runner-provisioned gateways, or require explicit operator opt-in before honoring an endpoint chosen by a repository.
| # (#9044): passed via a dedicated channel so an unset variable | ||
| # (rendered as an empty string) does not shadow a value configured | ||
| # in the runner's own process environment. | ||
| FULLSEND_OPENSHELL_GATEWAY_ENDPOINT: ${{ vars.OPENSHELL_GATEWAY_ENDPOINT }} |
There was a problem hiding this comment.
[low] backward-incompatible
The reusable workflows now read vars.OPENSHELL_GATEWAY_ENDPOINT from the calling repository and pass it as FULLSEND_OPENSHELL_GATEWAY_ENDPOINT (seven steps in reusable-dispatch.yml plus reusable-prioritize.yml). A non-empty variable takes precedence over the runner's own OPENSHELL_GATEWAY_ENDPOINT, so callers that already hold an organization or repository variable of that name for another purpose will have runs redirected to it. The opt-in lock mitigates this but the default is unlocked. The precedence change is documented.
Suggested fix: Call out the precedence change and the lock in the release notes, or make the default safer.
| # single https:// URL with no whitespace. This also rejects | ||
| # whitespace-only configuration, which would otherwise suppress | ||
| # the fallback and select an unusable remote mode. | ||
| if [[ ! "$endpoint" =~ ^https://[^[:space:]]+$ ]]; then |
There was a problem hiding this comment.
[low] breaking-config
The runner-environment contract for OPENSHELL_GATEWAY_ENDPOINT is stricter. Previously any non-empty value selected remote mode; now it must be a single https URL with no whitespace, so plaintext, scheme-less, uppercase-scheme or whitespace-containing values fail the job. The PR is marked ! and advanced-setup.md documents the migration. Fleet images maintained outside this repository will break on upgrade.
Suggested fix: No code change required. Keep the ! marker and migration note; mention the stricter validation in the release notes.
| # The sandbox setup reads OPENSHELL_GATEWAY_ENDPOINT from the | ||
| # environment; publish the resolved value for the later steps. | ||
| if [[ -n "${GITHUB_ENV:-}" ]]; then | ||
| echo "OPENSHELL_GATEWAY_ENDPOINT=${endpoint}" >> "${GITHUB_ENV}" |
There was a problem hiding this comment.
[low] breaking-config
The Detect sandbox host step now exports the resolved OPENSHELL_GATEWAY_ENDPOINT through GITHUB_ENV, a new side effect for later steps in the caller's job (including a repository-variable value that overrides the runner's own).
Suggested fix: Document the GITHUB_ENV export as part of the action's contract.
| # (#9044): passed via a dedicated channel so an unset variable | ||
| # (rendered as an empty string) does not shadow a value configured | ||
| # in the runner's own process environment. | ||
| FULLSEND_OPENSHELL_GATEWAY_ENDPOINT: ${{ vars.OPENSHELL_GATEWAY_ENDPOINT }} |
There was a problem hiding this comment.
[medium] protected-path
This PR modifies protected paths: .github/workflows/reusable-dispatch.yml and .github/workflows/reusable-prioritize.yml. The PR links issue #9044 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.
Suggested fix: A human maintainer must review and approve the workflow changes.
| decides which endpoint receives that gateway's registered credentials | ||
| for its runs. On a bearer-auth gateway (OIDC or Cloudflare edge, without | ||
| pinned-CA mTLS), that means anyone who can write Actions variables in | ||
| one repository can send the gateway's reusable bearer token to any host |
There was a problem hiding this comment.
[MEDIUM] The shared-runner docs understate what a redirected endpoint receives. Provider credentials go to it too, not only the bearer token.
This paragraph says a repository variable can send "the gateway's reusable bearer token to any host with a public certificate". That part is correct for OpenShell v0.1.4. With OPENSHELL_GATEWAY set, resolve_gateway keeps the named gateway, and apply_auth_with_status attaches its stored OIDC or edge token.
But fullsend then runs openshell provider create ... --credential KEY against the same resolved endpoint (internal/sandbox/sandbox.go, around lines 1142-1225). The CLI reads each credential value from the environment and stores it on the gateway. So a host picked through a repository variable also receives the inference API keys and any forge token registered as a provider credential. The exposure is larger than the paragraph says, and the lock is opt-in.
This is about how the doc describes the exposure, not about the opt-in default, which earlier threads already settled.
Suggestion: say that the redirected host receives the gateway bearer token and also every provider credential fullsend registers for the run (inference API keys, forge tokens). Operators of bearer-auth shared pools can then judge whether they need the lock with the full exposure in view.
Summary
Follow-up to #9049, per the design agreed with @rh-hemartin in that thread: the gateway endpoint should come from the workflow layer, read from repository variables, rather than only the runner process environment.
reusable-dispatch.yml(all seven agent-run steps) and the standalonereusable-prioritize.ymlreadvars.OPENSHELL_GATEWAY_ENDPOINTand pass it via a dedicatedFULLSEND_OPENSHELL_GATEWAY_ENDPOINTchannel. A dedicated name is needed because an unset repository variable renders as an empty string, which would shadow a value configured in the runner's own process environment if passed under the same name.Detect sandbox hoststep prefers a non-empty workflow channel, falls back to the runner process environment, validates that the resolved value is a singlehttps://URL with no whitespace (a newline would become a separateGITHUB_ENVassignment; whitespace-only would silently suppress the fallback), logs the source channel rather than the value, and publishes the resolved endpoint toGITHUB_ENVfor the sandbox setup.::error::rather than selecting a broken remote mode.Cross-reviewed with Claude and Codex before this push; their findings (missed prioritize call site,
GITHUB_ENVnewline injection, whitespace-only trap, incomplete propagation assertions, value in logs) are all addressed in the second commit.Stacked on #9049 (base is its branch); retarget to
mainonce that merges.Addresses #9044