Skip to content

Managed config schema: upgrade path for the Jira groups_from/accounts_from exception #9837

Backlog

Description

@waynesun09

Follow-up to #9262 (#9132). groups_from and accounts_from are not readable by older releases, but internal/config/managed-config-schema stays at 3. Install and repos status refuse the keys for an older fullsend_ref through checkJiraAuthorizationEnvSupport (internal/repos/jira_poll.go) instead of through the schema. This keeps repositories that don't use the keys, and vendored installs, working with older CLIs. The cost is that schema 3 now covers releases both before and after #9132, so the schema number alone no longer says whether a ref reads a config.

This issue tracks the upgrade path around that exception.

Tasks

  1. Document the exception in docs/cli/repos.md. The "Configuration schema of a pinned ref" section lists the settings that schemas read differently (tracker, create_issues, harness:). Add groups_from / accounts_from: a ref must include Jira authorization: read write/triage lists from the environment (groups_from, accounts_from) #9132, and install fails that repository before any write when it doesn't, whatever schema the ref declares.
  2. Document the rollback order. Before you move fullsend_ref back to a release without Jira authorization: read write/triage lists from the environment (groups_from, accounts_from) #9132, replace each groups_from / accounts_from with inline groups / accounts, or remove it. Until then, install refuses the older ref. Today the guide covers adopting the keys but not going back.
  3. Fold the check into the next schema bump. When the schema moves to 4 for any reason, make the configuration that schema 4 declares include groups_from / accounts_from. Make rendering for a schema 3 ref that lacks Jira authorization: read write/triage lists from the environment (groups_from, accounts_from) #9132 reject them with the same message. Then checkJiraAuthorizationEnvSupport can be retired, or kept only for the vendored managed-caller case. Update the note in managed-config-schema to match.
  4. Decide on a hand-edited config. A .fullsend/config.yaml edited by hand on a repository pinned to an older release reaches the jobs without passing through install. Every job then fails to load the config. repos status reports it, but nothing stops it earlier. Decide whether a check is worth adding, or document it.

Not in scope

Bumping the schema only for #9132. That would make older CLIs refuse every repository pinned to the new release, even ones that don't use the keys. It would also refuse vendored installs that work today.

Activity

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

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 1:51 PM UTC · Completed 1:52 PM UTC

    Commit: 5bd0522 · View workflow run →

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

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

    @fullsend-ai-triage

    This follow-up depends on the Jira groups_from / accounts_from change, which has not merged yet: the open PR for #9132 is still in review, and the main branch does not contain those keys or the install-time support check. Tasks 1 and 2 (documenting the exception in the pinned-ref schema section of docs/cli/repos.md, and the rollback order) would describe behavior that doesn't exist on main, and their exact wording depends on how that PR finalizes the check and its error message. Task 3 only applies when the schema next moves to 4, and task 4 is a decision for maintainers rather than a defined change, so neither can be started independently.

    Once that PR merges, this issue should be re-triaged. At that point the documentation tasks (1 and 2) look ready to implement, and the remaining two can be tracked as deferred or decision items.

    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