redhat-developer / redhat-developer/mapt

[enhancement][epic] Mac auto prune

Open
#165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os/MACOS provider/AWS
Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

Description

The idea is create a one time scheduled task on Fargate 24 hours to destroy the mac dedicated host, dedicated host should be available in order to being able to destroy it.

For this feature to work we need to store the state on a remote storage (s3) otherwise fargate tasks would not be able to access the state to destroy the resources.

This feature will be implemented it 2 phases:

  • #166

In this phase the user is responsible to stop creating mac machines on the dedicated host at least one hour before the destroy will be executed.

  • Scheduled fargate task to destroy mac machine

In this phase if there is an active task for destroy the dedicated host if a new macine is created a scheduled task to destroy it should be created (also any other task for other mac machine on same dedicated host should be deleted?)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No files, tests, or entry points are named. Start by locating the existing Fargate scheduling, S3 state storage, and Mac dedicated-host cleanup paths. The phase-two work is done when new Mac machines create or remove the appropriate scheduled destroy task without conflicting with other tasks on the same dedicated host.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, macos
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.