Skip to content

docs(#9715): document bare github setup re-run as single-repo upgrade - #9718

Merged
waynesun09 merged 2 commits into
mainfrom
agent/9715-single-repo-upgrade-docs
Nov 20, 2026
Merged

waynesun09 merged 2 commits into
mainfrom
agent/9715-single-repo-upgrade-docs

Conversation

@fullsend-ai-coder

@fullsend-ai-coder fullsend-ai-coder Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR documents re-running fullsend github setup owner/repo with no flags as the supported way to upgrade a single repository that has no manifest. It also adds a regression test for that re-run. Options A and B from the issue are deferred to #9716.

Related Issue

#9715

Changes

  • docs/guides/getting-started/operations.md: adds a new section, "Upgrading a single repository".

    • It is a numbered walkthrough: what you need, upgrade the CLI, --dry-run, re-run, merge the setup PR.
    • It shows what success looks like, with the real CLI output and PR diff from a v0.56.1 upgrade.
    • The manifest route now sits under its own heading.
  • docs/cli/github.md: merges the two re-run paragraphs into one "Re-running per-repo setup" reference section. It covers:

    • What changes: the workflow files change in the PR. Variables and secrets are written as soon as the command runs. Without --vendor, vendored assets are deleted by a separate commit on the default branch.
    • What stays: config.yaml, config.base.yaml, a custom FULLSEND_APP_SET, and the GCP secrets, including the exact error when only one of the two GCP values is set.
    • When to add flags: --vendor, --config, --fullsend-ref (only with a ref at or after the pull_request shim release), values set only as repo variables, and config flags.
  • docs/guides/getting-started/repo-management.md: the "Required upgrade" section gives both routes. The single-repo route is a short link to the walkthrough.

  • internal/cli/github_test.go: adds TestRunGitHubSetupPerRepo_Rerun_UpgradesPullRequestTargetShim. It pins the release ref and runs setup with no flags on a repo with an old pull_request_target shim. It asserts:

    • one setup PR with one commit;
    • the old shim is replaced by one that triggers on pull_request and is pinned to that ref;
    • .fullsend/config.yaml is not committed.

    The comment notes that setup renders the shim from the template and never reads the existing one.

Nothing under .github/workflows/ changes.

Testing

  • go test ./internal/cli/ -run TestRunGitHubSetupPerRepo -count=1 passes.

  • pre-commit run --files <changed files> passes.

  • Live upgrade on a test repository. I reset it to a v0.56.1 github setup install, which used pull_request_target pinned to 27c1d6ce1 (v0.56.1). The CLI was built from this branch, stamped v0.57.0 at commit f24e7d3bb. Running it with no flags opened one PR with one commit that changed only fullsend.yaml and prioritize.yml:

    -  pull_request_target:
    +  pull_request:
    -    uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@27c1d6ce1d384fa8b85b6789653fb3505d93c9d3  # v0.56.1
    +    uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@f24e7d3bb03c44371e58653f0fd051ed9c445b0f  # v0.57.0

    The CLI printed Keeping existing .fullsend/config.yaml unchanged, Set 5 repository variables and Set 2 repository secrets. After the merge, .fullsend/config.yaml still dates from the install commit.

  • forgejo-behaviour also fails on main at f24e7d3bb, so this PR did not cause it.

Checklist

  • PR title follows Conventional Commits (correct type, ! for breaking changes)
  • Bot commit is not signed off; the takeover commit is signed off

🤖 Generated with Claude Code


Closes #9715

Post-script verification

  • Branch is not main/master (agent/9715-single-repo-upgrade-docs)
  • Secret scan passed (gitleaks — f24e7d3bb03c44371e58653f0fd051ed9c445b0f..HEAD)
  • PR body secret scan passed (gitleaks — no-git)
  • Final PR description secret scan passed (gitleaks — no-git)

@waynesun09

Copy link
Copy Markdown
Member

/fs-fix-stop

@github-actions github-actions Bot added the fullsend-no-fix Skip bot-triggered fix agent runs label Nov 19, 2026
@github-actions

Copy link
Copy Markdown

Fix agent disabled for this PR. Remove the fullsend-no-fix label or use /fs-fix to re-engage.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 9:00 PM UTC · Completed 9:09 PM UTC

Commit: 94a0122 · View workflow run →

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

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Site preview

Preview: https://1d4f57c3-site.fullsend-ai.workers.dev

Commit: 98a0ac7aad4730d2507c37117e1c8f7f7519b219

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 19, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Documentation updates and a regression test authored by a bot with zero protected paths, elevated to moderate risk by high recent churn and multi-author contention on the touched documentation files.

Previous run

Risk Assessment: moderate (2/5)

Details

Documentation-only changes plus one regression test, authored by a bot with no protected paths, security-sensitive files or dependency changes; elevated slightly by Tier 2 churn and multi-author contention on the touched files.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Moderate risk reflecting a small documentation and regression test change that matches linked issue #9715, elevated from low by high recent commit churn and multi-author contention on the modified operations and repo management guides.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Review

Findings

Low

  • [incomplete-doc] docs/cli/self-update.md:11 — docs/cli/self-update.md still says to use fullsend repos install to update a repository after upgrading the CLI. That is incomplete for single-repository installs without a repos.yaml manifest, which this PR documents as upgrading via a bare fullsend github setup <owner/repo> re-run.
    Remediation: Add a pointer to docs/guides/getting-started/operations.md#upgrading-a-single-repository for non-manifest repositories, keeping repos install for manifest-managed ones.
Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmNvbXBsZXRlLWRvYyIsImZpbGUiOiJkb2NzL2NsaS9zZWxmLXVwZGF0ZS5tZCIsImlkIjoiZl85N2U0MWJkZmNiODY4NDlmIiwibGluZSI6MTEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJkb2NzLWN1cnJlbmN5In0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZG9jLXN0eWxlIiwiZmlsZSI6ImRvY3MvY2xpL2dpdGh1Yi5tZCIsImlkIjoiZl8yMzMxZTk3MzQ3Nzc3Yzc0IiwibGluZSI6MzUsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImRvYy1zdHlsZSIsImZpbGUiOiJkb2NzL2d1aWRlcy9nZXR0aW5nLXN0YXJ0ZWQvb3BlcmF0aW9ucy5tZCIsImlkIjoiZl8wZDQ5YzRhNjgyZWYzZDE3IiwibGluZSI6MTIxLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmXzk3ZTQxYmRmY2I4Njg0OWYiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfMjMzMWU5NzM0Nzc3N2M3NCIsInN0YXR1cyI6ImRpc21pc3NlZF9ieV9odW1hbiJ9LHsiaWQiOiJmXzBkNDljNGE2ODJlZjNkMTciLCJzdGF0dXMiOiJkaXNtaXNzZWRfYnlfaHVtYW4ifV19 -->

Review

Findings

Low

  • [incomplete-doc] docs/cli/self-update.md:11 — docs/cli/self-update.md still says to use fullsend repos install to update a repository after upgrading the CLI. That is incomplete for single-repository installs without a repos.yaml manifest, which this PR documents as upgrading via a bare fullsend github setup <owner/repo> re-run.
    Remediation: Add a pointer to docs/guides/getting-started/operations.md#upgrading-a-single-repository for non-manifest repositories, keeping repos install for manifest-managed ones.
Previous run (2)

<!-- fullsend:review-diff-hash:244a5a7a633d09393505afbb1e6952934e5734025888949fdc24269f10ee0533 -->
<!-- fullsend:review-head:a5665b9ab984115c499330f877362658febf5d23 -->
<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkb2Mtc3R5bGUiLCJmaWxlIjoiZG9jcy9jbGkvZ2l0aHViLm1kIiwiaWQiOiJmXzIzMzFlOTczNDc3NzdjNzQiLCJsaW5lIjozNSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InN0eWxlLWNvbnZlbnRpb25zIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZG9jLXN0eWxlIiwiZmlsZSI6ImRvY3MvZ3VpZGVzL2dldHRpbmctc3RhcnRlZC9vcGVyYXRpb25zLm1kIiwiaWQiOiJmXzBkNDljNGE2ODJlZjNkMTciLCJsaW5lIjoxMjEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImluY29tcGxldGUtZG9jIiwiZmlsZSI6ImRvY3MvY2xpL3NlbGYtdXBkYXRlLm1kIiwiaWQiOiJmXzk3ZTQxYmRmY2I4Njg0OWYiLCJsaW5lIjoxMSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifV19 -->

Review

Findings

Low

  • [doc-style] docs/cli/github.md:35 — Newly added prose paragraphs and bullets in the "Re-running per-repo setup" section are single unwrapped lines (up to ~600 columns). docs/contributing/documentation.md#line-wrapping asks for new prose to be wrapped at about 80 columns. Table rows, code blocks and headings are exempt.
    Remediation: Wrap the new prose and list-item continuation lines to about 80 columns.
  • [doc-style] docs/guides/getting-started/operations.md:121 — Newly added prose lines (121, 123, 137, 181) are long unwrapped single lines, while the surrounding context and the repo-management.md edit in this PR are wrapped.
    Remediation: Wrap the new prose to about 80 columns.
  • [incomplete-doc] docs/cli/self-update.md:11 — This page, which the PR does not touch, still points only to fullsend repos install for updating a repository's workflows. That route needs a manifest, which the new docs now say. Linked issue Upgrade a single repository without a manifest #9715 does not name this page, so this is a follow-up rather than a defect in the change.
    Remediation: Mention the bare fullsend github setup <owner/repo> re-run for single repositories, or link to the "Upgrading a single repository" section in operations.md.
Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkb2Mtc3R5bGUiLCJmaWxlIjoiZG9jcy9jbGkvZ2l0aHViLm1kIiwiaWQiOiJmXzIzMzFlOTczNDc3NzdjNzQiLCJsaW5lIjozNSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InN0eWxlLWNvbnZlbnRpb25zIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZG9jLXN0eWxlIiwiZmlsZSI6ImRvY3MvZ3VpZGVzL2dldHRpbmctc3RhcnRlZC9vcGVyYXRpb25zLm1kIiwiaWQiOiJmXzBkNDljNGE2ODJlZjNkMTciLCJsaW5lIjoxMjEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImluY29tcGxldGUtZG9jIiwiZmlsZSI6ImRvY3MvY2xpL3NlbGYtdXBkYXRlLm1kIiwiaWQiOiJmXzk3ZTQxYmRmY2I4Njg0OWYiLCJsaW5lIjoxMSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifV19 -->

Review

Findings

Low

  • [doc-style] docs/cli/github.md:35 — Newly added prose paragraphs and bullets in the "Re-running per-repo setup" section are single unwrapped lines (up to ~600 columns). docs/contributing/documentation.md#line-wrapping asks for new prose to be wrapped at about 80 columns. Table rows, code blocks and headings are exempt.
    Remediation: Wrap the new prose and list-item continuation lines to about 80 columns.
  • [doc-style] docs/guides/getting-started/operations.md:121 — Newly added prose lines (121, 123, 137, 181) are long unwrapped single lines, while the surrounding context and the repo-management.md edit in this PR are wrapped.
    Remediation: Wrap the new prose to about 80 columns.
  • [incomplete-doc] docs/cli/self-update.md:11 — This page, which the PR does not touch, still points only to fullsend repos install for updating a repository's workflows. That route needs a manifest, which the new docs now say. Linked issue Upgrade a single repository without a manifest #9715 does not name this page, so this is a follow-up rather than a defect in the change.
    Remediation: Mention the bare fullsend github setup <owner/repo> re-run for single repositories, or link to the "Upgrading a single repository" section in operations.md.
Previous run (4)

<!-- fullsend:review-diff-hash:430b6327297c1988eca984169fd229c053de2bbcbac782ead43baa5eb8b8772f -->
<!-- fullsend:review-head:94a012228c3daf86f6e4b49055693405d0f0570d -->
<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

Looks good to me


Labels: Documentation change for the single-repo upgrade path, with a supporting test.

Previous run (5)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

Looks good to me


Labels: Documentation change for the single-repo upgrade path, with a supporting test.

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge component/docs User-facing documentation documentation labels Nov 19, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 9:17 PM UTC · Completed 9:29 PM UTC

Commit: a5665b9 · View workflow run →

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 19, 2026 21:29

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 19, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified at a5665b9: a bare github setup re-run upgraded a v0.56.1 install in one PR with one commit (trigger to pull_request, pin moved, .fullsend/config.yaml untouched). The walkthrough follows that run. test fails only on TestWorkflowSHAUsesAreTrusted, main's breakage from #9206, fixed in #9721.

@waynesun09
waynesun09 added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 19, 2026
fullsend-ai-coder Bot and others added 2 commits November 19, 2026 18:13
A repository set up with fullsend github setup has no repos.yaml
manifest, so fullsend repos install cannot upgrade it. A bare re-run of
github setup already upgrades such a repository in one setup PR, but
the docs did not name it as the supported route, and operations.md
showed --inference-* flags that re-serialize .fullsend/config.yaml and
drop its comments.

Name the bare re-run as the single-repo upgrade in operations.md,
docs/cli/github.md and the repo-management Required upgrade section.
Say what it changes (shim trigger, workflow pin, repo variables and
secrets), what it keeps (config.yaml, a custom FULLSEND_APP_SET), and
when to add flags (--vendor, --fullsend-ref, values set only as repo
variables, config key changes).

Add TestRunGitHubSetupPerRepo_Rerun_UpgradesPullRequestTargetShim: a
flag-less re-run on a repo with a pull_request_target shim delivers one
setup commit whose shim triggers on pull_request only, moves the pin
off the old release, and does not commit .fullsend/config.yaml.

Note: pre-commit could not fetch remote hook repos (TLS verification
failed in the sandbox). The applicable hooks were run directly
instead: whitespace, EOF and line-ending checks, gofmt, go vet,
lint-docs-links, lint-broken-symlinks and lychee all passed; secrets
were checked with scan-secrets. Six internal/cli tests fail in the
sandbox for environmental reasons unrelated to this change
(fetchserver dial permission denied; PostScriptEnv tests read
FULLSEND_OUTPUT_SCHEMA from the sandbox environment).

Closes #9715

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ger test

- operations.md: "Upgrading a single repository" as a numbered walkthrough
  (prerequisites, dry run, re-run, merge the PR) with the real output and
  PR diff of a v0.56.1 upgrade.
- cli/github.md: one "Re-running per-repo setup" section. Says variables
  and secrets are written when the command runs, and vendored assets are
  deleted by a separate default-branch commit without --vendor; adds
  --config, a safe --fullsend-ref rule and the partial GCP secret case.
- repo-management.md: single-repo route is a short link.
- Test pins the release ref, asserts one PR and that the old shim is
  replaced, and says setup renders the shim from the template.

Assisted-by: Claude (fix, review), DeepSeek (review), Gemini (prose review)
Signed-off-by: Wayne Sun <gsun@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:18 PM UTC · Completed 11:26 PM UTC

Commit: 98a0ac7 · View workflow run →

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

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Nov 19, 2026
@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 19, 2026 23:26

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 19, 2026
@waynesun09
waynesun09 added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit c85fd77 Nov 20, 2026
51 of 53 checks passed
@waynesun09
waynesun09 deleted the agent/9715-single-repo-upgrade-docs branch November 20, 2026 00:26

This branch had an error being deployed

1 failed, 1 active, and 1 inactive deployments
site-preview — 98a0ac7a Deployed Nov 19, 2026 by github-actions[bot]
dev — 98a0ac7a Deployed Nov 19, 2026 by waynesun09 via playback #20789
forgejo-dev — 98a0ac7a Deployed Nov 19, 2026 by waynesun09 via forgejo-behaviour #20789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/docs User-facing documentation documentation fullsend-no-fix Skip bot-triggered fix agent runs ready-for-merge All reviewers approved — ready to merge ready-for-review Triggers review agent dispatch risk/moderate PR risk: moderate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade a single repository without a manifest

1 participant