Skip to content

Conversation

@karlsson
Copy link
Contributor

  • gleam_otp uses proc_lib module for spawning actors and since this module is recently added to AtomVM it is possible now to use this.
  • The example is using asserts so it can be added to CI later.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

There is (currently commented out) code for testing the supervisor one_for_all strategy once PR #1958 is merged.

- gleam_otp uses proc_lib module for spawning actors and
  since this module is recently added to AtomVM it is
  possible now to use this.
- The example is using asserts so it can be added to CI
  later.

Signed-off-by: Mikael Karlsson <[email protected]>
Signed-off-by: Mikael Karlsson <[email protected]>
Signed-off-by: Mikael Karlsson <[email protected]>
Copy link
Collaborator

@bettio bettio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good now, thank you. Before we merge, could you please rebase to tidy up the commit history? For example, the Correct author in copyright notice commit could be squashed into Add example for gleam_otp static_supervisor and actor.

It’s fine to keep more than one commit, but in general I try to avoid adding fixup commits for changes introduced within the same PR.

@karlsson
Copy link
Contributor Author

karlsson commented Nov 18, 2025

Opps sorry, I resolved to early.
I will squash rebase. I noticed the commit history got a bit messy since I rebased from the wrong branch, I will try and tidy it up.

@karlsson
Copy link
Contributor Author

OK, sorry for the mess, I squashed all my commits into one new rebased PR #1987. With one commit.
I think you may close this PR and use that instead.

bettio added a commit that referenced this pull request Nov 19, 2025
Add example for gleam_otp static_supervisor and actor

Supersedes #1984
@karlsson
Copy link
Contributor Author

Overridden by #1987 which is merged. Closing this one.

@karlsson karlsson closed this Nov 19, 2025
@karlsson karlsson deleted the actor branch November 19, 2025 20:54
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