Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2025

Bumps github.com/ramr/go-reaper from 0.2.1 to 0.3.1.

Release notes

Sourced from github.com/ramr/go-reaper's releases.

v0.3.1

What's Changed

  • Add support to build [and run] on mac osx by @​ramr in ramr/go-reaper#31
  • Move prctl call aka *nix specific functions to a separate file with a '*nix' and an osx [darwin] specific implementation.
  • Add local [on-host] tests to verification set.

Full Changelog: ramr/go-reaper@v0.3.0...v0.3.1

v0.3.0

  • Add wrappers to adapt the "into the woods" pattern to run the reaper with a forked child.

Basic nuts and bolts usage is:

config := reaper.MakeConfig()  //  or reaper.Config{ ... }
reaper.RunForked(config)
//  Your code here ... it will only run in the forked child process.

Or with a wrapped callback ala:

config := reaper.MakeConfig()  //  or reaper.Config{ ... }
reaper.WithReaper(config, func(err) int {
    if err != nil { 
        //  handle error
        return 76 // EX_PROTOCOL
    }
//  No errors, add your code here ... will run in the child process.
return 0  //  EX_OK!

})

v0.2.3

  • Adds child sub reaper support (prctl to ensure any orphaned descendant process will get reparented to caller).
  • General testing infrastructure cleanup and added more tests.
config := reaper.Config{
        Pid:                  0,
        Options:              0,
	Debug:                false,
	DisablePid1Check:     true,
	EnableChildSubreaper: true,
        StatusChannel:        nil,
}
//  Start background reaping of orphaned child processes.
go reaper.Start(config)
</tr></table>

... (truncated)

Commits
  • 11a722a Merge pull request #31 from ramr/darwin
  • 5da9ac8 Add local [on-host] tests so that we can test on the origin of species!
  • ba754e6 Move prctl call aka *nix specific functions to a separate file with
  • 72b8eb3 Merge pull request #29 from ramr/wrapper
  • 31130a4 Add RunForked and WithReaper docs.
  • 5d438cd Add run forked and with reaper unit tests ... needed reworking the tests
  • 1611169 Adapts the "into the woods" pattern to run the reaper in forked mode.
  • 67fbabb Merge pull request #27 from ramr/subreaper
  • 63503a1 Refactor tests, add status checks, add child sub reaper tests and
  • 60b0498 Cleanup child sub reaper code and docs.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/ramr/go-reaper](https://github.com/ramr/go-reaper) from 0.2.1 to 0.3.1.
- [Release notes](https://github.com/ramr/go-reaper/releases)
- [Commits](ramr/go-reaper@0.2.1...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/ramr/go-reaper
  dependency-version: 0.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 2, 2025
@dependabot dependabot bot requested review from a team as code owners October 2, 2025 02:22
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 2, 2025
@dependabot dependabot bot requested review from ademidoff and BupycHuk and removed request for a team October 2, 2025 02:22
@dependabot dependabot bot added the go Pull requests that update Go code label Oct 2, 2025
@dependabot dependabot bot requested review from idoqo and JiriCtvrtka and removed request for a team October 2, 2025 02:22
@github-actions github-actions bot enabled auto-merge (squash) October 2, 2025 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants