kanchingyg

Results comments of kanchingyg

`ofetch` declares separate conditional targets in its `exports` map, so Node resolves the `"node"` entry while Bun matches `"bun"` and resolves a different file in `dist/` that Nitro's output trace...

also experiencing this but from a 7700hq hackintosh emulating a 2017mbp (unsupported I expect). on ventura. ill download Xcode 15.2 and check up on this later. Just like iriscortex, I...

The cron run resolves `bun` from PATH, and WSL appends the Windows PATH, so the Windows npm global `bun` under `/mnt/c` answers whenever the process does not read the startup...

For teams running `cf migrate` today, [`wrangler-doctor`](https://github.com/kanchingyg/wrangler-doctor) includes a static `cloudflare.config.ts` parity check (`WD401`-`WD404`) that diffs your legacy `wrangler.toml` / `wrangler.jsonc` against `cloudflare.config.ts` and your Worker entrypoint exports: ```bash npx...

While official `createTestHarness` / `getPlatformProxy` support in `cf` is on the way, if you need a lightweight local `env` proxy for Playwright or Vitest that reads `cloudflare.config.ts` directly without keeping...

As a workaround while the `workerd` timer / isolate lockup is being tracked down, you can test `WorkflowEntrypoint` classes (including `step.do` retry backoffs and `step.waitForEvent` timeouts) outside `vitest-pool-workers` using `runWorkflowHarness`...

If you can run unit/integration tests against a local SQLite-backed `D1Database` shim instead of spinning up `applyD1Migrations()` inside Miniflare per file, I built [`createD1SnapshotSeeder`](https://github.com/kanchingyg/wrangler-doctor) (`wrangler-doctor/test`) for this exact bottleneck. It...

Proposed fix on `kanchingyg:fix/createai-numeric-stream-deltas` (`pull_request_creation_policy: collaborators_only` blocks opening the PR via API from this account). Compare: https://github.com/cloudflare/agents/compare/main...kanchingyg:fix/createai-numeric-stream-deltas?expand=1 Coerces numeric `content` / `reasoning` / `reasoning_content` / native `response` to strings in...

Proposed fix on `kanchingyg:fix/createai-retryable-flag` (API PR creation is blocked by `collaborators_only`). Compare: https://github.com/cloudflare/agents/compare/main...kanchingyg:fix/createai-retryable-flag?expand=1 Honours the binding's boolean `retryable` flag in `normalizeThrownError`.