Skip to content

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Jun 5, 2025

closes #545

@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 03:02
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new feature to support the tracing-subscriber integration in the napi module and turns it on by default.

  • Added conditional initialization of tracing based on the "tracing-subscriber" feature in napi/src/lib.rs.
  • Updated Cargo.toml to make tracing-subscriber an optional dependency that is enabled by default.
  • Removed outdated Rspack instructions from README.md.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
napi/src/lib.rs Wrapped tracing initialization with a feature flag condition.
napi/Cargo.toml Set tracing-subscriber as an optional dependency and included it by default.
README.md Removed obsolete Rspack instructions.

Copy link
Member Author

Boshen commented Jun 5, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Boshen Boshen merged commit 16f514c into main Jun 5, 2025
11 checks passed
Copy link
Member Author

Boshen commented Jun 5, 2025

Merge activity

@Boshen Boshen deleted the 06-05-feat_napi_add_tracing-subscriber_feature_turned_on_by_default branch June 5, 2025 03:05
@oxc-bot oxc-bot mentioned this pull request Jun 5, 2025
Boshen pushed a commit that referenced this pull request Jun 5, 2025
## 🤖 New release

* `oxc_resolver`: 11.1.0 -> 11.2.0 (✓ API compatible changes)
* `oxc_resolver_napi`: 11.1.0 -> 11.2.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `oxc_resolver`

<blockquote>

##
[11.2.0](oxc_resolver-v11.1.0...oxc_resolver-v11.2.0)
- 2025-06-05

### <!-- 0 -->Features

- *(napi)* add `tracing-subscriber` feature; turned on by default
([#546](#546))
</blockquote>



</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
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.

Gate tracing behind a feature flag

1 participant