Skip to content

crypto: fix warnings in test_node_crypto.cc#63490

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
MayaLekova:warnings-cleanup-cctest
Jun 2, 2026
Merged

crypto: fix warnings in test_node_crypto.cc#63490
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
MayaLekova:warnings-cleanup-cctest

Conversation

@MayaLekova

Copy link
Copy Markdown
Contributor

Fix build warnings by casting the number literals to the size_t constants they are compared against.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 22, 2026
@joyeecheung joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label May 22, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 22, 2026
@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.33%. Comparing base (49dcaa0) to head (c05b73b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #63490   +/-   ##
=======================================
  Coverage   90.33%   90.33%           
=======================================
  Files         730      730           
  Lines      234362   234362           
  Branches    43906    43919   +13     
=======================================
  Hits       211713   211713           
+ Misses      14371    14370    -1     
- Partials     8278     8279    +1     

see 21 files with indirect coverage changes

🚀 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.
@MayaLekova

Copy link
Copy Markdown
Contributor Author

@joyeecheung can I re-run the failing tests somehow? E.g. this one looks like flaky test.
Otherwise, is it possible for you to merge the branch?

@joyeecheung joyeecheung added request-ci Add this label to start a Jenkins CI on a PR. review wanted PRs that need reviews. labels May 25, 2026
@joyeecheung

Copy link
Copy Markdown
Member

With only one approval this could only land after 7 days since the PR is opened. Trying to see if anyone else is interested in reviewing it...cc @nodejs/cpp-reviewers

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 25, 2026
@MayaLekova

Copy link
Copy Markdown
Contributor Author

I'm looking at some of the Git errors in one of the failing builds:

fatal: No rebase in progress?
[...]
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.```

Is that because I rebased the branch from the GitHub interface?
@joyeecheung

joyeecheung commented May 26, 2026

Copy link
Copy Markdown
Member

To keep the PR branch up-to-date with main, in Node.js we use git rebase rather than git merge https://github.com/nodejs/node/blob/main/doc/contributing/pull-requests.md#step-9-discuss-and-update

I think you will need to rebase onto the main branch with git rebase main -i and get rid of the second merge commit, then force push to your PR branch.

Fix build warnings by casting the number literals to the size_t
constants they are compared against.

Signed-off-by: Maya Lekova <maya@igalia.com>
@MayaLekova MayaLekova force-pushed the warnings-cleanup-cctest branch from c05b73b to 7d2b699 Compare May 26, 2026 12:06
@MayaLekova

MayaLekova commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Thanks, Joyee @joyeecheung ! I thought using the UI does rebasing indeed. Fixed things from the command line, similar to what you suggested.

Can I re-trigger the CI myself? I don't think I can edit the labels (probably due to lack of committer status).

@joyeecheung joyeecheung added request-ci Add this label to start a Jenkins CI on a PR. and removed review wanted PRs that need reviews. labels May 26, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 26, 2026
@joyeecheung joyeecheung added the request-ci Add this label to start a Jenkins CI on a PR. label May 30, 2026
@MayaLekova

Copy link
Copy Markdown
Contributor Author

Again the CI didn't retrigger for some reason, even after Joyee added the request-ci label.
@joyeecheung or @Aditi-1400 could you give a hand?

@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 1, 2026
@Aditi-1400 Aditi-1400 added commit-queue Add this label to land a pull request using GitHub Actions. and removed needs-ci PRs that need a full CI run. labels Jun 2, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 2, 2026
@nodejs-github-bot nodejs-github-bot merged commit f234f0d into nodejs:main Jun 2, 2026
45 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in f234f0d

@MayaLekova MayaLekova deleted the warnings-cleanup-cctest branch June 2, 2026 09:17
aduh95 pushed a commit that referenced this pull request Jun 18, 2026
Fix build warnings by casting the number literals to the size_t
constants they are compared against.

Signed-off-by: Maya Lekova <maya@igalia.com>
PR-URL: #63490
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
aduh95 pushed a commit that referenced this pull request Jun 25, 2026
Fix build warnings by casting the number literals to the size_t
constants they are compared against.

Signed-off-by: Maya Lekova <maya@igalia.com>
PR-URL: #63490
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to the tests.

6 participants