Avatar for the swc-project user
swc-project
swc
BlogDocsChangelog

Performance History

Latest Results

fix(es/parser): allow namespace await identifiers Module-wide await reservation rejects valid identifiers inside TypeScript namespaces. Give namespace bodies their own declaration context and restore the outer parser state on both success and error.
fix/parser-namespace-await-identifier
56 minutes ago
fix(bindings): fall back to a safe cache root on Unix (#12500) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> **Description:** <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> Native addon loading fails on Unix when the user cache has a shared ancestor, such as `HOME=/vercel`. Temporary mode uses that same root, so `SWC_NATIVE_BINDING_CACHE=0` also fails. Retry cache failures in the canonicalized system temporary directory on Unix, using the same execution, ownership, permission, and private-namespace checks. Preserve payload integrity errors and avoid fallback work when the primary cache succeeds. Windows retains its existing profile-cache fallback. Add isolated cache fixtures and real Node carrier coverage for fallback loading, temporary cleanup, unsafe roots, symlinked temporary paths, and integrity failures. Include the required `swc_core: patch` changeset. **BREAKING CHANGE:** None. **Related issue (if exists):** Closes #12498 ## Validation The following checks passed for reviewed source commit `4e2eb2f98b`: - `cargo test -p swc_native_addon` on macOS and in a Linux container, including rejection of a `noexec` fallback. - `cargo test -p binding_native_addon` and `cargo test -p binding_native_addon --test carrier`, including actual Node loading. - `python3 crates/swc_native_addon/scripts/msrv.py` with Rust 1.85. - `cargo fmt --all` and `cargo clippy --all --all-targets -- -D warnings`. - `pnpm build:dev && pnpm test` in `packages/core`: 119 tests passed, 3 skipped. macOS Rust tests used a canonical `TMPDIR` to avoid the existing `/var` alias in cache fixtures. The three existing filesystem-specific tests remained ignored. Windows native execution was not available. The later changeset commit adds release metadata only; local code validation was not rerun during publication. CI results are pending. ## AI assistance and human review AI was used to prepare these changes. Human-reviewed by @kdy1. - Harness: Codex desktop app
main
3 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(es/parser): allow namespace await identifiers#12507
1 hour ago
d8773db
fix/parser-namespace-await-identifier
CodSpeed Performance Gauge
-3%
1 hour ago
9a58dd4
fix/codegen-non-null-equality-boundary
CodSpeed Performance Gauge
0%
1 hour ago
a6c7029
fix/parser-enum-await-context
© 2026 CodSpeed Technology
Home Terms Privacy Docs