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

Implementing Erlang supervisor-based dynamic supervisor #87

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
75246b9
simple one for one supervisor with single childspec
guillheu Nov 21, 2024
e4eb55f
simple-one-for-one supervisor cannot have multiple childspecs
guillheu Nov 21, 2024
e6a9537
Ensuring only a `simple-one-for-one` supervisor can use the `start_ch…
guillheu Nov 21, 2024
9756217
adding start_child_with_builder which cant work for a simple-one-for-one
guillheu Nov 21, 2024
4ca388b
adding debugging functions to static_supervisor tests
guillheu Nov 21, 2024
3f2cfb2
testing starting new children with `one-for-one`
guillheu Nov 21, 2024
4a9ee01
testing adding children for one_for_rest and one_for_all strategies
guillheu Nov 21, 2024
976758a
adding child termination w/ pid for `simple-one-for-one` strategy
guillheu Nov 21, 2024
e9af8d1
testing `terminate_child_with_pid` with non `simple-one-for-one` stra…
guillheu Nov 21, 2024
7f0ebab
adding child termination with id (for all non-`simple-one-for-one` st…
guillheu Nov 21, 2024
4ad96f4
making two supervisor variants, one for `simple-one-for-one` that beh…
guillheu Nov 21, 2024
f320e23
adding tests for `terminate_child_with_id`
guillheu Nov 21, 2024
fe7ba86
fixing some refacto bugs
guillheu Nov 21, 2024
35a9d0a
adding `restart_child` fn (only works for non-`simple-one-for-one`)
guillheu Nov 21, 2024
c23be90
testing child restarts
guillheu Nov 21, 2024
55128d5
adding delete_child fn (non-`simple-one-for-one` only)
guillheu Nov 21, 2024
3baed09
fixing delete_child
guillheu Nov 21, 2024
7e461f7
testing `delete_child` for all strategies
guillheu Nov 21, 2024
c84d1c1
migrating new supervisors to `gleam/otp/erlang_supervisor`. Creating …
guillheu Nov 23, 2024
b21585e
removing unused imports
guillheu Nov 23, 2024
97004c9
ffi to correct erlang fn
guillheu Nov 23, 2024
8c074e3
forgot erlang function export
guillheu Nov 25, 2024
6517786
`supervisor_child` now creates a ChildBuilder from a supervisor `Buil…
guillheu Dec 12, 2024
dbdfbc2
merging `Supervisor` and `SimpleSupervisor` types into a single `Supe…
guillheu Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading