Skip to content

runners: Add terraform module for scale-cycle #6895

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

Closed
wants to merge 2 commits into from
Closed

Conversation

seemethere
Copy link
Member

@seemethere seemethere commented Jul 7, 2025

Adds terraform files required for deploying scale-cycle. This also adds
a switch to turn on scale-cycle or not with the default position being
off. This should make it easier to deploy scale-cycle in the future and
could also act as a gate for easily enabling / disabling scale-up's
tryReuseRunner functionality.

Signed-off-by: Eli Uriegas [email protected]
ghstack-source-id: 87583f4ca794b515b1a8f176c476d41c977cbe19
ghstack-comment-id: 3046573503
Pull-Request: #6893
Signed-off-by: Eli Uriegas [email protected]


Stack created with Sapling. Best reviewed with ReviewStack.

This lambda will attempt to reuse runners that have
finished jobs that are sitting idle. Plan is to have this run in AWS on
a cron.

The functionality within this lambda will eventually replace the
tryReuseRunner function in scale-up.ts.

Signed-off-by: Eli Uriegas <[email protected]>
ghstack-source-id: debc427
ghstack-comment-id: 3046547816
Pull-Request: #6892
Signed-off-by: Eli Uriegas <[email protected]>
Adds terraform files required for deploying scale-cycle. This also adds
a switch to turn on scale-cycle or not with the default position being
off. This should make it easier to deploy scale-cycle in the future and
could also act as a gate for easily enabling / disabling scale-up's
tryReuseRunner functionality.

Signed-off-by: Eli Uriegas <[email protected]>
ghstack-source-id: 87583f4
ghstack-comment-id: 3046573503
Pull-Request: #6893
Signed-off-by: Eli Uriegas <[email protected]>
Copy link

vercel bot commented Jul 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
torchci ⬜️ Ignored (Inspect) Visit Preview Jul 7, 2025 9:59pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 7, 2025
@seemethere seemethere closed this Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants