Repository navigation
fix(lint/prefer-string-starts-ends-with): stop resolving cyclic variable initializers - #1170
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. |
a471365 to
0f67782
Compare
Merging this PR will degrade performance by 3.99%Warning 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. 2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Performance change vs mainWorkflow run · main Clef gate: Clef estimated 44.4% default and single-threaded wall time, 48.6% peak RSS, 56.1% single-threaded instruction count impact probability. 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. |
0f67782 to
f501df4
Compare
âĶble initializers
f501df4 to
aa01862
Compare
Ports oxc-project/tsgolint#1423 (
8f5e7852), including its baseline update.The rule followed constant variable initializers recursively when evaluating static strings, regular expressions and nullish values, so a self-referencing initializer recursed until the stack overflowed. Initializers are now followed in a loop by
resolve_constant, and a cycle is treated as an unknown value, matching typescript-eslint'sgetStaticValue.