| ▲ | simonw 3 hours ago |
| Hot damn... > Any agent can now run wrangler deploy --temporary and deploy a Worker to Cloudflare. This temporary deployment stays live for 60 minutes, during which time you can claim the temporary account, making it permanently your own. If you don't, it expires on its own. Forget about agents, Cloudflare just provided free scratch deployments - ephemeral for 60 minutes - for anyone. This is going to be amazing for things like PR previews and code review. Being able to deploy a preview to a working URL for free is a huge reduction in friction. I hope it doesn't get abused so much that they turn it off again. |
|
| ▲ | simonw 3 hours ago | parent | next [-] |
| I just tried this out: % npx wrangler deploy --temporary
wrangler 4.103.0
────────────────────
You must accept Cloudflare's Terms of Service (https://www.cloudflare.com/terms/) and Privacy Policy (https://www.cloudflare.com/privacypolicy/) in order to continue. By typing "yes", you agree to these terms. Type "yes" to continue. … yes
Solving proof-of-work challenge…
Temporary account ready:
Account: Educated Celery (created)
Claim within: 60 minutes
Claim URL: https://dash.cloudflare.com/claim-preview?claimToken=CAVe7LzWiGad-redacted
Total Upload: 13.79 KiB / gzip: 4.12 KiB
Uploaded cloudflare-redirect-resolver (2.27 sec)
Deployed cloudflare-redirect-resolver triggers (0.50 sec)
https://cloudflare-redirect-resolver.educated-celery.workers.dev
Current Version ID: 5c12da7f-2749-4ccc-a8f6-79b85da98d10
I'm amused that it made me accept the terms and conditions without any indication of who I am, but it did work - https://cloudflare-redirect-resolver.educated-celery.workers... will be live for the next 59 minutes. |
| |
| ▲ | bstsb 2 hours ago | parent | next [-] | | > I'm amused that it made me accept the terms and conditions without any indication of who I am as far as i’m aware, that’s fully binding and often an accepted practise - take Minecraft’s server software, where you must accept the EULA with a text flag before running | |
| ▲ | avipars 3 hours ago | parent | prev [-] | | You might want to claim the link or remove it | | |
|
|
| ▲ | aleksiy123 2 hours ago | parent | prev | next [-] |
| Wasn’t this case pretty much before? The limits are 100 workers on free and 500 on paid. And if need more then you can always go their platform which supports tenancy. As long as you have a cronjob or similar to clean up the cost of having per PR preview is pretty much zero. |
| |
| ▲ | tough an hour ago | parent [-] | | unless you have 500 PR's a day =) On the other hand, we already use regular CF builds for frontend previews, but that doesnt solve a fullstack PR preview much |
|
|
| ▲ | aplomb1026 2 hours ago | parent | prev [-] |
| [flagged] |