mirror of
https://github.com/fosrl/gerbil.git
synced 2026-03-09 07:02:04 -05:00
[PR #37] feat: base context + errgroup; propagate cancellation; gracefu… #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/gerbil/pull/37
Author: @LaurenceJJones
Created: 11/16/2025
Status: 🔄 Open
Base:
main← Head:enhancement/errgroup-context-propagation📝 Commits (1)
697f413enhancement: base context + errgroup; propagate cancellation; graceful shutdown📊 Changes
2 files changed (+174 additions, -71 deletions)
View changed files
📝
main.go(+57 -18)📝
relay/relay.go(+117 -53)📄 Description
…l shutdown
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Benefits:
How to test?
Purely go semantics on handling contexts and routines in a way that if an error occur in a component or if the process is informed to shutdown it will do so in an orderly fashion and without leaking tickers/routines.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.