Skip to content

Enable mint OIDC access in dispatch workflow jobs #8814

Closed

Description

@ifireball

What happens

The route and harness-dispatch jobs in .github/workflows/reusable-dispatch.yml both run fullsend dispatch --input-driver gha-event, but their job-level permissions omit id-token: write. The managed caller already grants that permission and passes mint_url to the reusable workflow; the two dispatch steps do not receive the mint URL. As a result, neither job has the workflow inputs needed for the mint-backed bot identity lookup during authorization. The later review job's OIDC permission does not apply to these jobs.

What should happen

  • The route and harness-dispatch jobs can request a GitHub Actions OIDC token within the caller's permission grant.
  • Each job passes the configured mint URL to its fullsend dispatch step. No OIDC token is placed in workflow outputs, the dispatch matrix, or logs.
  • Workflow validation checks both job permissions and mint URL wiring. Custom callers that use the reusable workflow are documented as needing to grant id-token: write themselves.

Scope

This issue owns workflow YAML and workflow-facing validation or documentation only. Go changes that invoke botidentity.MintResolver from gha-event, project the result, and apply authorization belong in #8414, together with its behavior matrix. This workflow prerequisite blocks #8414.

Context

Part of #8329. Wayne identified the missing job permissions and unused resolver in this discussion. The current managed caller grants OIDC access, while the reusable workflow's dispatch jobs narrow their own permissions.

Activity

  1. fullsend-ai-triage commented on Oct 26, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 7:43 AM UTC · Completed 7:45 AM UTC

    Commit: 15136eb · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.21

  2. added
    triaged
    on Oct 26, 2026
  3. fullsend-ai-triage commented on Oct 26, 2026

    @fullsend-ai-triage

    Triage assessment: The issue is clear and the problem is confirmed in the repo. In reusable-dispatch.yml, the route and harness-dispatch jobs have no id-token: write, and the two fullsend dispatch --input-driver gha-event steps (the CEL route step and the matrix step) don't receive inputs.mint_url. The agent-stage and harness-run jobs already have both. No open PR or sub-issue addresses this, and #8414 is the dependent follow-up.

    Warning: workflow file changes required. The fix is in .github/workflows/reusable-dispatch.yml. The code agent can't modify workflow files under current permissions, so a human PR or maintainer action is needed. Automatic code-agent dispatch is skipped for this issue.

    Coordination note: The env var name for the mint URL on the dispatch steps isn't defined yet. botidentity.MintResolver takes a MintURL field, so the name should be agreed with #8414 so the Go side reads what the workflow sets.

    Proposed test case:

    Parse reusable-dispatch.yml and assert:
    - route and harness-dispatch each declare id-token: write
    - each job's `fullsend dispatch --input-driver gha-event` step gets the mint URL env from inputs.mint_url
    - no job output, matrix value, or log line carries an OIDC token
    Edge cases: pre-supplied matrix (jobs skipped); empty mint_url input.
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. self-assigned this
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugtriaged

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions