← Back to Pull requests

[ZEPPELIN-6353] Migrate Windows build CI from AppVeyor to GitHub Actions #5091

Merged
tbonelee merged 4 files (228 lines) on Oct 02, 2025 10:34 UTC
View on GitHub
tbonelee tbonelee commented on Oct 01, 2025 03:48 UTC
Author

What is this PR for?

Background

  • Windows build/test currently runs on AppVeyor.
  • Problem

  • AppVeyor jobs are hard for individual contributors to reproduce and debug.

  • - Hard to debug failing Windows build test.
  • Maintaining a separate CI provider increases overhead.
  • Proposal

  • Port the Windows build/test job to GitHub Actions with feature parity.
  • Benefits

  • Single CI platform, easier contributor workflows, simpler maintenance.
  • Definition of Done

    All Windows checks run on GitHub Actions and pass consistently.
    AppVeyor is removed from required checks and configuration.

    What type of PR is it?


    CI

    Todos


  • Add a Windows workflow on GitHub Actions (build).

  • Ensure caching/artifacts.

  • Disable AppVeyor from repository settings after GA workflow is green and stable.
  • What is the Jira issue?


    [[ZEPPELIN-6353]](https://issues.apache.org/jira/browse/ZEPPELIN-6353)

    How should this be tested?


  • Check windows-build job in core
  • Questions:


    Does the license files need to update? No
    Is there breaking changes for older versions? No
  • Does this needs documentation? No
  • Diff: 228 lines (+177 / -51) across 4 files Reviewer: Reamer Review duration: 1846m
    All Vouch review confidence checks passed
    Residual risk 0.12 = Change Risk (0.63) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 228 lines diff across 4 files
    0.63
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.71 · 3 substantive comment(s)
    0.71
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    81%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.325
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    6 items
    tbonelee tbonelee commented on code on Oct 01, 2025 03:50 UTC
    Code Review
    zeppelin-web-angular/package.json:1
    @@ -5,8 +5,8 @@
         "prepare": "cd .. && husky",
         "postinstall": "npm run build:projects && npm run build:tslint-rules",
         "ng": "./node_modules/.bin/ng",
    -    "start": "NODE_OPTIONS='--openssl-legacy-provider' ng serve --proxy-config proxy.conf.js --extra-webpack-config webpack.partial.js",
    -    "build": "NODE_OPTIONS='--openssl-legacy-provider' ng build --prod --extra-webpack-config webpack.partial.js",
    +    "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng serve --proxy-config proxy.conf.js --extra-webpack-config webpack.partial.js",
    +    "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng build --prod --extra-webpack-config webpack.partial.js",

    Added Windows compatability for setting an environment variable.

    tbonelee tbonelee commented on code on Oct 01, 2025 03:53 UTC
    Code Review
    .github/workflows/core.yml:1
    @@ -482,3 +482,31 @@ jobs:
                 ${{ runner.os }}-zeppelin-
           - name: build without any profiles
             run: ./mvnw clean verify -DskipTests ${MAVEN_ARGS}
    +
    +  windows-build:
    +    runs-on: windows-latest
    +    strategy:
    +      fail-fast: false
    +      matrix:
    +        java: [ 11 ]
    +    steps:
    +      - name: Checkout
    +        uses: actions/checkout@v4
    +      - name: Set up JDK ${{ matrix.java }}
    +        uses: actions/setup-java@v4
    +        with:
    +          distribution: 'temurin'
    +          java-version: ${{ matrix.java }}
    +      - name: Cache local Maven repository
    +        uses: actions/cache@v4
    +        with:
    +          path: |
    +            ~\.m2\repository
    +            !~\.m2\repository\org\apache\zeppelin\
    +          key: ${{ runner.os }}-zeppelin-${{ hashFiles('**/pom.xml') }}
    +          restore-keys: |
    +            ${{ runner.os }}-zeppelin-
    +      - name: Build on Windows
    +        run: |
    +          .\mvnw.cmd clean package -DskipTests -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade.mojo.ShadeMojo=warn -Dorg.slf4j.simpleLogger.log.com.googlecode.download.maven.plugin.internal.WGet=warn -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency.fromDependencies.CopyDependenciesMojo=warn --no-transfer-progress

    Brought from .appveyor.yml

    Reamer Reamer approved these changes on Oct 01, 2025 06:25 UTC
    Approved Reviewer

    LGTM

    voidmatcha voidmatcha approved these changes on Oct 01, 2025 10:14 UTC
    Approved Reviewer

    Approved these changes.

    tbonelee tbonelee commented on Oct 02, 2025 10:35 UTC
    Author

    Thanks, merged into master and branch-0.12

    Reviewers
    Assignees
    tbonelee tbonelee
    Labels
    risk: low confidence: 81.1% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 63.1% (MEDIUM) · Higher = larger blast radius
    63.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 81.1% · Lower = rushed or shallow review
    81.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 11.9% · Safe to merge
    11.9%