Skip to content

Conversation

@edlsh
Copy link
Contributor

@edlsh edlsh commented Jan 2, 2026

Summary

Replace new Promise((resolve) => setTimeout(resolve, ms)) with Bun.sleep(ms).

Changes

  • packages/opencode/src/cli/cmd/auth.ts - 10ms delay before prompts
  • packages/opencode/src/cli/cmd/github.ts - 1s delay in GitHub app installation retry loop
  • github/index.ts - 300ms delay in server connection retry loop

More idiomatic for a Bun codebase. All 3 files are already Bun-only.

@rekram1-node rekram1-node merged commit d8753cd into anomalyco:dev Jan 2, 2026
2 checks passed
ruuxi pushed a commit to ruuxi/ngmicode that referenced this pull request Jan 7, 2026
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.

2 participants