Add serena container to predownload list when enabled#13956
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This was referenced Feb 5, 2026
Copilot
AI
changed the title
[WIP] Add serena container image to predownload list
Add serena container to predownload list when enabled
Feb 5, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds serena MCP container image predownloading support to reduce workflow startup delays. When serena is configured in docker mode (the default), its container is now included in the initial image download step alongside other required containers.
Changes:
- Extended
collectDockerImages()inpkg/workflow/docker.goto detect and include serena container when in docker mode (skips local mode which uses uvx instead) - Added comprehensive test coverage for serena predownload scenarios including docker mode, local mode, and multi-tool combinations
- Updated all workflow lock files that use serena to include the container in their predownload steps
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/workflow/docker.go | Added serena container detection logic to collectDockerImages() with proper mode checking |
| pkg/workflow/docker_predownload_test.go | Added three test cases covering serena docker mode, local mode, and combination scenarios |
| .github/workflows/*.lock.yml (19 files) | Updated generated workflow files to include serena container in predownload step |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The serena tool's container image was not being predownloaded, causing workflow startup delays.
Changes
Modified
pkg/workflow/docker.go: ExtendedcollectDockerImages()to detect serena tool configurationmode: localis set (uses uvx instead of container)selectSerenaContainer()for language-specific container selection:latesttag consistent with MCP config rendererAdded test coverage: Three scenarios in
docker_predownload_test.goExample
Before this change, workflows using serena would pull the container on-demand:
After:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.