ci(native): Native Image workflow_dispatch stub (enables testing PR #5323) - #5324
Conversation
Registers the 'Native Image' workflow on the default branch so the full workflow on feat/native-image can be dispatched against that branch to test it before merge (workflow_dispatch runs the selected ref's version once a workflow of this name exists on the default branch). Replaced by the real build/smoke/Docker workflow when the native-image feature merges.
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Tick the box to add this pull request to the merge queue (same as
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ -6.95% coverage variation |
| Diff coverage | ✅ ∅ diff coverage |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (99d62c2) 140670 104850 74.54% Head commit (d96e983) 172571 (+31901) 116634 (+11784) 67.59% (-6.95%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#5324) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| - run: echo "Stub. The full native-image workflow lives on feat/native-image; dispatch that branch to run it." |
|
Code Review Reviewed the single-file change (.github/workflows/native-image.yml). This is a clean, minimal, low-risk stub, and the motivation is well documented both in the PR description and inline in the workflow comment. Nice touch pinning actions/checkout to a full commit SHA (9c091bb... = v7.0.0), which matches the SHA already used elsewhere in the repo and satisfies the SHA-pinning convention. Suggestions (non-blocking)
Notes
Overall: LGTM. The permissions block addition is the only thing I would recommend before merge. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5324 +/- ##
============================================
+ Coverage 65.62% 65.63% +0.01%
- Complexity 992 996 +4
============================================
Files 1716 1716
Lines 140670 140670
Branches 30119 30119
============================================
+ Hits 92315 92332 +17
+ Misses 35861 35851 -10
+ Partials 12494 12487 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
What does this PR do?
Adds a minimal
workflow_dispatchstub of theNative Imageworkflow tomain.Motivation
The full Native Image workflow (on
feat/native-image, PR #5323) triggers only onworkflow_dispatchandrelease, so it cannot be exercised from a PR. GitHub only registers a workflow as dispatchable once a workflow of that name exists on the default branch; dispatching then runs the version of the file present on the selected ref.Merging this stub lets the full workflow be run against
feat/native-image(select that branch in "Run workflow") to validate the real 5-target build, smoke, and Docker logic before merge. Dispatch is safe: in the full workflow, Docker pushes are gated to thereleaseevent, so aworkflow_dispatchrun builds and smoke-tests (--load+ local container smoke) without publishing anything toarcadedata/arcadedb.Related issues
Bootstraps testing for PR #5323 (experimental GraalVM native-image build). This stub is replaced by the real workflow when that feature merges.
Additional Notes
The stub does nothing but a checkout + an echo. After it merges,
feat/native-imagewill be rebased ontomain(a trivial one-file conflict onnative-image.yml, resolved in favor of the feature branch's full version).Checklist
mvn clean packagecommand (n/a - workflow-only change;actionlint+ YAML validation pass)