Skip to content

Bugfix: Override ENTRYPOINT in Docker image test step#162

Merged
rhennigan merged 1 commit into
mainfrom
bugfix/fix-docker-test-step
Apr 17, 2026
Merged

Bugfix: Override ENTRYPOINT in Docker image test step#162
rhennigan merged 1 commit into
mainfrom
bugfix/fix-docker-test-step

Conversation

@rhennigan
Copy link
Copy Markdown
Member

Summary

  • The Docker workflow's test step was hanging after the Dockerfile switched from CMD to ENTRYPOINT: trailing args (wolframscript -code '\$Version') were appended to the MCP server entrypoint instead of replacing it, so the container started the server and blocked on stdin.
  • Fix by passing --entrypoint wolframscript to docker run, with -code '\$Version' as args to that entrypoint.

Test plan

  • Trigger the Docker workflow (via workflow_dispatch or a push to release/paclet) and confirm the "Test Docker image" step completes and prints a version string instead of hanging until timeout.

🤖 Generated with Claude Code

The test step was hanging because the Dockerfile now uses ENTRYPOINT
instead of CMD, so trailing args get appended to the MCP server command
rather than replacing it. Pass --entrypoint wolframscript so the
sanity check actually runs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 17, 2026 22:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the Docker GitHub Actions workflow test step so it doesn’t hang when the image uses an ENTRYPOINT that starts the MCP server.

Changes:

  • Override the container ENTRYPOINT in the workflow’s “Test Docker image” step.
  • Run wolframscript -code '$Version' explicitly as the container entrypoint/args to ensure the step exits after printing the version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rhennigan rhennigan merged commit ca994ac into main Apr 17, 2026
4 of 5 checks passed
@rhennigan rhennigan deleted the bugfix/fix-docker-test-step branch April 17, 2026 22:10
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.

2 participants