feat(runtime): warm per-project dev sessions shared across worktrees (Vite, test runner, browser)

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, vite

調査の方向性

The payload names no files, so start from the atlas.yaml parsing and the process-supervision code in codeatlasdev/atlas and find where per-worktree commands are currently launched cold. Then read how the pilot project codeatlasdev/ui declares Vite, Vitest browser and Chromium runs. Done means the second run of a one-file test is at least 5x faster than the cold run and no processes survive an agent being killed. This is design work spanning daemon lifecycle, health checks, port and browser-profile multiplexing.

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

説明

area: desktop area: runtime priority: 2 normal type: feature

Each worktree cold-starts Vite, a Vitest browser session and Chromium for every run.

Proposal: Atlas keeps warm, project-scoped sessions declared in atlas.yaml (a daemon command plus a health check) and multiplexes per-worktree requests onto them, each with its own port and browser profile. It idles them out after N minutes and kills them when their owner dies.

Acceptance: the second run of a one-file test is at least 5× faster than the cold run, and there are no orphan processes after an agent is killed.


Found while working on codeatlasdev/ui with parallel agents: a single machine (M4 Pro) saturated by several worktrees each running their own Vite, Chromium and Astro builds, plus orphaned browsers and caches. ui is the pilot project for this. Design target: works on a 4-core laptop.

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

環境構築

はじめの一歩

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

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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