Skip to content

Comments

refactor(health): remove dead code and fix Go anti-patterns (#179)#49

Merged
drondeseries merged 1 commit intodrondeseries:fix/allow-healthy-recheckfrom
javi11:main
Dec 29, 2025
Merged

refactor(health): remove dead code and fix Go anti-patterns (#179)#49
drondeseries merged 1 commit intodrondeseries:fix/allow-healthy-recheckfrom
javi11:main

Conversation

@drondeseries
Copy link
Owner

  • Remove unused HealthConfig struct and EventHandler type from checker.go
  • Remove PendingManualChecks field from WorkerStats (no longer used)
  • Rename config.go to controller.go to match its contents
  • Fix context anti-pattern: pass ctx as parameter instead of storing in struct
  • Extract processMetadataForSync helper to reduce code duplication
  • Extract updateSymlinkForMountChange helper for symlink updates
  • Fix UsedFiles comment to match struct name
  • Inline thin config getter wrapper functions

🤖 Generated with Claude Code

- Remove unused HealthConfig struct and EventHandler type from checker.go
- Remove PendingManualChecks field from WorkerStats (no longer used)
- Rename config.go to controller.go to match its contents
- Fix context anti-pattern: pass ctx as parameter instead of storing in struct
- Extract processMetadataForSync helper to reduce code duplication
- Extract updateSymlinkForMountChange helper for symlink updates
- Fix UsedFiles comment to match struct name
- Inline thin config getter wrapper functions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
@drondeseries drondeseries merged commit 1e3e6d0 into drondeseries:fix/allow-healthy-recheck Dec 29, 2025
drondeseries added a commit that referenced this pull request Dec 30, 2025
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