Skip to content

chore: remove unused minFunction utility - #67

Closed
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-minfunction-utility-15c30e
Closed

detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-minfunction-utility-15c30e

Conversation

@detail-app

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

Copy link
Copy Markdown
Contributor

Removes the unused minFunction export from src/utils/minMaxFunction.ts. minFunction had no callers anywhere in the codebase (production or test), was never referenced directly, and had a latent bug (initializing minVal to -Infinity makes val < minVal always false, so it could never actually compute a minimum) confirming it was never exercised. maxFunction in the same file remains in use by src/activities/tasks/assignGroups.ts.

History

  • Last materially changed March 2025 (cdb5343)

Dead Code PRs can be configured here.

@augmentcode

augmentcode Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor
🤖 Augment PR Summary

Summary: Removes the unused minFunction export from src/utils/minMaxFunction.ts.
Changes: Retains the actively used maxFunction utility while eliminating dead code whose initialization prevented it from computing a minimum.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode 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.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@detail-app

detail-app Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing this pull request because it has had no human activity in 30 days (since 2026-09-22) and was opened 30 days ago. Detail closes its pull requests once they are more than 30 days old and have had no human activity for 14 days.

If this change is still useful, reopen the pull request and Detail won't close it again. To keep a Detail pull request open, add the detail-keep-open label to it.

@detail-app detail-app Bot closed this Oct 22, 2026
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