FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: deflake test-webcrypto-crypto-job-mode by panva · Pull Request #63543 · nodejs/node · GitHub

/ node Public

test: deflake test-webcrypto-crypto-job-mode - #63543

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
panva:deflake-job-mode-test
May 26, 2026
Merged

test: deflake test-webcrypto-crypto-job-mode#63543
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
panva:deflake-job-mode-test

Conversation

panva commented May 24, 2026
edited
Loading

Copy link
Copy Markdown
Member

Deflake the test by corrupting the first AES-CBC ciphertext byte instead of the final byte. Mutating the final byte made the decrypted padding block random, which could occasionally produce valid PKCS#7 padding and cause subtle.decrypt() to resolve. Mutating the first byte deterministically corrupts the padding block for this two-block ciphertext, so the expected OperationError rejection is stable.

flake e.g. https://ci.nodejs.org/job/node-test-commit-linuxone/55565/nodes=rhel8-s390x/testReport/junit/(root)/parallel/test_webcrypto_crypto_job_mode/

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
panva added test Issues and PRs related to the tests. flaky-test Issues and PRs related to the tests with unstable failures on the CI. labels May 24, 2026
nodejs-github-bot added the needs-ci PRs that need a full CI run. label May 24, 2026
panva added dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. dont-land-on-v25.x needs-ci PRs that need a full CI run. and removed needs-ci PRs that need a full CI run. labels May 24, 2026

This comment was marked as outdated.

codecov Bot commented May 24, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #63543      +/-   ##
==========================================
+ Coverage   90.13%   90.33%   +0.20%     
==========================================
  Files         718      730      +12     
  Lines      228399   234161    +5762     
  Branches    42931    43908     +977     
==========================================
+ Hits       205860   211522    +5662     
- Misses      14283    14366      +83     
- Partials     8256     8273      +17     

see 65 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.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

panva removed the dont-land-on-v24.x PRs that should not land on the v24.x-staging branch and should not be released in v24.x. label May 25, 2026

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

panva added the commit-queue Add this label to land a pull request using GitHub Actions. label May 26, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 26, 2026
nodejs-github-bot merged commit 75c1982 into nodejs:main May 26, 2026
98 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 75c1982

panva deleted the deflake-job-mode-test branch May 26, 2026 20:37
aduh95 pushed a commit that referenced this pull request May 27, 2026
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: #63543
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
panva added the backported-to-v24.x PRs backported to the v24.x-staging branch. label Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported-to-v24.x PRs backported to the v24.x-staging branch. dont-land-on-v22.x PRs that should not land on the v22.x-staging branch and should not be released in v22.x. flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL