Repository navigation
fix(lint/no-base-to-string): don't cache certainty that depends on the recursion path - #1192
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Codex Review Summary: β CompletedThis comment shows the latest Codex review activity on this pull request.
βΉοΈ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with π while any review is running, comments if it has suggestions, and reacts with π once all reviews finish with no findings. |
81b5d97 to
1562a4f
Compare
Performance change vs mainWorkflow run Β· main Clef gate: Running benchmarks because the decision was unavailable (crates/tsrs_lint/src/rules/no_base_to_string.rs: patch exceeds the Clef context limit (9564 bytes)). Release builds in fast mode (TSRS_FAST=1) with Hyperfine 2 hardware counters. After warming each binary, alternating main/PR pairs measure wall time at both the fast preset's default checker count and with --singleThreaded, with ten pairs per configuration by default. Instructions come from the single-threaded runs; peak RSS comes from the default-count runs.
Negative means the PR used less; positive means it used more. Deltas are medians of paired PR/main ratios for wall time and instructions. Single-threaded runs reduce scheduling noise; shared CI machines can still add noise to wall time. Measured medians (main β PR)
tsrs-lintRelease
Negative means the PR used less. Wall and CPU time deltas are medians of paired PR/main ratios; peak RSS compares medians. Measured lint medians (main β PR)
|
e423de6 to
d3ee1ec
Compare
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d3ee1ec2ae
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Merging this PR will not alter performanceWarning oxc-project has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed. 1 warning
Comparing Footnotes
|
349e6a5 to
1ee2973
Compare
β¦e recursion path
1ee2973 to
98879b6
Compare
Ports oxc-project/tsgolint#1447 (
b7a15ffc), including its baseline update.Certainty results were cached per type, even when a result depended on which types were still being resolved. Like typescript-eslint's visited set, a recursive type that comes back while it is still being resolved is treated as useful, but that result was cached and reused at later call sites, so a report depended on statement order. The memo now only caches results that don't depend on a type still being resolved, and recomputes the others, as the reference does by starting a new visited set for each check.