Skip to content

convert relevant tests to use CLS #31978

Closed
@gireeshpunathil

Description

@gireeshpunathil

Outcome of discussion in diagnostics WG
ref: nodejs/diagnostics#361

Is your feature request related to a problem? Please describe.
async_storage API is landed, but may be a long way to go before large scale field adoption - in terms of API stability, interfaces, performance, ...

Describe the solution you'd like
One proven method is to consume it ourselves and allow things to refine and evolve.
We have good amount of client-server tests (net, http, http2...) and a sub-set of those may have opportunities to process data elements through async-storage mechanism. It is so possible that other types of tests have opportunities too.

So the proposal is to:

  • develop new tests based on existing qualifying tests (that which pass around contextual data) to use async_storage
  • allow those to run as part of regular CI
  • use the outcome as a feeder to the API enhancements
  • eventually when things stabilize, remove traditional tests and switch over to the new ones

cc @nodejs/testing @vdeturckheim @Qard

Metadata

Metadata

Assignees

No one assigned

    Labels

    async_hooksIssues and PRs related to the async hooks subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions