Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the benchmark infrastructure from Equinix to Phoenix NAP (PNAP) as the bare metal provider, with several related infrastructure improvements.
Changes:
- Integrated Phoenix NAP REST API for bare metal server provisioning and management, replacing Equinix Metal
- Upgraded GitHub Actions runners and deployed servers from Ubuntu 22.04 to 24.04
- Migrated from root user execution to non-root user with proper Docker group permissions
- Implemented automated server expiration and cleanup for ephemeral benchmark systems
- Added comprehensive wait states for server readiness and APT availability
- Disabled automatic system updates on benchmark servers to ensure consistent test environments
- Updated documentation to reflect new provider requirements and secrets
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 27 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/java/io/deephaven/benchmark/controller/DeephavenDockerController.java | Removed sudo prefix from all docker commands to support non-root user execution |
| docs/ForkSetup.md | Updated secrets documentation for Phoenix NAP provider and added reference to private vault |
| .github/workflows/remote-benchmarks.yml | Upgraded to Ubuntu 24.04 runners, added purge job for expired servers, added METAL_PROJECT_ID to environment |
| .github/workflows/adhoc-exist-remote-benchmarks.yml | Upgraded to Ubuntu 24.04 runners, fixed default test class list spacing |
| .github/workflows/adhoc-auto-remote-benchmarks.yml | Upgraded to Ubuntu 24.04 runners, updated copyright year, changed server plan, removed METAL_EXPIRE parameter, added METAL_PROJECT_ID |
| .github/scripts/setup-test-server-remote.sh | Added APT lock waiting, disabled automatic updates, configured SSH security, changed all paths from /root to /${HOME}, added usermod for docker group, added DEBIAN_FRONTEND export |
| .github/scripts/run-benchmarks-remote.sh | Updated paths from /root to /${HOME}, added userHome variable substitution in properties |
| .github/scripts/manage-deephaven-remote.sh | Updated paths from /root to /${HOME} |
| .github/scripts/fetch-results-local.sh | Updated path to use /home/${USER} format |
| .github/scripts/build-server-distribution-remote.sh | Updated paths from /root to /${HOME} |
| .github/scripts/build-docker-image-remote.sh | Updated paths from /root to /${HOME}, added copyright header |
| .github/scripts/build-benchmark-artifact-remote.sh | Updated paths from /root to /${HOME}, added copyright header |
| .github/scripts/adhoc.sh | Complete rewrite of deploy-metal, delete-metal functions for PNAP API, added purge-metal function, added getApiToken function, updated examples |
| .github/resources/terraform.tfstate | Added empty Terraform state file |
| .github/resources/*-scale-benchmark.properties | Updated docker.compose.file path to use ${userHome} variable substitution |
| .github/resources/adhoc-server-deploy.json | New JSON template for PNAP server deployment configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 20 comments.
💡 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.
Wrote an integration with Phoenix NAP (our new bare metal provider).
always()) routines was ~27 incidents last year, the probability of the purge-expired function having an impact is 0.28%. (Gotta love Copilot)