-
Notifications
You must be signed in to change notification settings - Fork 350
Comparing changes
Open a pull request
base repository: cloudflare/workerd
base: b608e171b40ec35e96654c05de2c93250167726b
head repository: cloudflare/workerd
compare: 80ffbaa51086f6df2c64d192dba0b728da5d4847
Commits on Mar 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d4ae1f3 - Browse repository at this point
Copy the full SHA d4ae1f3View commit details
Commits on Mar 13, 2025
-
Ask Claude to implement
encodeResponseBody: "manual"
option.The `Response` encoder has long had a non-standard option `encodeBody: "manual"` which says: "Do not automatically compress the body according to content-encoding; assume the bytes I provide are already compressed." However, this only allowed you to construct a `Response` to return with manual encoding. If you made at outgoing HTTP request, and the response was compressed, there was no way to stop the runtime from automatically decompressing it. This commit adds such a way: setting `encodeResponseBody: "manual"` as an option to `fetch()`. (Of course, `encodeResponseBody` is a non-standard option, but `encodeBody` is as well.) 🚨🚨 THIS PR WAS WRITTEN BY CLAUDE.AI 🚨🚨 (with a lot of prompting by me -- [see trascript](https://claude-workerd-transcript.pages.dev/)) This was an experiment to see how well Claude Code could handle the `workerd` codebase. Final stats: ``` Total cost: $9.77 Total duration (API): 17m 15.5s Total duration (wall): 1h 38m 26.7s ``` These numbers are... quite a bit larger than what I've seen when working with Claude Code on smaller, simpler projects. I am... not really sure I saved much time on the implementation itself, vs. writing it manually. But I am impressed that Claude figured it out! And I especially appreciated it writing the unit test because I hate writing tests.
Configuration menu - View commit details
-
Copy full SHA for cd3fdb3 - Browse repository at this point
Copy the full SHA cd3fdb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa37d08 - Browse repository at this point
Copy the full SHA fa37d08View commit details -
Fix "actor still initializing when getHandler() called" with containers.
We observed this error in production when testing containers. This change was technically composed by Claude Code. Transcript: https://claude-workerd-transcript.pages.dev/ensure-constructed Claude was surprisingly quick to narrow down where the problem might be, given just the error message. However, ultimately it needed hints to figure out the actual problem, and the code it initially proposed as the fix was not very good (though its choice to use `KJ_ON_SCOPE_FAILURE` was interesting!). The code in this commit may have been written by it, but only after very explicit prompting from me on what to do. I think I would have found and fixed the problem more quickly without Claude, but its ability to reason about the code is nevertheless impressive.
Configuration menu - View commit details
-
Copy full SHA for b6294dc - Browse repository at this point
Copy the full SHA b6294dcView commit details -
Fix another small bug in
ensureConstructorImpl()
.This was pre-existing (before the containers changes). I'm not sure if it would have been possible to trigger in practice, I noticed just from looking at the code.
Configuration menu - View commit details
-
Copy full SHA for a687be1 - Browse repository at this point
Copy the full SHA a687be1View commit details -
Move pipelines types to module cloudflare:pipelines
Inherit Env from WorkerEntrypoint in PipelineEntrypoint
Configuration menu - View commit details
-
Copy full SHA for c9193c3 - Browse repository at this point
Copy the full SHA c9193c3View commit details -
Merge pull request #3700 from cloudflare/lambros/cfsql-1220-d1-sessio…
…ns-api-default Make the D1 Sessions API default allowed for everyone
Configuration menu - View commit details
-
Copy full SHA for 4d9e867 - Browse repository at this point
Copy the full SHA 4d9e867View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3527e6 - Browse repository at this point
Copy the full SHA d3527e6View commit details -
Merge pull request #3689 from cloudflare/dominik/python-sdk-request
Implements Request class in Python SDK.
Configuration menu - View commit details
-
Copy full SHA for ecbb83e - Browse repository at this point
Copy the full SHA ecbb83eView commit details -
Importable env types, take 2 (#3703)
* Update rpc.d.ts * fix type snapshot
Configuration menu - View commit details
-
Copy full SHA for af623c5 - Browse repository at this point
Copy the full SHA af623c5View commit details -
Extend D1 Binding types to include Sessions API
We are introducing the new Sessions API with D1 databases to be used with read replication. This change extends the TypeScript types for the binding to include the Sessions API.
Configuration menu - View commit details
-
Copy full SHA for 42e0332 - Browse repository at this point
Copy the full SHA 42e0332View commit details -
update types/generated-snapshots
Run: bazel build //types:types && rm -rf types/generated-snapshot && cp -r bazel-bin/types/definitions types/generated-snapshot
Configuration menu - View commit details
-
Copy full SHA for 3ef14ba - Browse repository at this point
Copy the full SHA 3ef14baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 380442a - Browse repository at this point
Copy the full SHA 380442aView commit details -
Merge pull request #3673 from cloudflare/kenton/fix-ensure-constructe…
…d-race Fix "actor still initializing when getHandler() called" with containers.
Configuration menu - View commit details
-
Copy full SHA for c9b3c6b - Browse repository at this point
Copy the full SHA c9b3c6bView commit details -
Merge pull request #3669 from cloudflare/kenton/fetch-manual-encoding
Ask Claude to implement `encodeResponseBody: "manual"` option.
Configuration menu - View commit details
-
Copy full SHA for e4ea292 - Browse repository at this point
Copy the full SHA e4ea292View commit details -
Configuration menu - View commit details
-
Copy full SHA for 019099d - Browse repository at this point
Copy the full SHA 019099dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff3244b - Browse repository at this point
Copy the full SHA ff3244bView commit details -
Merge pull request #3701 from cloudflare/lambros/cfsql-1221-extend-d1…
…-types-with-sessions-api Extend D1 Binding types to include Sessions API
Configuration menu - View commit details
-
Copy full SHA for 294b56a - Browse repository at this point
Copy the full SHA 294b56aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0512c0e - Browse repository at this point
Copy the full SHA 0512c0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e4313 - Browse repository at this point
Copy the full SHA 30e4313View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4788e0 - Browse repository at this point
Copy the full SHA e4788e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80ffbaa - Browse repository at this point
Copy the full SHA 80ffbaaView commit details
There are no files selected for viewing