ChainSafe / ChainSafe/gossamer

Reassess contexts in subsystems, revise cancellation, setup graceful shutdown

Open
#3,992 1 comment 0 reactions 0 assignees View on GitHub
A-design C-complex
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue Summary
- As a continuation from this [comment](https://github.com/ChainSafe/gossamer/pull/3837#discussion_r1578211273), we should reassess contexts in subsystems and establish a good pattern for closing of channels and to implement graceful shutdown for subsystems.
- Implement changes for all existing subsystem work
- Overseer should shutdown gracefully if all subsystems have closed
- We discussed the service pattern a little in this [discussion](https://github.com/ChainSafe/gossamer/discussions/2293).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.