jman
jman
Explore posts from servers
CDCloudflare Developers
Created by jman on 4/14/2024 in #workers-discussions
Are there example repos of Durable
I found it pretty fiddly to get working, but I added details in the threads below that message, and some following issues in later messages: https://discord.com/channels/595317990191398933/779390076219686943/1229204177469702174 https://discord.com/channels/595317990191398933/779390076219686943/1229228850701930539
3 replies
CDCloudflare Developers
Created by jman on 4/15/2024 in #workers-discussions
Ok, new problems. When running tests
Ok, workaround found.. 1. The methods have to be called in runInDurableObject. 2. But this doesn't correctly infer the type of the object so you have to manually assert it. (inst: Manager) => ... 3. But, manually asserting it fails to be properly typed if the durable object doesn't have a fetch handler, so just add a blank fetch handler and you're good
2 replies
CDCloudflare Developers
Created by jman on 4/15/2024 in #workers-discussions
Ok, new problems. When running tests
2 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
I did exactly the same lol
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
Thanks @kian !
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
WOAH it works 🙂
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
Oh that message only includes wrangler
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
No I was using the prerelease in the github actions bot message
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
Installing the PR is still causing the same errors, so doesn't look like it's totally resolved yet
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
Darn, that's a shame... Thanks for finding that
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
Hmm, it's a large error so I've attached it. I don't see much substance in it though: Vitest caught 1 unhandled error during the test run. -- The Workers runtime failed to start. There is likely additional logging output above. -- { code: 'ERR_RUNTIME_FAILURE' }
17 replies
CDCloudflare Developers
Created by kian on 4/14/2024 in #workers-discussions
Try adding the `rpc` compatibility flag
The compatibility flag rpc became the default as of 2024-04-03 so does not need to be specified anymore. But it did change the error that was sent, let me read through it
17 replies
CDCloudflare Developers
Created by tanushree │ Workers PM on 4/5/2024 in #workers-for-platforms
Browser Rendering API GA, rolling out Cl...
Just sharing honest feedback. I love this, I’ll still most likely pay for it, but as much as this is great news it's kinda disappointing it's behind an even higher $25 tier. I’d love to see a more prototype friendly pricing baseline :MeowHeartCloudflare:
7 replies