Skip to content

refactor(code-extraction): delete ts_provider language compat alias - #1452

Merged
cursor[bot] merged 2 commits into
codex/tracedecay-total-redesign-plan-reopenedfrom
cursor/delete-ts-language-alias-13ea
Sep 16, 2026
Merged

cursor[bot] merged 2 commits into
codex/tracedecay-total-redesign-plan-reopenedfrom
cursor/delete-ts-language-alias-13ea

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Deletes the explicit backward-compatible ts_provider::language() alias and migrates remaining in-repo callers to try_language().

Campaign #707 migrate-delete wave2 (principle: migrate callers then delete legacy APIs — no internal compat shims).

Changes

  • Remove pub fn language wrapper from crates/tracedecay-code-extraction/src/ts_provider.rs
  • Point test callers at try_language (code-extraction tests + graph complexity suite)
  • Unit tests updated to call try_language only

Not in scope

Verify

  • cargo test -p tracedecay-code-extraction --lib -- try_language — pass
  • npm run lint:commit -- --from origin/codex/tracedecay-total-redesign-plan-reopened --to HEAD — pass
  • rg 'ts_provider::language\(' crates — 0 product matches

Base: codex/tracedecay-total-redesign-plan-reopened @ d2c9294089 only (never master / #745).

Open in Web Open in Cursor 

@changeset-bot

changeset-bot Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: eb07268

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy marked this pull request as ready for review September 16, 2026 17:19
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-16T17:22:40.985197Z aacc417 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aacc41741b

ℹ️ 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".

Comment thread crates/tracedecay-code-extraction/src/ts_provider.rs
cursoragent and others added 2 commits September 16, 2026 18:14
Migrate remaining callers to try_language and remove the
backward-compatible language() wrapper so the grammar lookup
has a single public path.

Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/delete-ts-language-alias-13ea branch from da95c94 to eb07268 Compare September 16, 2026 18:15

@ScriptedAlchemy ScriptedAlchemy left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rspack-team-mode — tip eb072683e531

Outcome: deleting the ts_provider::language compat alias in favor of try_language is a clean ownership/name cleanup; call sites + docs updated. No semantic widen.

COMMENT.

@cursor
cursor Bot merged commit 8edb37a into codex/tracedecay-total-redesign-plan-reopened Sep 16, 2026
2 of 25 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the cursor/delete-ts-language-alias-13ea branch September 25, 2026 22:57
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.

2 participants