Skip to content

feat(sync): require sources to opt in to pushes#11

Merged
realityforge merged 1 commit into
mainfrom
codex/sync-push-opt-in
Jul 14, 2026
Merged

feat(sync): require sources to opt in to pushes#11
realityforge merged 1 commit into
mainfrom
codex/sync-push-opt-in

Conversation

@realityforge

Copy link
Copy Markdown
Owner

Summary

  • add optional sync_push source configuration without changing config version 2
  • add braid add --sync-push for branch-tracking sources
  • limit sync push planning to opted-in sources while continuing to pull every selected source
  • update CLI completion contracts, executable coverage, and documentation

Impact

Sources now participate in the push phase of braid sync only when configured with "sync_push": true. Omitted or false values are pull-only during sync. Explicit braid push is unchanged.

Validation

  • bazel run @rules_go//go -- fmt ./...
  • git diff --exit-code
  • bazel test //...
  • bazel run @rules_go//go -- vet ./...
  • bazel run @rules_go//go -- run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.0 run
  • bazel test //integration/...

Add optional sync_push configuration and an add --sync-push flag. Sync now limits automatic push planning to opted-in branch sources while continuing to pull every selected source.
@realityforge realityforge self-assigned this Jul 14, 2026
@realityforge realityforge enabled auto-merge (squash) July 14, 2026 13:43
@realityforge realityforge merged commit f760815 into main Jul 14, 2026
7 checks passed
@realityforge realityforge deleted the codex/sync-push-opt-in branch July 14, 2026 13:47
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