Skip to content

chore: remove unused BoundedDict.set_or_update method - #7568

Open
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-boundeddict-set-or-update-meth-28af56
Open

detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-boundeddict-set-or-update-meth-28af56

Conversation

@detail-app

@detail-app detail-app Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Remove the set_or_update method from BoundedDict and its corresponding
TestSetOrUpdate test class. The method's only production callers (in
inference/interruption.py) were removed in an earlier refactor that replaced
its auto-create-on-missing behavior with a direct update_value call plus an
explicit if entry is None: continue guard. With no remaining production
callers, it was dead code maintained only by tests.

History


Dead Code PRs can be configured here.

@detail-app
detail-app Bot requested a review from a team as a code owner October 1, 2026 16:39
@detail-app
detail-app Bot requested a review from chenghao-mou October 1, 2026 16:40

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

This branch has not been deployed

No deployments
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