-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Service environments the default #382
Comments
First PR - #510 - |
Fix routes - #517 |
secrets - #523 |
tail - #525 |
dev #532 |
Unassigning this from myself while I work on a couple of other things for a while. The last major thing here is migrations with service envs. After this we need to make a call on the api side, and there may be breaking changes there. |
durable objects #868 |
Any ETA on when this PR is getting merged? |
The adoption of the current implementation of service/environments is on hold for now. There is a new implementation of environments that is being developed this year. |
@jspspike Can we follow somewhere progress? I am really waiting for better information about this one, but can't find anything. Is there anything where I can subscribe to regarding updates? 🤔 |
@huv1k Unfortunately the new implementation of environments is currently being postponed for other features. I might have jumped the gun saying that it would be developed this year. I think information about this feature would be released once development has started through issues and PRs on this repository. |
That is sad to hear, hopefully, we will get some solution soon. I don't particularly appreciate that we need to have multiple same workers with different names 🙈 |
@huv1k Yes that isn't ideal, if you aren't already using environments in wrangler I would recommend it. You still need to have workers with different names but it helps organize these separate workers |
Previously, wrangler had implemented environments using the following algorithm:
Now, with the introduction of Services, we should change our implementation to be:
There's also an additional question as to how to handle configurations that migrate from the "legacy" environments to the new Service environments. When a new script/environment is created, the API should return a
201
status code. When wrangler detects this, it should make an additional request to see if there is a "legacy" script. Here's an example:Acceptance criteria:
--legacy-env
is passed, the "legacy" environment algorithm should be used.The text was updated successfully, but these errors were encountered: