Skip to content

fix(backup): keep backups local until a remote is configured - #79

Merged
steipete merged 1 commit into
mainfrom
fix/local-backup-default-round19
Nov 5, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/local-backup-default-round19

Conversation

@steipete

@steipete steipete commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

New backup configurations no longer target the maintainer's Git repository. Initialization and snapshot creation commit locally until a remote is supplied through --remote, saved configuration, or an existing origin. Both commands report pushed so callers can distinguish a local snapshot from an upload; --no-push continues to suppress uploads.

Saved remotes remain intact, and existing origins remain authoritative without silent rewrites. Tagged snapshots follow the same upload gate. Help and backup documentation explain the policy.

Thanks @NasAndNora for reporting the shared default-remote problem in openclaw/gogcli#1287.

Validation

  • Reproduced the old default with a failing regression test.
  • Focused backup and CLI tests pass, including local-only Git transport traces, local tags, saved configuration, and existing-origin uploads using synthetic temporary repositories.
  • Independent Codex autoreview: scoped-clean through P2.
  • Full make test and govulncheck ./... pass on Go 1.27.3 in an isolated Linux worker; no vulnerabilities found.

No real backup was run and no archive data was accessed or modified.

Post-merge CI is green at 833277fdd194683f58646f0e2fc6b41fad192bdb: https://github.com/openclaw/telecrawl/actions/runs/42093635178

@clawsweeper

clawsweeper Bot commented Nov 5, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T19:14:58.997626Z 7fad769 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete merged commit 833277f into main Nov 5, 2026
12 of 13 checks passed
@steipete
steipete deleted the fix/local-backup-default-round19 branch November 5, 2026 19:24
steipete added a commit that referenced this pull request Nov 5, 2026
Prepare the authorized minor release for the local-only backup default (#79), preserving existing configured remotes and origins. Include dependency updates from #75 and #78, preserve all changelog entries and update the release documentation example.

Validation: independent Codex review clean through P2; pinned govulncheck v1.9.0 on Go 1.27.3 found no vulnerabilities; exact-head CI passed. No real backup was run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant