Open
Conversation
The project is deployed as a Cloudflare Worker, so the test harness now uses Cloudflare's Vitest pool instead of Bun's built-in runner. Existing tests were migrated to Vitest, utility crypto/CORS coverage was added for issue #2, and a small Worker runtime smoke test proves wrangler vars and request handling load through the Cloudflare test environment. Constraint: Cloudflare Workers runtime APIs and wrangler bindings should be exercised through @cloudflare/vitest-pool-workers Rejected: Keep Bun's built-in test runner as primary | it does not exercise Workers runtime bindings and had incompatible module mock behavior locally Rejected: Maintain parallel Bun and Vitest suites | unnecessary duplicate maintenance for this small Worker Confidence: high Scope-risk: moderate Directive: Keep docs/superpowers artifacts out of product commits unless the user explicitly asks to version workflow docs Tested: bun run test (10 files, 106 tests); git diff --check; no bun:test/mock.module/vi.module leftovers Not-tested: GitHub Actions execution on remote runner
Deploying with ย
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| โ
Deployment successful! View logs |
github | 3ae4b15 | Commit Preview URL Branch Preview URL |
May 02 2026, 12:57 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
package.json,bun.lock,vitest.config.js๋ฅผ ์ถ๊ฐํ์ต๋๋ค.bun:test์์vitest๋ก ๋ง์ด๊ทธ๋ ์ด์ ํ์ต๋๋ค.utils/github.js,utils/cors.js๋จ์ ํ ์คํธ๋ฅผ ์ถ๊ฐํ์ต๋๋ค.cloudflare:test/cloudflare:workers๊ธฐ๋ฐ Worker runtime smoke test๋ฅผ ์ถ๊ฐํ์ต๋๋ค.bun installํbun run test์คํ์ผ๋ก ๋ณ๊ฒฝํ์ต๋๋ค.Closes #2
Verification
Notes
utils/github.js์ PKCS1 private key ์ฒ๋ฆฌ๋ ์ค์ ์ง์๋๋๋ก ๋ณด๊ฐํ๊ณ ํ๊ท ํ ์คํธ๋ฅผ ์ถ๊ฐํ์ต๋๋ค..claude/,.omc/,docs/)์ ์ปค๋ฐ์ ํฌํจํ์ง ์์์ต๋๋ค.