Skip to content

feat: add ARM64 load testing support#2338

Merged
crivetimihai merged 2 commits intomainfrom
jps-arm64-load-test
Jan 25, 2026
Merged

feat: add ARM64 load testing support#2338
crivetimihai merged 2 commits intomainfrom
jps-arm64-load-test

Conversation

@jonpspri
Copy link
Copy Markdown
Collaborator

Summary

  • Build fast-time-server locally instead of pulling from ghcr.io to support ARM64 architecture (e.g., Linux VM on macOS)
  • Add pyjwt to dev dependencies

Test plan

  • Verify docker-compose builds fast-time-server on ARM64
  • Confirm dev dependencies install correctly

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings January 22, 2026 21:57
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

This PR adds ARM64 architecture support for local load testing by building the fast-time-server container locally instead of pulling pre-built amd64-only images from GitHub Container Registry. This enables developers using ARM64 platforms (e.g., Linux VMs on Apple Silicon) to run load tests without relying on emulation.

Changes:

  • Modified docker-compose.yml to build fast-time-server locally from source using the existing multi-platform-capable Dockerfile
  • Added pyjwt to dev dependencies in pyproject.toml
  • Updated uv.lock to reflect the pyproject.toml dependency change

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
docker-compose.yml Replaced image pull with local build configuration for fast-time-server to support ARM64 architecture
pyproject.toml Added pyjwt>=2.10.1 to dev dependencies (redundant with existing runtime dependency)
uv.lock Auto-generated lock file updates reflecting the new dev dependency

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

pyproject.toml Outdated
# Required by other packages but here for security version control (CVEs)
# Can be removed once the associated packages update their dependencies
"pyasn1>=0.6.2", # a2a-sdk; https://github.com/IBM/mcp-context-forge/security/dependabot/73
"pyjwt>=2.10.1",
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

Adding pyjwt to dev dependencies appears to be redundant since it's already declared as a runtime dependency on line 72 with the same version constraint (>=2.10.1). When dev dependencies are installed, they automatically include all runtime dependencies. Unless there's a specific reason for this duplication (which should be documented in a comment similar to the pyasn1 example on line 162), this entry can be removed to avoid confusion and potential version conflicts.

Suggested change
"pyjwt>=2.10.1",

Copilot uses AI. Check for mistakes.
@jonpspri jonpspri force-pushed the jps-arm64-load-test branch from dc4cc04 to e04f5b8 Compare January 23, 2026 12:07
@crivetimihai crivetimihai added this to the Release 1.0.0-RC1 milestone Jan 24, 2026
jonpspri and others added 2 commits January 25, 2026 02:18
- Add build section for fast-time-server to support ARM64 architecture
- Use pre-built ghcr.io image by default for x86_64 performance
- ARM64 users can build locally via environment variable override
- Fix Dockerfile to use TARGETARCH for proper cross-compilation

Signed-off-by: Jonathan Springer <jps@s390x.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Copy link
Copy Markdown
Member

@crivetimihai crivetimihai left a comment

Choose a reason for hiding this comment

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

Built arm64 image as well.

@crivetimihai crivetimihai merged commit e4acdbc into main Jan 25, 2026
46 of 48 checks passed
@crivetimihai crivetimihai deleted the jps-arm64-load-test branch January 25, 2026 02:24
kcostell06 pushed a commit to kcostell06/mcp-context-forge that referenced this pull request Feb 24, 2026
* feat: add ARM64 load testing support

- Add build section for fast-time-server to support ARM64 architecture
- Use pre-built ghcr.io image by default for x86_64 performance
- ARM64 users can build locally via environment variable override
- Fix Dockerfile to use TARGETARCH for proper cross-compilation

Signed-off-by: Jonathan Springer <jps@s390x.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>

* Lint

Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>

---------

Signed-off-by: Jonathan Springer <jps@s390x.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
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.

3 participants