Repository navigation
docs(#9715): document bare github setup re-run as single-repo upgrade - #9718
Conversation
|
/fs-fix-stop |
|
Fix agent disabled for this PR. Remove the |
|
🤖 Finished Review · ✅ Success · Started 9:00 PM UTC · Completed 9:09 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.67 |
Site previewPreview: https://1d4f57c3-site.fullsend-ai.workers.dev Commit: |
|
Risk Assessment: moderate (2/5) DetailsDocumentation 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 runRisk Assessment: moderate (2/5) DetailsDocumentation-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) DetailsModerate 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. |
ReviewFindingsLow
Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmNvbXBsZXRlLWRvYyIsImZpbGUiOiJkb2NzL2NsaS9zZWxmLXVwZGF0ZS5tZCIsImlkIjoiZl85N2U0MWJkZmNiODY4NDlmIiwibGluZSI6MTEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJkb2NzLWN1cnJlbmN5In0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZG9jLXN0eWxlIiwiZmlsZSI6ImRvY3MvY2xpL2dpdGh1Yi5tZCIsImlkIjoiZl8yMzMxZTk3MzQ3Nzc3Yzc0IiwibGluZSI6MzUsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImRvYy1zdHlsZSIsImZpbGUiOiJkb2NzL2d1aWRlcy9nZXR0aW5nLXN0YXJ0ZWQvb3BlcmF0aW9ucy5tZCIsImlkIjoiZl8wZDQ5YzRhNjgyZWYzZDE3IiwibGluZSI6MTIxLCJhY3Rpb25hYmxlIjpmYWxzZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmXzk3ZTQxYmRmY2I4Njg0OWYiLCJzdGF0dXMiOiJvcGVuIn0seyJpZCI6ImZfMjMzMWU5NzM0Nzc3N2M3NCIsInN0YXR1cyI6ImRpc21pc3NlZF9ieV9odW1hbiJ9LHsiaWQiOiJmXzBkNDljNGE2ODJlZjNkMTciLCJzdGF0dXMiOiJkaXNtaXNzZWRfYnlfaHVtYW4ifV19 --> ReviewFindingsLow
Previous run (2)<!-- fullsend:review-diff-hash:244a5a7a633d09393505afbb1e6952934e5734025888949fdc24269f10ee0533 --> ReviewFindingsLow
Previous run (3)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkb2Mtc3R5bGUiLCJmaWxlIjoiZG9jcy9jbGkvZ2l0aHViLm1kIiwiaWQiOiJmXzIzMzFlOTczNDc3NzdjNzQiLCJsaW5lIjozNSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InN0eWxlLWNvbnZlbnRpb25zIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZG9jLXN0eWxlIiwiZmlsZSI6ImRvY3MvZ3VpZGVzL2dldHRpbmctc3RhcnRlZC9vcGVyYXRpb25zLm1kIiwiaWQiOiJmXzBkNDljNGE2ODJlZjNkMTciLCJsaW5lIjoxMjEsImFjdGlvbmFibGUiOmZhbHNlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImluY29tcGxldGUtZG9jIiwiZmlsZSI6ImRvY3MvY2xpL3NlbGYtdXBkYXRlLm1kIiwiaWQiOiJmXzk3ZTQxYmRmY2I4Njg0OWYiLCJsaW5lIjoxMSwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifV19 --> ReviewFindingsLow
Previous run (4)<!-- fullsend:review-diff-hash:430b6327297c1988eca984169fd229c053de2bbcbac782ead43baa5eb8b8772f --> 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. |
|
🤖 Finished Review · ✅ Success · Started 9:17 PM UTC · Completed 9:29 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.15 |
Superseded by updated review
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>
a5665b9 to
98a0ac7
Compare
|
🤖 Finished Review · ✅ Success · Started 11:18 PM UTC · Completed 11:26 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.62 |
Superseded by updated review
Summary
This PR documents re-running
fullsend github setup owner/repowith 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".--dry-run, re-run, merge the setup PR.docs/cli/github.md: merges the two re-run paragraphs into one "Re-running per-repo setup" reference section. It covers:--vendor, vendored assets are deleted by a separate commit on the default branch.config.yaml,config.base.yaml, a customFULLSEND_APP_SET, and the GCP secrets, including the exact error when only one of the two GCP values is set.--vendor,--config,--fullsend-ref(only with a ref at or after thepull_requestshim 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: addsTestRunGitHubSetupPerRepo_Rerun_UpgradesPullRequestTargetShim. It pins the release ref and runs setup with no flags on a repo with an oldpull_request_targetshim. It asserts:pull_requestand is pinned to that ref;.fullsend/config.yamlis 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=1passes.pre-commit run --files <changed files>passes.Live upgrade on a test repository. I reset it to a v0.56.1
github setupinstall, which usedpull_request_targetpinned to27c1d6ce1(v0.56.1). The CLI was built from this branch, stampedv0.57.0at commitf24e7d3bb. Running it with no flags opened one PR with one commit that changed onlyfullsend.yamlandprioritize.yml:The CLI printed
Keeping existing .fullsend/config.yaml unchanged,Set 5 repository variablesandSet 2 repository secrets. After the merge,.fullsend/config.yamlstill dates from the install commit.forgejo-behaviouralso fails onmainatf24e7d3bb, so this PR did not cause it.Checklist
!for breaking changes)🤖 Generated with Claude Code
Closes #9715
Post-script verification
agent/9715-single-repo-upgrade-docs)f24e7d3bb03c44371e58653f0fd051ed9c445b0f..HEAD)