Allow scheduled automations to continue an existing session
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.1k
- Fork
- 153
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Feature summary
Let an automation optionally add its prompt to an existing project session instead of creating a separate run session.
### What problem are you trying to solve?
I use automations for recurring work that continues the same plan and workspace.
An automation can reuse its workspace, but in the project-bound automation I tested, successive runs each had a separate conversation. The work, tool history, decisions, and summary can therefore become split across run sessions instead of appearing in the session where I normally coordinate the work.
### Proposed solution
Add a **Run in** choice:
- **New automation run** — current behavior and default
- **Existing project session** — queue the automation prompt as a labeled new turn in a selected session
If the session is busy, the prompt should wait rather than steer the active work. If the target has been deleted, belongs to another project, or cannot be resumed, the run should fail clearly instead of silently creating another session.
The automation run should link to the resulting turn. Interactive, Plan, and Autopilot should be selectable for that turn.
### Workflow impact
Recurring work could stay in one continuous, auditable conversation without changing the current isolated-run behavior for existing automations.
### Installation context
GitHub Copilot app 1.1.1 on Windows x64, OS build 26200.8893, using a local project automation.
### Additional context
Related:
- #173 requests promoting a workflow run to a session.
- #1150 requests project-scoped automation actions in the session UI.
Copilot CLI also supports scheduling prompts in the current session with `/every` and `/after`, but only while that session is running:
https://docs.github.com/en/copilot/how-tos/copilot-cli/automate-copilot-cli/schedule-prompts
This request is for the same-session option to work as a durable GitHub Copilot App automation destination.
Hướng dẫn đóng góp
Hướng nghiên cứu
Chưa xác định được tệp triển khai, kiểm thử hoặc điểm vào nào. Hãy bắt đầu bằng cách đọc các issue liên quan #173 và #1150 cùng tài liệu lập lịch Copilot CLI được liên kết, sau đó xác định nơi các quy trình tự động của dự án chọn và tiếp tục các phiên. Hoàn thành nghĩa là hỗ trợ đích mới cùng các hành vi đã nêu về trạng thái bận, đã xóa, quyền sở hữu, lỗi, liên kết và chế độ tương tác, mà không thay đổi hành vi chạy cô lập mặc định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- desktop
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100