Repository navigation
test(javascript): prove receiver ownership by source location - #15227
Conversation
Preserve lexical receiver scopes and possible local inheritance links without asserting runtime this identity. Keep decorator evaluation outside method receiver and callable boundaries. Fixes #3360 AI-assisted implementation and verification with OpenAI Codex; human PR ownership and readiness remain unfilled.
Reuse the canonical expression normalizer to preserve object function receiver identity through transparent wrappers. Keep arrows, computed keys and non-transparent expressions separate. AI-assisted implementation and verification with OpenAI Codex.
Retain instance/static sides and possible local-base event links on current main. Keep this identities incomplete and remove the shared callable-stack changes from the PR.
Apply the existing computed-method-key evaluation boundary before non-arrow receiver selection. Cover object method keys and bodies through semantic IR and CLI/MCP regressions.
…656-this-receivers * commit '748537728fd7799f2d615bea9f6992b7653ba944': (663 commits) fix(audit): preserve env shebang argument ownership (#14075) feat(evtx): inventory Windows event log records offline docs(skill): replace the staged workflow with the rules it encodes (#10374) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (#15222) feat(mcp): advertise each tool's family in tools/list _meta (#7154) perf(evidence): inspect retained records without building a bundle (#15219) fix(process): report denied inspection as typed cleanup failures (#9261) perf(mcp): complete retained Evidence without rebuilding bundles (#15210) fix(agentenv): stop dry-run tarball reads on cancellation (#15205) perf(png): reuse scanline storage in screenshot comparisons (#15215) fix(javascript): respect Node HTTP path validation (#9684) fix(windows): reject native addons with unusable delay-import tables (#15216) feat(artifacts): inventory Android super image metadata (#14928) fix(paths): reject dotted console device names for portability (#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (#15206) fix(screenshots): report the PNG comparison memory allowance (#15217) fix(process): compare Windows server paths by native realpath (#15044) fix(firmware): recheck decoded member source on completion (#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (#15208) ...
…ivers * origin/main: fix(javascript): scope candidate this event receivers (#4656) fix(config): validate target and loader options before printing MCP registrations (#9279) fix(native): honor cancellation during PE alias expansion (#9063) # Conflicts: # src/domain/javascript/javascriptSemanticAnalysis.this_emitters.test.ts # tests/acceptance/applications/javascriptThisEmitters.test.ts
Codex Review Summary: ❌ FailedThis 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. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Low impact] The PR appears safe to merge; the new assertions check receiver ownership more precisely without changing production behavior. SummaryThis PR replaces aggregate receiver checks with checks tied to specific source operations.
Reviews (1) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile |
Summary
The receiver regressions in #4656 compared aggregate event groups, which could stay green if a computed key and a method body were assigned to each other’s receivers. Assert the exact source operation’s receiver instead.
The unit tests now identify class decorators, heritage expressions, computed keys, member bodies and field initializers separately. The CLI/MCP fixture uses source markers for class inheritance, static/instance sides, and object-method key/body ownership. Existing candidate, uncertainty and stable-binding controls remain.
Validation
a75b2591cbf46c7e5fbb02898f521a8061fdce47, using its hosted runtime and locked dependencies on Node 24.22.1. The two adapters produced identical graphs, with the expected source-linked receiver identities for inheritance, static/instance separation, computed keys, decorators, heritage and class member initializers.Scope and ownership
Test-only follow-up to #4656, preserving its contributor’s merged implementation. No new provider, execution or mutation authority, package changes, or release metadata. Maintainer-authored; the author-readiness declaration is exempt under CONTRIBUTING.md.