Skip to content

test: include cache-test worker metadata on failure#5276

Open
trivikr wants to merge 2 commits intonodejs:mainfrom
trivikr:test-cache-interceptor-2
Open

test: include cache-test worker metadata on failure#5276
trivikr wants to merge 2 commits intonodejs:mainfrom
trivikr:test-cache-interceptor-2

Conversation

@trivikr
Copy link
Copy Markdown
Member

@trivikr trivikr commented May 10, 2026

This relates to...

Refs: #5199

Rationale

When a cache-test worker exits before printing its own summary, the parent process currently only reports Process completed with exit code 1. This makes it hard to identify which cache environment failed.

Changes

  • Include cache-test worker metadata on failure: port, cache store, cache type, exit code, and signal.
  • Capture child process spawn errors in the worker’s buffered output.

Features

N/A

Bug Fixes

Include cache-test worker metadata on failure

Breaking Changes and Deprecations

N/A

Status

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (296b424) to head (b589430).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5276   +/-   ##
=======================================
  Coverage   93.27%   93.27%           
=======================================
  Files         110      110           
  Lines       36384    36384           
=======================================
  Hits        33938    33938           
  Misses       2446     2446           

☔ 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.

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