Skip to content

refactor(sync): capture instance context for publish#25206

Merged
kitlangton merged 1 commit into
devfrom
kit/sync-instance-state
May 1, 2026
Merged

refactor(sync): capture instance context for publish#25206
kitlangton merged 1 commit into
devfrom
kit/sync-instance-state

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Capture instance and workspace context in Effectful sync run/replay paths before publishing.
  • Thread the captured context into the sync process path so GlobalBus publish avoids direct legacy ALS reads.
  • Preserve publish:false paths without requiring publish context.

Tests

  • bun typecheck
  • bun run test test/sync/index.test.ts test/server/httpapi-sync.test.ts

@kitlangton kitlangton enabled auto-merge (squash) May 1, 2026 01:38
@kitlangton kitlangton disabled auto-merge May 1, 2026 01:44
@kitlangton kitlangton merged commit a083c88 into dev May 1, 2026
12 checks passed
@kitlangton kitlangton deleted the kit/sync-instance-state branch May 1, 2026 01:45
caretak3r pushed a commit to caretak3r/opencode that referenced this pull request May 1, 2026
oleksii-honchar pushed a commit to oleksii-honchar/better-opencode that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant