Skip to content

test(project): stabilize VCS branch update test#26979

Merged
kitlangton merged 1 commit into
anomalyco:devfrom
kitlangton:fix/vcs-branch-update-test-readiness
May 12, 2026
Merged

test(project): stabilize VCS branch update test#26979
kitlangton merged 1 commit into
anomalyco:devfrom
kitlangton:fix/vcs-branch-update-test-readiness

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • Register the VCS branch-update test subscription synchronously with Bus.subscribeCallback
  • Retry synthetic HEAD update events until the branch update is observed, avoiding missed-event races

Test Plan

  • bun run test test/project/vcs.test.ts
  • bun typecheck
  • for i in {1..25}; do bun run test test/project/vcs.test.ts >/tmp/vcs-test-$i.log 2>&1 || { cat /tmp/vcs-test-$i.log; exit 1; }; done

@kitlangton kitlangton enabled auto-merge (squash) May 12, 2026 01:51
@kitlangton kitlangton disabled auto-merge May 12, 2026 02:12
@kitlangton kitlangton merged commit 0f5d4ae into anomalyco:dev May 12, 2026
9 of 10 checks passed
leohenon pushed a commit to leohenon/opencode-vim that referenced this pull request May 12, 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