Allow scheduled automations to continue an existing session
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 2.1k
- Fork
- 153
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono stati identificati file di implementazione, test o punti di ingresso. Inizia leggendo le issue correlate #173 e #1150 e la documentazione collegata sulla pianificazione di Copilot CLI, quindi determina dove le automazioni del progetto selezionano e riprendono le sessioni. Il lavoro sarà completo quando saranno supportati la nuova destinazione e i comportamenti indicati relativi a occupato, eliminato, proprietà, errore, collegamento e modalità di interazione, senza modificare il comportamento predefinito dell'esecuzione isolata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- desktop
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100