EC2 runner backend

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, fastapi, python

調査の方向性

Read server/pullwright/runners/base.py, tests/test_runner.py, and the EC2 section of docs/runners.md; first trace how the Docker runner implements start, lines, wait, and cancel. Then add runners/ec2.py using a stubbed boto3 client. Done means it launches and terminates a job instance, streams authenticated PWEVENT/PWRESULT lines, handles cancellation and lifetime settings, and has corresponding tests.

索引モデルが issue の本文から書いたものです。

説明

enhancement help wanted

Add runners/ec2.py behind the existing Runner interface (server/pullwright/runners/base.py: start(job) -> handle with lines(), wait(), cancel()).

  • Launch one instance per job from a launch template (AMI with the runner image), spot by default, terminate on finish.
  • User-data runs pullwright-work owner/repo#n with the job's environment.
  • stdout is not available, so stream PWEVENT / PWRESULT lines back over HTTPS to a control-plane endpoint authenticated with a per-job token.
  • Settings: region, subnet, security group, instance type, IAM instance profile, max lifetime.
  • Tests with a stubbed boto3 client, like tests/test_runner.py does for Docker.

See docs/runners.md (EC2 section).

主要言語
Python
スター
1
フォーク
1
平均マージ
9時間 33分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Mystery01092000/pullwright のほかの issue

Mystery01092000/pullwright の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。