aws-samples / aws-samples/remote-swe-agents

warm pool of worker instances

Open
#156 2 comments 0 reactions 0 assignees View on GitHub
p2
Dominant language
TypeScript
Stars
243
Forks
50
Avg merge
1h 19m
Merged PRs (30d)
24

Description

To further reduce worker startup time, we want to maintain a pool of worker instances.

Spec
- workers can now "release" an instance when a user decided their tasks are completed.
- released instance are kept running up to N instances. N can be set from cdk.
- instances from n+1 will be garbage collected

This makes the instance acquire/release logic very complex. We have to be very careful about implementing this feature.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing worker instance acquire/release logic and the CDK configuration. Map how released instances remain running up to N, how N is configured, and how instances beyond that limit are garbage collected. Done means the lifecycle behavior is covered without leaving acquire or release paths ambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.