Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Orphaned Flame Runner with Fly Blue/Green Deployment

Open
#49 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
elixir

Research direction

Start with the FLAME.Pool configuration using the FlyBackend and the fly.toml [deploy] strategy set to bluegreen. Investigate the deployment and termination lifecycle; done means the persistent Flame machine is terminated during each blue/green deploy rather than orphaned.

Written by the indexing model from the issue text.

Description

I've configured my Flame.Pool to use the FlyBackend and keep a single machine always running in my supervision tree:

        {
          FLAME.Pool,
          name: MyApp.FlameRunner,
          min: 1,
          max: 10,
          max_concurrency: 10,
          idle_shutdown_after: 30_000
        },

My fly.toml file is configured to utilize the bluegreen deployment strategy:

[deploy]
strategy = "bluegreen"

On each deploy, the Flame machine continues to run and is not terminated in the deploy process.

I'm sure there's a straightforward solution utilizing proper termination events - but I wanted to catalog this issue here for others reference. I will post updates as I work towards my solution.

Dominant language
Elixir
Stars
1.2k
Forks
68
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from phoenixframework/flame

All issues in phoenixframework/flame

Similar issues

More Elixir issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.