Skip to content

feat: upgrades & fixes - #12

Merged
hay-kot merged 8 commits into
mainfrom
feat/upgrades
Aug 23, 2025
Merged

hay-kot merged 8 commits into
mainfrom
feat/upgrades

Conversation

@hay-kot

@hay-kot hay-kot commented Aug 22, 2025

Copy link
Copy Markdown
Owner

No description provided.

- Fix cache loading bug where Find() always returned ErrCacheNotFound
- Replace Must() panic-based error handling with proper error returns
- Fix directory walking race condition in finder logic
- Add proper resource management with deferred file closing
- Remove unused struct fields (MaxRecursion, CurrentRecursion)
- Add comprehensive golangci-lint configuration
- Fix all linting issues: unchecked errors, unused variables
- Add config package tests: Default(), Read(), Write(), JSON marshaling
- Add UI table tests: alignment, padding, edge cases, multi-column support
- Add gofind tests: ParsePath() tilde expansion, Match struct operations
- Add cache tests: Set/Find operations, expiration, error handling
- Achieve 100% coverage on ui package, 44% on config, 25% on gofind
- All tests passing with proper error handling and edge case coverage
@hay-kot
hay-kot merged commit 00c9dab into main Aug 23, 2025
1 check passed
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