Skip to content

chore: remove unused generateFileForProjects function - #75

Closed
detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-generatefileforprojects-functi-057b9d
Closed

detail-app[bot] wants to merge 1 commit into
mainfrom
detail/dead-code/chore-remove-unused-generatefileforprojects-functi-057b9d

Conversation

@detail-app

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

Copy link
Copy Markdown
Contributor

Removed the module-private generateFileForProjects function from
src/automation/tasks/fileGenerate.ts (39 lines).

This function had no call sites anywhere in the codebase. The default
export's switch on fileType.generationTarget only handles STUDENT
and MENTOR cases — there was no case FileTypeGenerationTarget.PROJECT:
branch that would have invoked it. The PROJECT enum value exists in the
Prisma schema but is referenced nowhere in the codebase. The function was
never wired up since it was first introduced.

History


Dead Code PRs can be configured here.

@augmentcode

augmentcode Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor
🤖 Augment PR Summary

Summary: This PR removes an unused project-scoped file-generation helper.

Changes:

  • Deletes generateFileForProjects from the scheduled file-generation task.
  • Removes its project completion-date checks and duplicate-file guard.
  • Removes the unused Placid generation and database-create path for project files.
Technical Notes: The scheduler dispatches only STUDENT and MENTOR targets, so the deleted private helper had no call site.

🤖 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 29, 2026

Copy link
Copy Markdown
Contributor Author

Closing this pull request because it has had no human activity in 30 days (since 2026-09-28) 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 29, 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