Skip to content

repos install: a trace key recorded before convergence stays retained when the run stops before its key step #9570

Open

Description

@dhshah13

repos install records each new trace signing key in repos.yaml before convergence (#9060). When a repository stops before its key step, the seed is never written. The causes are a run-level input check, a per-repository convergence check, a convergence phase error, or an interrupted run.

With #9477, the next run replaces that key in two cases: when FULLSEND_TRACE_SIGNING_KEY_ID names a retained key and the committed .fullsend/config.yaml does not list the active key, or when neither the variable nor the secret exists and no block of the installation is committed. In the other states, install cannot tell whether the secret holds the key, so each failed attempt adds one retained key whose seed no one holds. Those states are:

  • The variable is absent while FULLSEND_TRACE_SIGNING_KEY exists. This happens after a key step that stopped between deleting and setting the variable, or after the variable was deleted by hand.
  • The repository had repos uninstall --uninstall-only after its configuration was committed.

Install never removes a retained key, and the committed .fullsend/config.yaml trusts all of them once an install lands. Nothing limits how many keys an entry retains: it grows until repos.yaml would exceed the 1 MB limit that loading a manifest enforces, and from then on a run that records a key stops at the repos.yaml write, before any repository converges.

Activity

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

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:54 AM UTC · Completed 12:56 AM UTC

    Commit: 4c81590 · View workflow run →

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

  2. added
    blocked
    on Nov 17, 2026
  3. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    This issue describes behavior in the trace signing key provisioning and recovery path that is introduced by the open pull request #9477 (part of the #9060 trace continuity work). That change has not merged, and the retained-key logic it adds does not exist on the main branch yet. A fix therefore cannot be written or verified until it lands.

    The PR does not resolve this problem. It adds the recovery and rotation behavior that produces the unbounded retained-key growth described here, and it defers removing a retained key to later work. Once #9477 merges, this issue should be re-triaged against the merged code. Options to consider then include bounding or pruning retained keys, avoiding the extra retained key in the ambiguous states, and handling the repos.yaml size limit more gracefully.

    Blocked by:

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

    blocked

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions