Skip to content

chore(app): remove dead resetSessionModel helper - #23

Open
detail-app[bot] wants to merge 1 commit into
devfrom
detail/dead-code/chore-app-remove-dead-resetsessionmodel-helper-dc135d
Open

chore(app): remove dead resetSessionModel helper#23
detail-app[bot] wants to merge 1 commit into
devfrom
detail/dead-code/chore-app-remove-dead-resetsessionmodel-helper-dc135d

Conversation

@detail-app

@detail-app detail-app Bot commented Sep 7, 2026

Copy link
Copy Markdown

Removed the resetSessionModel export from session-model-helpers.ts
along with its dedicated test block. The function had no production
call-sites — session.tsx imports only the sibling helpers
(syncSessionModel, syncPromptModel, restorePromptModel) and
performs the equivalent local.session.reset() inline at session.tsx:593.
Its only consumer was a unit test, so the export was misleading: its
name implied a session-model reset flow that no longer exists.

History


Dead Code PRs can be configured here.

@greptile-apps greptile-apps 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

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.

0 participants