roc-lang / book-of-examples

Software Design by Example in Roc
Other
23 stars 15 forks source link

topic: continuous integration #22

Open gvwilson opened 2 months ago

gvwilson commented 2 months ago

The focus here would not be "how do I run a process" but "how do I handle partial failure and restart".

jwoudenberg commented 2 months ago

Hi there! I've been thinking a bit about potentially building a CI system for Roc, so this sounds super interesting to me!

Can you say a bit more about what you're thinking of when you say "how do I handle partial failure and restart"? The CI model I'm familiar with is where a CI job is started when a button is pressed or a git commit is pushed, runs once, then presents a report to the user about how the run went. Is the restart element the part where the job runs multiple times for, say, different commits?

gvwilson commented 2 months ago

Hi @jwoudenberg - honestly, I don't know what the scope would be. Running external long-lived processes and capturing their output for logging purposes might be enough to fill one chapter - if you want to start there, please create a subdirectory called ci under the project root and put your work there as a self-contained Roc project with an index.md file for your notes to yourself. I'll assign this ticket to you - thanks again.