Skip to content

repos install: convergence lists glob orgs again after the preflights #9571

Open

Description

@dhshah13

The preflights expand glob entries through one cached org listing (#8501): adoption, the trace signing key preflight, the proposed-configuration safety check and the effective-infrastructure check. Convergence expands them again through the live client, so a repository created in between is converged without passing any preflight. With #9477 it also gets no trace signing key, and later plain runs leave the existing install keyless.

Activity

  1. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:55 AM UTC · Completed 12:57 AM UTC

    Commit: 4c81590 · View workflow run →

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

  2. added
    ready-to-code
    on Nov 17, 2026
  3. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    Triage confirms the report against the code. The preflights run through the read cache from #8501, which memoizes org listings. repos.Converge then calls ExpandGlobsFor again at internal/repos/converge.go:798 using the uncached clients, so the two sets can differ if a repo appears in the org in between.

    This happens on current main independently of #9477. That PR is still open and is what makes the missing trace signing key a consequence. It is not a prerequisite, but its key planning should use the same repo set once this is fixed.

    Suggested direction: expand globs once, through the cached clients, and hand the resolved list to convergence. The alternative is to refuse or fail any converge-time repo that was not preflighted.

    Proposed test case:

    Fake client: ListOrgRepos returns [a] on call 1 and [a, b] on later calls.
    Manifest: glob acme/*.
    Run the install flow.
    Expect: b is not converged without having been preflighted
    (it is skipped or reported failed with a re-run message).
    Also check: explicit entries, repos removed between listings,
    RepoFilter runs, and globless manifests are unchanged.
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. fullsend-ai-coder commented on Nov 17, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 12:59 AM UTC · Completed 1:16 AM UTC

    Commit: 4c81590 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.49

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

    bugready-to-code

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions