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
Link to gh-aw PR: github/gh-aw#44037 — Add restore-memory step injection for custom jobs.
Before this PR, memory stores (cache-memory, repo-memory, comment-memory) were only restored in the agent job. This change adds a new restore-memory: field for jobs.<job-id>, allowing orchestrator jobs to access memory state before the agent runs. There is currently no E2E test that exercises this new frontmatter field.
Define a custom orchestrator job (e.g. jobs.setup) with restore-memory: {cache-memory: true}. Have the agent job depend on it (via jobs.agent.needs: [setup]). Ask the agent to create an issue confirming that the cache-memory directory was accessible in the setup job. This exercises the new step injection path introduced in gh-aw#44037.
New fixtures or secrets needed
None. Uses the existing githubnext/gh-aw-test repository. Requires a cache entry to be pre-populated or the test can assert the directory exists even when empty.
Notes
The feature is closely related to gh-aw#44015 (memory stores in on.steps pre-activation) and gh-aw#43984 (step ordering fix). Testing restore-memory in a custom job is the most direct regression path for gh-aw#44037 and is orthogonal to the existing test-copilot-gh-steps test.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Motivation
Link to gh-aw PR: github/gh-aw#44037 — Add restore-memory step injection for custom jobs.
Before this PR, memory stores (cache-memory, repo-memory, comment-memory) were only restored in the agent job. This change adds a new
restore-memory:field forjobs.<job-id>, allowing orchestrator jobs to access memory state before the agent runs. There is currently no E2E test that exercises this new frontmatter field.Proposed test
test-copilot-restore-memory-custom-job.mdworkflow_dispatchcreate-issueMinimal test prompt sketch
Define a custom orchestrator job (e.g.
jobs.setup) withrestore-memory: {cache-memory: true}. Have the agent job depend on it (viajobs.agent.needs: [setup]). Ask the agent to create an issue confirming that the cache-memory directory was accessible in the setup job. This exercises the new step injection path introduced in gh-aw#44037.New fixtures or secrets needed
None. Uses the existing
githubnext/gh-aw-testrepository. Requires a cache entry to be pre-populated or the test can assert the directory exists even when empty.Notes
The feature is closely related to gh-aw#44015 (memory stores in
on.stepspre-activation) and gh-aw#43984 (step ordering fix). Testingrestore-memoryin a custom job is the most direct regression path for gh-aw#44037 and is orthogonal to the existingtest-copilot-gh-stepstest.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.