Skip to content

context: type entry points start the flow at their methods; an empty flow lists what was found - #1806

Merged
swapnilpaliwal-sd merged 1 commit into
apps/integration-0.1.9from
apps/typescript/context-source-empty-answer
Sep 30, 2026
Merged

swapnilpaliwal-sd merged 1 commit into
apps/integration-0.1.9from
apps/typescript/context-source-empty-answer

Conversation

@swapnilpaliwal-sd

Copy link
Copy Markdown
Contributor
  • A question naming classes got entry points that were all types. The flow had no root, and with --source the answer printed only its terms and a count of files it did not list.
  • A type entry point now starts the flow at its own methods, after the callable entry points. A root with a body comes before a signature, unless the task names that signature.
  • A flow that is still empty now says why and prints the entry points and files.
  • Tests: two checks added to typescript/explain-flow, one with class-only entry points and one with types that have no methods. Both fail before and pass after. The existing checks there are the control.
  • Checked: plugin cases TS 169/174, JS 236/236, Java 298/298, Python 260/261, C# 195/197. The 5 TS, 1 Python and 2 C# failures fail the same way without this change. Probes 31 → 32/74, 0 regressed. Call edges 9977 → 9977.

…n empty flow lists what was found

A question naming classes got entry points that were all types; a type is not a call, so the flow had
no root and, with the code shown, the answer printed only its terms and a count of files it did not list.
Type entry points now start the flow at their own methods (after the callable ones), a root with a body
comes before a signature unless the task names it, and a flow that is still empty says why and prints
the entry points and files.

Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
@swapnilpaliwal-sd
swapnilpaliwal-sd merged commit 1f0441c into apps/integration-0.1.9 Sep 30, 2026
12 checks passed
@swapnilpaliwal-sd
swapnilpaliwal-sd deleted the apps/typescript/context-source-empty-answer branch September 30, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant