restatedev / restate

Restate is the platform for building resilient applications that tolerate all infrastructure faults w/o the need for a PhD.
https://docs.restate.dev
Other
1.5k stars 34 forks source link

Add development mode #898

Open tillrohrmann opened 10 months ago

tillrohrmann commented 10 months ago

This is an umbrella issue for tracking efforts around introducing a development mode for our users. It is currently not clear how the development mode should behave. We need to collect more feedback and ideas.

### Tasks
- [ ] Idea: Automatic service registration on code changes
- [ ] Idea: No retries for failing requests
- [ ] Idea: CLI command to cleanup service state
- [ ] https://github.com/restatedev/restate/issues/895
- [ ] https://github.com/restatedev/restate/issues/827

The previous issue can be found here. We also created a design document before.

tillrohrmann commented 10 months ago

Will probably be covered by the CLI (#888) eventually.

tillrohrmann commented 10 months ago

@slinkydeveloper what prevented us from merging the original dev mode. I faintly remember that it had something to do with invoking Docker on different platforms.

slinkydeveloper commented 10 months ago

I faintly remember that it had something to do with invoking Docker on different platforms.

It wasn't that AFAIR, because I fixed it with having slight code differences depending on the platform. Maybe it was something about having the typescript experience? https://github.com/restatedev/sdk-typescript/pull/23

oferh commented 9 months ago

Some more ideas:

tillrohrmann commented 9 months ago

Thanks a lot for your ideas @oferh. I think these things would be really awesome to have for Restate :-) For the test utility related ideas, we do have https://github.com/restatedev/sdk-typescript/issues/101 which aims at providing better testing utilities for the TS SDK. For the Java SDK we already have some testing utilities (admittedly yet not as powerful as you've described them).