Skip to content
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

Next #185

Merged
merged 18 commits into from
Dec 4, 2023
Merged

Next #185

merged 18 commits into from
Dec 4, 2023

Conversation

gligneul
Copy link
Contributor

@gligneul gligneul commented Dec 4, 2023

No description provided.

torives and others added 18 commits December 4, 2023 16:54
As cartesi-rollups-node gets built and new services are added, it becomes
increasingly cumbersome to set up an environment to test it. The added docker-compose file is meant to simplify the process of manual testing for the
time being
Currently, there isn't a need to have multiple implementations of the Service interface. Therefore, this commits replaces it with its only implementation to keep things simple.
We were incorrectly comparing the exit code with the SIGTERM signal. With this fixed, service.Start() won't return an error if the process was killed because its context was canceled
Uses context.Context to cancel services and sync.WaitGroup to wait for them to finish, making the code more idiomatic and easier to read
Since the `commits`, `license-header`, and `go-code-quality` workflows are very simple and share a similar trigger, it made sense to merge them all in a single workflow.
@gligneul gligneul merged commit 07573cc into main Dec 4, 2023
5 checks passed
@gligneul gligneul deleted the next branch December 4, 2023 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants