Skip to content

MLE-32200 : Updated jenkins test to run on node 24 and 26 - #1140

Open
adganta wants to merge 3 commits into
developfrom
MLE-32200-jenkins-node-update
Open

adganta wants to merge 3 commits into
developfrom
MLE-32200-jenkins-node-update

Conversation

@adganta

@adganta adganta commented Dec 1, 2026

Copy link
Copy Markdown

Updated jenkins test to run on node 24 and 26

Copilot AI balanced review requested due to automatic review settings December 1, 2026 09:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Node-version loop leaves copied proxy tests and worker helpers in test-complete, causing later suite loading to fail while || true and subsequent reports can conceal missing results.

1 open issue
What changed in this PR

This PR expands the Node client’s Jenkins testing to Node.js 22, 24, and 26 and documents that coverage.

Changes:

  • Adds configurable Node versions, selecting the newest installed patch for each major.
  • Runs test suites across Node versions and regression images, with version-specific reports.
  • Limits the pull-request test stage to develop and pull requests.
File Description
README.md Documents testing against Node.js 22, 24, and 26.
Jenkinsfile Adds Node-version selection, test loops, stage filtering, and distinct report filenames.

Review effort: Balanced

Comment thread Jenkinsfile Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Reusing the mutated test directory across Node versions causes Mocha to discover copied worker helpers and Data Services specs prematurely, aborting suite loading while || true masks the failure.

1 open issue
1 previously missed issue

In code that hasn't changed since last review

Medium severity Exclude copied Data Services files from the initial test run

Jenkinsfile:131

The new Node-version loop reuses test-complete/ after runE2ETests() copies Data Services specs and worker helpers into it. On the next iteration, this directory-wide run discovers those files before Data Services setup; the worker helpers access null workerData on the main thread and abort suite loading. Exclude the copied specs, worker helpers, and gulpfile from this initial run so they are used only by the dedicated setup and tests below.

Review effort: Balanced

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.

2 participants