Repository navigation
sqldoom functions: bound-arrow and handler count above ctags ruled a counting convention (Part of #5876) - #5966
Merged
Merged
Conversation
…counting convention (Part of #5876) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 22, 2026 05:23
squid-protocol
enabled auto-merge (squash)
October 22, 2026 05:26
Owner
Author
|
No description provided. |
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5876 (slice 3 of 3: sqldoom functions).
Finding
sqldoom reads 419 functions against ctags' 376 (+11.4%, 6 files). All six differing files are JavaScript (the PostgreSQL
CREATE FUNCTION/PROCEDURE/DOfiles are not in ctags' languages and the 34 Python files agree exactly). I read every differing definition in the source (pinned SHA95753a2): all 43 extra functions are real named arrow functions, and the ctags-only set is empty. Engine is right, so this is a ruling, not a fix. The engine is unchanged, so no golden re-bless (tests/golden_doom_rosetta/sqldoomis byte-identical;--diagnose sqldoomshows no drift).Class: named arrow function bound to a name or property
const f = (...) => {(top-level helper or nested closure), incl. expression bodyconst sleep = (ms) => new Promise(...)constantobj.onX = (...) => {handler assigned on an object (pg.onclose,ws.onmessage,pg.onwire)window.f =in #5963)Per file (engine / ctags):
scripts/bots.mjs13/4,scripts/egress_probe.mjs7/3,scripts/web_browser_check.mjs5/0,scripts/web_smoke.mjs1/0,web/app.js35/18,web/pgwire.js30/23; extras 9+4+5+1+17+7 = 43 = 419 - 376.Change (4 hand-written files)
docs/language_status/javascript.mdsection 5 item 4: sqldoom added to the ruling.tests/extraction/languages/test_javascript.py: pins expression-body, async andobj.onX =arrow shapes intest_javascript_func_start_bound_arrow_is_a_function.tests/doom_rosetta/manifest.csv: sqldoom keepsexpected_fails=functions, with the lineage link to the ruling.tests/tools/doom_rosetta_check.py: docstring no longer says the disagreement is "unresolved".Verification
pr_gates --fast7/7; JS and doom_rosetta unit tests pass; tree-wide guards pass.--ratchetsnot run (no engine, golden or generated-file change).🤖 Generated with Claude Code