github / github/app

Allow scheduled automations to continue an existing session

Offen
#2,359 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es sind keine Implementierungsdateien, Tests oder Einstiegspunkte angegeben. Beginne damit, die verwandten Issues #173 und #1150 sowie die verlinkte Dokumentation zur Zeitplanung von Copilot CLI zu lesen, und ermittle anschließend, wo Projektautomatisierungen Sitzungen auswählen und fortsetzen. Als abgeschlossen gilt die Unterstützung des neuen Ziels und seines angegebenen Verhaltens bei Belegtsein, Löschen, Besitz, Fehlern, Verknüpfung und Interaktionsmodus, ohne das standardmäßige Verhalten isolierter Ausführungen zu ändern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
desktop
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.