Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainnodejs/node:mainfrom
panva:deflake-job-mode-testpanva/node:deflake-job-mode-testCopy head branch name to clipboard
May 26, 2026
Merged

test: deflake test-webcrypto-crypto-job-mode#63543
nodejs-github-bot merged 1 commit into
nodejs:mainnodejs/node:mainfrom
panva:deflake-job-mode-testpanva/node:deflake-job-mode-testCopy head branch name to clipboard

Conversation

@panva

@panva panva commented May 24, 2026

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 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 nodejs-github-bot added the needs-ci PRs that need a full CI run. label May 24, 2026
@panva 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
@nodejs-github-bot

This comment was marked as outdated.

@codecov

codecov Bot commented May 24, 2026

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.

@trivikr

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@panva 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
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva panva added the commit-queue Add this label to land a pull request using GitHub Actions. label May 26, 2026
@nodejs-github-bot 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 nodejs-github-bot merged commit 75c1982 into nodejs:main May 26, 2026
98 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 75c1982

@panva 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.