Skip to content

mint_url in .fullsend/config.yaml does not reach workflows or fullsend run #8192

Closed

Description

@rh-hemartin

What happens

When mint_url is configured in .fullsend/config.yaml (or .fullsend/config.base.yaml), it is ignored during workflow execution and agent runs:

  1. The caller workflow (.github/workflows/fullsend.yaml) forwards vars.FULLSEND_MINT_URL into reusable-dispatch.yml:
    mint_url: ${{ vars.FULLSEND_MINT_URL }}
  2. In reusable-dispatch.yml, token minting via .github/actions/mint-token uses inputs.mint_url (derived from the repository variable) before repository checkout.
  3. In fullsend run (internal/cli/run.go), mintURL is read exclusively from the --mint-url CLI flag and the FULLSEND_MINT_URL environment variable. The layered config reader (ConfigMintURL()) is never queried during the run.

Consequently, defining or changing mint_url in .fullsend/config.yaml has no runtime effect unless the FULLSEND_MINT_URL repository variable is also set or updated.

What should happen

mint_url configured in .fullsend/config.yaml (and layered presets) should be recognized during workflow dispatch and fullsend run, enabling repos to configure or override the mint endpoint via config files rather than depending on repository variables.

How to reproduce

  1. In an enrolled repository, set a custom mint URL in .fullsend/config.yaml:
    mint_url: https://custom-mint.example.com
  2. Leave the repository variable FULLSEND_MINT_URL unset (or point it to a different endpoint).
  3. Trigger an agent run (e.g. open an issue or comment /fs-triage).
  4. Observe that the workflow fails to mint or targets the repository variable / default mint endpoint, ignoring mint_url from config.yaml.

Context

Activity

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

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 11:38 AM UTC · Completed 11:41 AM UTC

    Commit: d3a153a · View workflow run →

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

  2. added
    triaged
    type/bug
    component/mint
    component/dispatch
    component/runner
    priority/medium
    on Oct 8, 2026
  3. fullsend-ai-triage commented on Oct 8, 2026

    @fullsend-ai-triage

    Thanks for the detailed report. Checking the code confirms the gap: fullsend run resolves the mint URL only from the flag and the environment variable, and the layered ConfigMintURL() accessor is not consulted on that path. The doc config-source-inventory.md already records that the file should win once the binary reads it.

    Two points that shape the fix

    • The dispatch jobs mint a token before the target repo is checked out, because the token is needed for the checkout. config.yaml is therefore not available at that step, and a new mechanism is needed (for example an API read of the config or an earlier sparse checkout).
    • Because workflows hand the variable to the binary as the --mint-url flag, changing only the binary's precedence would not let the file win. The workflow side or the flag semantics must change too.

    Workflow changes needed: the fix touches .github/workflows/reusable-dispatch.yml and the mint-token action. The code agent cannot modify workflow files under current permissions, so those parts need a human PR or maintainer action. The binary-side change in internal/cli/run.go and the docs updates could be done separately.

    No open PR currently addresses this. Related: #4977 is blocked by this issue, and #5870 is related.

    Proposed test case

    resolveMintURL(flag, env, cfg):
      cfg.mint_url=X, no flag, no env       -> X
      cfg.mint_url=X, env=Y                 -> X (file wins; variable is fallback)
      explicit flag=Z                       -> Z
      nothing set                           -> compiled default / existing skip behavior
    Plus an end-to-end check: FULLSEND_MINT_URL unset, config.yaml sets mint_url -> mint request goes to the config endpoint.
    

    Labels: Confirmed defect in the mint/dispatch/runner path affecting configuration handling; medium priority since a variable-based workaround exists but it blocks the ADR 0069 migration.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. mfrancisc commented on Oct 12, 2026

    @mfrancisc
    Contributor

    @rh-hemartin I was planning to work on this as partof the broader AISDLC-144 configuration-alignment effort .

    Let me know if you're already working on it.

  5. self-assigned this
    on Oct 13, 2026
  6. added 4 commits that reference this issue on Oct 15, 2026
  7. added 2 commits that reference this issue on Oct 26, 2026
  8. added 2 commits that reference this issue on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcomponent/dispatchcomponent/mintcomponent/runnerpriority/mediumtriagedtype/bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions