Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


> 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


but if an agent automatically accepts an EULA for you, is it binding?


It would have to be. And it's not new in the law at all. The principal-agent problem was one of the main enablers of the golden age of piracy. But that doesn't mean it isnt a solved problem now (in the law and practically)


This is a binding from service perspective. The agent use case is being highlighted in this example, however in practice the server does not knows what/who the client is. In fact with API's (user not present in loop) just notifying is good enough based on what I have been told by company legal teams in the past.

Ideally the agent is supposed to be responsible to surface its own TOS and the downstream TOS to the user. In other words most likely the agent is on the hook if this goes to court


> principal-agent problem

Here the agent is not a person. It's unclear this principle holds legally


This has never been tried in court, though, at best it probably just protects mojang from liability for banning your server from the IP address entry box (that's a real thing they do) if you don't obey


Why a GET and cancel after headers instead of a HEAD?


I don't trust everyone online to correctly implement HEAD requests. I'm quite possibly being overly paranoid.


By making it require interactive input to accept TOS they've made most agents unable to use it, but the effort is cool!


Interesting, it’s still live!


Maybe someone else claimed it?


Still live lol


Yeah, it's still up at this time. That's surprising that it's not being auto cleaned up.


You might want to claim the link or remove it


I redacted it, but if anyone still has at and wants to steal my demo app they're welcome to it.


Why?


Why not


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.


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


This is gonna be amazing for phishing, like most of the features Cloudflare offers (free Turnstile for fresh accounts, CF tunnels, pages.dev, r2.dev).


Cloudflare Workers already support preview urls, and if you set up Github integration they are done automatically


Obnoxious reply but I did this myself so I'm compelled to post it: review apps aren't that hard to implement yourself. You just need a VPS, domain name, and Caddy. Then tell any agent to connect the dots.


This one has better sandboxing than your VPS setup, though.


> 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.

Uh that's already true?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: