Skip to content

Retire the Serena container and publishing infrastructure - #15064

Merged
lpcox merged 4 commits into
mainfrom
copilot/retire-serena-container
Oct 16, 2026
Merged

lpcox merged 4 commits into
mainfrom
copilot/retire-serena-container

Conversation

Copilot AI commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Retire the repository-maintained Serena MCP image and its maintenance surface. Remove references that advertise the image or assume Serena tools are configured, while preserving general gateway guidance.

  • Container and tests: Remove the Serena image, publishing workflow, dedicated test suite, Makefile targets, and related ignore rules.
  • Configuration and automation: Remove Serena entries from sample and development configs; remove the obsolete CI dispatch and language-support prompt.
  • Agentic workflows: Replace Serena-dependent analysis instructions with source inspection and standard Go tooling; regenerate affected lock files.
  • Documentation: Remove retired image and test claims while retaining general gateway architecture and configuration guidance.

Copilot AI changed the title [WIP] Remove Serena container and related references Retire the Serena container and publishing infrastructure Oct 16, 2026
Copilot AI requested a review from lpcox October 16, 2026 18:05
@lpcox
lpcox marked this pull request as ready for review October 16, 2026 19:04
Copilot AI max review requested due to automatic review settings October 16, 2026 19:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The published-image retirement needs maintainer sign-off, and required verification remains unconfirmed.

1 open finding
What changed in this PR

Retires the repository-maintained Serena integration for #15063 while preserving the gateway implementation and general configuration guidance.

Changes:

  • Removes Serena container publishing, dedicated tests, and Makefile targets.
  • Removes Serena configuration and obsolete automation references.
  • Updates agent workflows to use source inspection and Go tooling, with refreshed lock files.
File Description
test/​serena-mcp-tests/​test_serena_via_gateway.sh Removes gateway test script.
test/​serena-mcp-tests/​TEST_RUN_COMPARISON.md Removes test comparison report.
test/​serena-mcp-tests/​TEST_REPORT.md Removes Serena test report.
test/​serena-mcp-tests/​TEST_EXECUTION_LOG.txt Removes recorded test output.
test/​serena-mcp-tests/​samples/​python_project/​utils.py Removes Python utility fixture.
test/​serena-mcp-tests/​samples/​python_project/​calculator.py Removes Python calculator fixture.
test/​serena-mcp-tests/​samples/​js_project/​utils.js Removes JavaScript utility fixture.
test/​serena-mcp-tests/​samples/​js_project/​package.json Removes JavaScript fixture manifest.
test/​serena-mcp-tests/​samples/​js_project/​calculator.js Removes JavaScript calculator fixture.
test/​serena-mcp-tests/​samples/​java_project/​Utils.java Removes Java utility fixture.
test/​serena-mcp-tests/​samples/​java_project/​Calculator.java Removes Java calculator fixture.
test/​serena-mcp-tests/​samples/​go_project/​utils.go Removes Go utility fixture.
test/​serena-mcp-tests/​samples/​go_project/​main.go Removes Go calculator fixture.
test/​serena-mcp-tests/​samples/​go_project/​go.mod Removes fixture module definition.
test/​serena-mcp-tests/​RESULTS_SUMMARY.md Removes obsolete results summary.
test/​serena-mcp-tests/​README.md Removes suite documentation.
test/​serena-mcp-tests/​QUICKSTART.md Removes suite setup instructions.
test/​serena-mcp-tests/​MCP_SERVER_ARCHITECTURE_ANALYSIS.md Removes Serena-based architecture analysis.
test/​serena-mcp-tests/​LATEST_RUN_SUMMARY.md Removes historical run summary.
test/​serena-mcp-tests/​IMPLEMENTATION_SUMMARY.md Removes suite implementation notes.
test/​serena-mcp-tests/​GATEWAY_TEST_FINDINGS.md Removes historical gateway findings.
test/​serena-mcp-tests/​expected/​README.md Removes expected-response documentation.
test/​serena-mcp-tests/​DETECTING_STATELESS_VS_STATEFUL.md Removes suite-associated detection guidance.
Makefile Removes Serena targets and help entries.
docs/​MCP_SERVER_ARCHITECTURE_PATTERNS.md Retains general backend architecture guidance.
docs/​GATEWAY_COMPATIBILITY_QUICK_REFERENCE.md Removes Serena configurations and test claims.
CONTRIBUTING.md Removes retired test commands.
containers/​serena-mcp-server/​test.sh Removes container validation script.
containers/​serena-mcp-server/​test-startup-time.sh Removes startup benchmark script.
containers/​serena-mcp-server/​README.md Removes image usage documentation.
containers/​serena-mcp-server/​package.json Removes image dependency manifest.
containers/​serena-mcp-server/​package-lock.json Removes image dependency lockfile.
containers/​serena-mcp-server/​Dockerfile Removes image build definition.
containers/​serena-mcp-server/​BUILD_NOTES.md Removes container maintenance notes.
containers/​serena-mcp-server/​.dockerignore Removes container build exclusions.
config.toml Removes sample Serena backend.
config.json Removes sample Serena backend.
agent-configs/​codex.config.toml Removes Serena client endpoint.
.vscode/​mcp.json Removes development Serena server.
.gitignore Removes Serena artifact exclusions.
.github/​workflows/​test-coverage-improver.md Replaces Serena analysis instructions.
.github/​workflows/​test-coverage-improver.lock.yml Refreshes generated workflow metadata.
.github/​workflows/​serena-container.yml Removes image publishing workflow.
.github/​workflows/​semantic-function-refactor.md Replaces Serena-dependent refactoring guidance.
.github/​workflows/​semantic-function-refactor.lock.yml Refreshes generated workflow metadata.
.github/​workflows/​go-fan.md Uses source inspection and Go tooling.
.github/​workflows/​go-fan.lock.yml Refreshes generated workflow metadata.
.github/​workflows/​duplicate-code-detector.md Replaces Serena tools with source searches.
.github/​workflows/​duplicate-code-detector.lock.yml Refreshes generated workflow metadata.
.github/​workflows/​ci.yml Removes obsolete language-test dispatch.
.github/​skills/​agentic-workflows/​SKILL.md Removes Serena guidance catalog entry.
.github/​aw/​update-agentic-workflow.md Removes Serena reference.
.github/​agentics/​language-support-tester.md Removes Serena-specific agent prompt.
.dockerignore Removes Serena cache exclusion.
Files not reviewed (1)
  • containers/serena-mcp-server/package-lock.json: Generated file

🧠 Review effort: Max


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — default

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: default (normal container isolation)

Part Surface Op Result Expected Status
A MCP reads data (list_issues, list_pull_requests, get_file_contents, list_commits) ALLOWED ✅
B MCP writes (reaction/star/issue/comment/branch/file/PR) all 7 targets absent from github CLI tool catalog (23 read-only tools only) BLOCKED ⚠️
C CLI reads (github proxy CLI) data ALLOWED ✅
D CLI REST writes (reaction/star/issue/comment) gh unauthenticated, not attempted BLOCKED ⚠️
E CLI GraphQL mutations gh unauthenticated, not attempted BLOCKED ⚠️

Overall: INCONCLUSIVE

No write leaked through mcpg in this run. Gaps:

  • Part B: the proxied github CLI only exposes 23 read-only tools (get_commit, get_file_contents, list_issues, list_pull_requests, list_commits, search_*, etc.) — none of the 7 write targets (add_issue_comment, star_repository, issue_write, create_branch, create_or_update_file, create_pull_request) are present, so their absence proves backend/toolset configuration, not independent gateway-level blocking (consistent with gh-aw always setting GITHUB_READ_ONLY=1 for tools.github:).
  • Parts D/E: gh auth status showed not logged in (no PAT/token configured in this job), so REST and GraphQL write/mutation attempts could not be exercised to validate the token-scope boundary; per the safety rules these were not retried or worked around.

No reaction, star, issue, comment, branch, file, or PR was created. Independent gateway DIFC/guard enforcement is covered by internal/guard and internal/difc unit tests; a dedicated MCP-tool-level write-probe (launching the backend outside gh-aw's tools.github: wrapper) remains follow-up work.

🔒 mcpg read-only stress (default AWF runtime) by Read-Only Stress: default runtime

@lpcox
lpcox merged commit aa6d294 into main Oct 16, 2026
30 checks passed
@lpcox
lpcox deleted the copilot/retire-serena-container branch October 16, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Retire the Serena container and remove publishing and test/config references

3 participants