Skip to content

[HZ-5339] Use RCD as the test runner#1569

Merged
yuce merged 7 commits intohazelcast:masterfrom
yuce:use-rcd
Jan 28, 2026
Merged

[HZ-5339] Use RCD as the test runner#1569
yuce merged 7 commits intohazelcast:masterfrom
yuce:use-rcd

Conversation

@yuce
Copy link
Copy Markdown
Contributor

@yuce yuce commented Jan 27, 2026

The RC runner for Nodejs needs to be updated to download test artifacts.
Instead of that, RCD can be used to to start the RC.

  • Use RCD as the test runner
  • Remove husky precommit hook

@yuce yuce changed the title Use RCD as the test runner, removed husky Use RCD as the test runner Jan 27, 2026
@yuce yuce requested review from JackPGreen and emreyigit January 27, 2026 07:51
@yuce yuce marked this pull request as draft January 27, 2026 07:55
Copy link
Copy Markdown
Contributor

@JackPGreen JackPGreen left a comment

Choose a reason for hiding this comment

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

The RC runner for Nodejs needs to be updated to download test artifacts. Instead of that, RCD can be used to to start the RC.

  • Use RCD as the test runner
  • Remove husky precommit hook

Does this mean we can remove download-rc.js?

  • Remove husky precommit hook

What's wrong with it?

matrix:
os: [ ubuntu-latest, windows-latest ]

hz_version: [ "5.6.0" ]
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.

[] redundant.
Also this upgrades the version from 5.4 -> 5.6 which is good but probably not required for this change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If I remove the [] I get a lint error. The matrix schema seems to require it.
We'll need 5.6.0 for the release of the client.

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.

If I remove the [] I get a lint error.

Ah - I think that's because it's a matrix.
My preference is that:

hz_version:
   - 5.6.0

Is more readable in this case, but that's just a nit.

We'll need 5.6.0 for the release of the client.

It would be nice if that was in the PR body or a seperate PR just in case someones tries to figure out why the behaviour changed in this PR and it appears to be just RCD.

Comment thread .github/workflows/coverage_runner.yml Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.47%. Comparing base (c641a1e) to head (9b4f2d6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1569   +/-   ##
=======================================
  Coverage   93.46%   93.47%           
=======================================
  Files         466      466           
  Lines       16628    16628           
  Branches     1350     1350           
=======================================
+ Hits        15542    15543    +1     
  Misses        792      792           
+ Partials      294      293    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yuce
Copy link
Copy Markdown
Contributor Author

yuce commented Jan 27, 2026

I removed download-rc.js at: 790d24c

Remove husky precommit hook

What's wrong with it?

There's a syntax error in the hook, that alerted me about this hook when I tried to commit.
It's not necessary, and it would be better to enforce the style as a separate step like in the python client.

@yuce yuce requested a review from JackPGreen January 27, 2026 15:10
@yuce yuce marked this pull request as ready for review January 27, 2026 15:12
@yuce yuce requested review from emreyigit and ihsandemir January 27, 2026 15:13
@yuce
Copy link
Copy Markdown
Contributor Author

yuce commented Jan 27, 2026

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.

Should this file be included? I thought it's resolved from the certs JAR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's for CI. People cloning the repo should still be able to run the tests.

@yuce yuce requested a review from JackPGreen January 28, 2026 06:55
@yuce yuce merged commit 2806414 into hazelcast:master Jan 28, 2026
12 of 14 checks passed
@yuce yuce deleted the use-rcd branch January 28, 2026 07:53
@yuce yuce changed the title Use RCD as the test runner [HZ-5339] Use RCD as the test runner Jan 28, 2026
chmod +x rcd-ubuntu-latest
./rcd-ubuntu-latest -version $HZ_VERSION -no-simple-server &
# wait for a bit for RCD to download artifacts
sleep 10
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

is this a reliable check? some downloads last longer.

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.

@yuce yuce added this to the 5.6.0 milestone Jan 30, 2026
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.

3 participants