-
Notifications
You must be signed in to change notification settings - Fork 4
Ci test #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-0.293-clp-connector
Are you sure you want to change the base?
Ci test #102
Changes from all commits
735f25a
ccce7d3
ecd8fa6
d12af5f
fe33643
95aece6
2fe42d6
985f14e
a1d0d3d
bcd79dd
5c54c6f
cb2bf65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ on: | |
| jobs: | ||
| prestissimo-worker-images-build: | ||
| name: "prestissimo-worker-images-build" | ||
| runs-on: "ubuntu-22.04" | ||
| runs-on: self-hosted | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Verify self-hosted runner OS version and architecture matching. The workflow previously specified
To ensure reproducibility and catch OS-related regressions early, either:
🤖 Prompt for AI Agents |
||
| steps: | ||
| - uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" | ||
| with: | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -20,7 +20,7 @@ concurrency: | |||||||||
|
|
||||||||||
| jobs: | ||||||||||
| prestocpp-linux-build-for-test: | ||||||||||
| runs-on: ubuntu-22.04 | ||||||||||
| runs-on: self-hosted | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Verify all self-hosted runners have Docker support and pre-configured containers. All four jobs in this workflow use a specific container image:
Add explicit Docker runner labels to prevent job assignment to incompatible runners: prestocpp-linux-build-for-test:
- runs-on: self-hosted
+ runs-on: [self-hosted, linux, docker, x64]
🤖 Prompt for AI Agents |
||||||||||
| container: | ||||||||||
| image: prestodb/presto-native-dependency:0.293-20250522140509-484b00e | ||||||||||
| env: | ||||||||||
|
|
@@ -97,7 +97,7 @@ jobs: | |||||||||
|
|
||||||||||
| prestocpp-linux-presto-e2e-tests: | ||||||||||
| needs: prestocpp-linux-build-for-test | ||||||||||
| runs-on: ubuntu-22.04 | ||||||||||
| runs-on: self-hosted | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Verify e2e test job has adequate runner resources. The
Ensure runners are labeled with resource specifications to prevent out-of-memory kills or job timeouts. Add runner labels: prestocpp-linux-presto-e2e-tests:
needs: prestocpp-linux-build-for-test
- runs-on: self-hosted
+ runs-on: [self-hosted, linux, docker, x64, presto-e2e-runner]Then configure runners with the 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| container: | ||||||||||
| image: prestodb/presto-native-dependency:0.293-20250522140509-484b00e | ||||||||||
| env: | ||||||||||
|
|
@@ -172,7 +172,7 @@ jobs: | |||||||||
|
|
||||||||||
| prestocpp-linux-presto-native-tests: | ||||||||||
| needs: prestocpp-linux-build-for-test | ||||||||||
| runs-on: ubuntu-22.04 | ||||||||||
| runs-on: self-hosted | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Ensure runner capacity for matrix strategy with storage format variations. The Add runner labels to ensure capacity: prestocpp-linux-presto-native-tests:
needs: prestocpp-linux-build-for-test
- runs-on: self-hosted
+ runs-on: [self-hosted, linux, docker, x64, presto-native-tests-runner]Then ensure you have enough runners with the 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| strategy: | ||||||||||
| fail-fast: false | ||||||||||
| matrix: | ||||||||||
|
|
@@ -248,7 +248,7 @@ jobs: | |||||||||
|
|
||||||||||
| prestocpp-linux-presto-sidecar-tests: | ||||||||||
| needs: prestocpp-linux-build-for-test | ||||||||||
| runs-on: ubuntu-22.04 | ||||||||||
| runs-on: self-hosted | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Add runner labels to prevent job misassignment for sidecar tests. The Add explicit runner labels: prestocpp-linux-presto-sidecar-tests:
needs: prestocpp-linux-build-for-test
- runs-on: self-hosted
+ runs-on: [self-hosted, linux, docker, x64, presto-sidecar-tests-runner]📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| container: | ||||||||||
| image: prestodb/presto-native-dependency:0.293-20250522140509-484b00e | ||||||||||
| env: | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Test NPM Availability | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| test-npm: | ||
| runs-on: self-hosted | ||
| steps: | ||
| - name: Check system info | ||
| run: | | ||
| echo "=== Runner Information ===" | ||
| echo "Hostname: $(hostname)" | ||
| echo "OS: $(uname -a)" | ||
| echo "User: $(whoami)" | ||
| - name: Check npm and node versions | ||
| run: | | ||
| echo "=== NPM and Node Versions ===" | ||
| which npm || echo "npm not found in PATH" | ||
| npm --version || echo "npm command failed" | ||
| which node || echo "node not found in PATH" | ||
| node --version || echo "node command failed" | ||
| - name: List installed packages | ||
| run: | | ||
| echo "=== Checking for npm in common locations ===" | ||
| ls -la /usr/bin/npm 2>/dev/null || echo "/usr/bin/npm not found" | ||
| ls -la /usr/local/bin/npm 2>/dev/null || echo "/usr/local/bin/npm not found" | ||
| which -a npm 2>/dev/null || echo "npm not in PATH" | ||
|
Comment on lines
+1
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Clarify purpose and long-term intent of NPM availability diagnostic workflow. The
If this is a temporary diagnostic workflow for self-hosted runner setup validation, add documentation: # TODO: Review this diagnostic workflow after self-hosted runner setup is complete
# Created: 2025-11-11, Purpose: Verify npm/node availability on self-hosted runners
name: Test NPM Availability # Diagnostic workflow - may be removed after setup validationAdditionally, consider making the workflow fail if npm is not available, to surface configuration issues: - name: Check npm and node versions
run: |
echo "=== NPM and Node Versions ==="
+ set -e # Exit on first error
which npm || (echo "ERROR: npm not found in PATH" && exit 1)
npm --version
which node || (echo "ERROR: node not found in PATH" && exit 1)
node --version🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: Test Runner Pickup | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - ci-test | ||
|
|
||
| jobs: | ||
| simple-test: | ||
| runs-on: self-hosted | ||
| steps: | ||
| - name: Echo test | ||
| run: | | ||
| echo "Runner picked up the job!" | ||
| echo "Hostname: $(hostname)" | ||
| echo "Date: $(date)" | ||
| echo "User: $(whoami)" | ||
|
Comment on lines
+1
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Clarify purpose and long-term intent of diagnostic workflow. The
If this is a temporary diagnostic workflow for validating the CI migration, consider adding a comment documenting its purpose and planned removal date: # TODO: Remove this diagnostic workflow after validating self-hosted runner setup
# Created: 2025-11-11, Target removal: 2025-12-11
name: Test Runner Pickup # Diagnostic: Self-hosted runner availability test🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,7 @@ concurrency: | |||||
|
|
||||||
| jobs: | ||||||
| changes: | ||||||
| runs-on: ubuntu-latest | ||||||
| runs-on: self-hosted | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Add runner labels to prevent job starvation with matrix strategy. The Consider adding specific runner labels to ensure adequate capacity: changes:
- runs-on: self-hosted
+ runs-on: [self-hosted, linux, x64, test-runner-pool]Then configure a runner group or add a custom label 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| # Required permissions | ||||||
| permissions: | ||||||
| pull-requests: read | ||||||
|
|
@@ -41,7 +41,7 @@ jobs: | |||||
| - '!presto-docs/**' | ||||||
|
|
||||||
| test: | ||||||
| runs-on: ubuntu-latest | ||||||
| runs-on: self-hosted | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Verify self-hosted runner disk space for Maven cache accumulation. The Implement a cache cleanup strategy, such as:
🤖 Prompt for AI Agents |
||||||
| needs: changes | ||||||
| strategy: | ||||||
| fail-fast: false | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Verify self-hosted runner has Docker daemon and registry credentials.
The
presto-coordinator-imagejob builds and pushes Docker images toghcr.io. Ensure self-hosted runners have:ghcr.ioNo Docker-specific runner labels are specified, which could lead to job failures if assigned to runners without Docker support.
Add explicit Docker support labels to the runner specification:
presto-coordinator-image: name: "presto-coordinator-image" needs: "maven-checks" - runs-on: self-hosted + runs-on: [self-hosted, linux, docker, x64]