Skip to content

Workflow dispatch still builds --mint-url from the stale FULLSEND_MINT_URL variable, not the config file #8672

Open

Description

@mfrancisc

What happens

After #8192 (fixed in #8400), fullsend run and the status-comment
notifier correctly prefer mint_url from .fullsend/config.yaml /
config.base.yaml over FULLSEND_MINT_URL — but only when the CLI
isn't given an explicit --mint-url flag. On every dispatched GitHub
Actions run except prioritize, the flag is always supplied:
reusable-dispatch.yml builds mint_url: ${{ inputs.mint_url }} from
vars.FULLSEND_MINT_URL, a one-time snapshot written by fullsend github setup/converge at install time, and the flag unconditionally
wins over the file. So editing mint_url in the config file after
install has no effect on a live dispatched run for triage, code,
review, fix, retro, or the generic harness-run matrix job — the stale
variable-derived flag always overrides it.

The prioritize paths (reusable-prioritize.yml and the inlined
prioritize job in reusable-dispatch.yml) are an exception: they
have no upfront mint-token step gating on the variable, and
action.yml's MINT_FLAGS omits --mint-url entirely when the input
is empty rather than passing an empty value, so those two paths
already pick up a file-only mint_url for real today. That asymmetry
between prioritize and every other stage is itself part of what
needs resolving (see discussion on #8400).

What should happen

Every dispatched stage should resolve mint_url the same way — read
.fullsend/config.yaml, fall back to .fullsend/config.base.yaml —
before building the value passed to the mint-token action and the
CLI's --mint-url flag, consistently across triage, code, review,
fix, retro, harness-run, and both prioritize paths. A repository
should be able to change its mint endpoint by editing the config file
alone, without also updating FULLSEND_MINT_URL, and see the new
endpoint take effect on the next dispatched run.

Also update the config-source-inventory.md row.

Compatibility

fullsend github setup/converge only writes mint_url into
config.yaml when --mint-url was passed explicitly; the
FULLSEND_MINT_URL repository variable is written unconditionally on
every setup/converge run regardless. That means:

  • Repos with no config.yaml/config.base.yaml at all: unaffected,
    falls back to the variable exactly as today.
  • Repos that never passed --mint-url (the common case): the file has
    no mint_url key, so this also falls back to the variable — no
    observable change.
  • Repos that did pass --mint-url at some point, with the file and
    variable never diverging since: file and variable hold the same
    value, so resolving from the file produces an identical result.
  • Repos where the file and the variable have since diverged (a
    hand-edited config.base.yaml, a central preset, or a mint_url
    carried over from an old --mint-url setup) and someone later
    edited FULLSEND_MINT_URL directly expecting that edit to take
    effect: this is the one real behavior change. The file would start
    winning, silently overriding that variable edit. Anyone using "edit
    the repository variable" as their operational lever for changing the
    mint endpoint needs to switch to editing the config file instead.

Context

Activity

  1. self-assigned this
    on Oct 21, 2026
  2. fullsend-ai-triage commented on Oct 21, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 4:33 PM UTC · Completed 4:35 PM UTC

    Commit: b3344a3 · View workflow run →

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

  3. added
    blocked
    on Oct 21, 2026
  4. fullsend-ai-triage commented on Oct 21, 2026

    @fullsend-ai-triage

    This issue is blocked on PR #8400, which is still open. That PR adds the file-aware mint_url precedence in the CLI (resolveMintURL), and the workflow-side change described here has nothing to build on until it merges. PR #8400 explicitly leaves the workflow half out of scope, so it does not fix this issue. It is a prerequisite.

    No other open PR currently covers the workflow-side change. It is tracked under the parent issue #8192.

    Workflow-file warning: The fix touches .github/workflows/reusable-dispatch.yml and .github/workflows/reusable-prioritize.yml. The code agent cannot modify workflow files under current permissions, so this needs a human PR or maintainer action once #8400 lands. The same change should also update the mint_url row in docs/contributing/config-source-inventory.md as the issue describes.

    Re-triage: Once #8400 merges, this issue can be re-assessed. The remaining design point for maintainers is how the dispatch/route stage obtains a trusted config checkout to compute the effective mint URL before the mint-token step. The compatibility note about repos whose config file and FULLSEND_MINT_URL have diverged should be called out in the release notes.

    Blocked by:

  5. fullsend-ai-triage commented on Oct 23, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 2:46 PM UTC · Completed 2:48 PM UTC

    Commit: 1c0e9b1 · View workflow run →

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

  6. fullsend-ai-triage commented on Oct 23, 2026

    @fullsend-ai-triage

    Re-triage: this issue is still blocked on PR #8400, which remains open and unmerged. That PR adds the file-aware mint_url precedence in the CLI (resolveMintURL), and the workflow-side change described here has nothing to build on until it lands. The PR explicitly scopes out the dispatch-workflow half, so it is a prerequisite rather than a fix for this issue. No other open PR currently covers the workflow-side change.

    Workflow-file warning: The fix touches .github/workflows/reusable-dispatch.yml and .github/workflows/reusable-prioritize.yml. The code agent cannot modify workflow files under current permissions, so a human PR or maintainer action is required once #8400 merges. The same change should update the mint_url row in docs/contributing/config-source-inventory.md.

    Open design point for maintainers: how the dispatch/route stage obtains a trusted config checkout to compute the effective mint URL before the mint-token step, and how the prioritize paths (which already pick up a file-only mint_url) are kept consistent with the other stages. The behavior change for repos whose config file and FULLSEND_MINT_URL have diverged should be called out in release notes.

    This issue can be re-assessed once #8400 merges.

    Blocked by:

    Blocked by:

  7. rh-hemartin commented on Oct 30, 2026

    @rh-hemartin
    Member

    /fs-triage [Automated Message] the blocking PR is already merged

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

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 11:48 AM UTC · Completed 11:50 AM UTC

    Commit: 8b8c75b · View workflow run →

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

  9. added
    triaged
    and removed
    blocked
    on Oct 30, 2026
  10. fullsend-ai-triage commented on Oct 30, 2026

    @fullsend-ai-triage

    The earlier blocker, PR #8400, has merged, and no open PR currently covers the workflow-side change, so this is ready to implement.

    Design question resolved: The route job in reusable-dispatch.yml already does a sparse checkout of .fullsend/config.yaml and .fullsend/config.base.yaml, pinned to the base SHA for PR events, so a trusted config source is available there. Compute the effective mint_url in that job (config.yaml, then config.base.yaml, then the FULLSEND_MINT_URL-derived input), expose it as a job output, and use it in place of inputs.mint_url for the mint-token step and mint-url input in triage, code, review, fix, retro and the inlined prioritize job. Apply the same resolution in reusable-prioritize.yml.

    Gap to handle: harness-dispatch and harness-run run in matrix mode, where the route job is skipped (inputs.matrix == '' gates it). They need their own resolution step, or the resolved value must be passed through the matrix.

    Workflow-file warning: This change edits files under .github/workflows/, which the code agent cannot modify under current permissions. Auto-dispatch to the code agent is skipped, and a human PR or maintainer action is required. The mint_url row in docs/contributing/config-source-inventory.md should move to "Already layered" in the same change.

    Release notes: Call out that repos whose file mint_url and FULLSEND_MINT_URL have diverged will now follow the file.

    Proposed test case:

    Given FULLSEND_MINT_URL=A and config.yaml mint_url=B -> effective URL for every stage is B
    Given only the variable -> A
    Given only config.base.yaml mint_url=C -> C; config.yaml overrides base
    Given neither -> empty (unchanged behavior)
    For pull_request_target events, config is read from the base SHA, not the PR head
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  11. 2 remaining items

  12. added 12 commits that reference this issue on Nov 5, 2026
  13. added 3 commits that reference this issue on Nov 25, 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