You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Copy Copilot session state files to logs" step in compiled agentic workflow lock files uses a flat glob pattern that never matches events.jsonl, because Copilot CLI writes to a session subdirectory, not the top level.
~/.copilot/session-state/
<session-uuid>/
events.jsonl ← actual location
session.db
plan.md
checkpoints/
files/
The glob $SESSION_STATE_DIR/*.jsonl only matches files at the top level of session-state/. Since Copilot CLI writes events.jsonl inside a <session-uuid>/ subdirectory, the glob never matches and the copy silently succeeds with zero files.
Evidence
Multiple workflow runs show the agent step logging "Flushed N events to session <uuid>" but the resulting artifacts contain no events.jsonl:
This fix should be applied in the gh-aw template/action that generates the "Copy Copilot session state files to logs" step in compiled .lock.yml files. After fixing, all recompiled workflows will pick up the new recursive copy logic.
Activity
fix: use recursive find for session file copy to capture events.jsonl…