Add E2E test for restore-memory in custom jobs (gh-aw#44037)#5972
Merged
pelikhan merged 2 commits intoJul 8, 2026
Conversation
Adds E2E test for the restore-memory field in custom jobs (gh-aw#44037).
The test defines a custom setup job with restore-memory: {cache-memory: true}
and an agent job that depends on it, exercising the new step injection path.
The .lock.yml will be generated by the nightly CI once gh-aw#44037 ships
in a version that supports the restore-memory field for jobs.<id>.
Closes #5970
Copilot
AI
changed the title
[WIP] Add end-to-end test for restore-memory step in custom jobs
Add E2E test for restore-memory in custom jobs (gh-aw#44037)
Jul 8, 2026
pelikhan
marked this pull request as ready for review
July 8, 2026 11:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No E2E test existed for the
restore-memory:frontmatter field onjobs.<id>, introduced in gh-aw#44037 to inject memory-restore steps into orchestrator jobs before the agent runs.New test:
test-copilot-restore-memory-custom-jobtest-copilot-restore-memory-custom-job.md—workflow_dispatchtest with ajobs.setupcustom job that declaresrestore-memory: {cache-memory: true}, a verification step, andjobs.agentdepending on it vianeeds: [setup]:e2e.sh— registered inget_all_tests(), added*"restore-memory-custom-job"to the dispatch routing pattern and to thevalidate_issue_createdinner case.README.md— added[ ]coverage entry.Note on lockfile
restore-memory:injobs.<id>is not yet recognized by the installed gh-aw (v0.81.6). The.lock.ymlwill be generated by the nightly CI when it compiles against a version that includes gh-aw#44037. Until then the test will be recorded infails.txtas a compile-failed test — expected behavior per AGENTS.md.