Repository navigation
fix(lint/await-thenable): resolve computed aggregator method names statically - #1183
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. |
There was a problem hiding this comment.
đź’ˇ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 330b3d3bac
ℹ️ 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".
330b3d3 to
774987d
Compare
Performance change vs mainWorkflow run · main Clef gate: Running benchmarks because the decision was unavailable (crates/tsrs_lint/src/utils.rs: patch exceeds the Clef context limit (4545 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. |
774987d to
56331b8
Compare
There was a problem hiding this comment.
đź’ˇ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 56331b8d63
ℹ️ 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".
56331b8 to
5ea2b0d
Compare
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
|
5ea2b0d to
f79580e
Compare
Ports oxc-project/tsgolint#1433 (
3fdab4f3), including its baseline update.Computed aggregator method names were resolved by the checker's property-name helper, which didn't look through parentheses, so
Promise[('all')]wasn't checked. It also took an ambientdeclare constkey from its type annotation, treating a key with no value as known. Like typescript-eslint'sgetStaticValue, the rule now evaluates the key from source: parentheses are skipped, and aconstkey is used only when it has an initializer. The evaluation lives in newget_static_string_valueandget_static_member_access_valuehelpers inutils.rs.