Skip to content

fix: sort directories by nested content recency - #195

Merged
Time4Mind merged 1 commit into
mainfrom
fix/recursive-directory-recency
Aug 4, 2026
Merged

fix: sort directories by nested content recency#195
Time4Mind merged 1 commit into
mainfrom
fix/recursive-directory-recency

Conversation

@Time4Mind

Copy link
Copy Markdown
Owner

Что изменено

  • directory browser сортирует папки по самой свежей дате содержательных файлов во вложенном дереве
  • .git учитывается через activity markers, без обхода object storage
  • dependency/cache каталоги и symlink-деревья не влияют на порядок
  • рекурсивный I/O вынесен из Telegram event loop и кэшируется на 30 секунд
  • обход ограничен по глубине и числу записей для защиты от патологических деревьев

Проверки

  • реальный home: cold 1.854s, cached 0.001s
  • uv run ruff check src/ tests/
  • uv run ruff format --check src/ tests/
  • uv run pyright src/ccbot/
  • uv run pytest -q - 974 passed

@Time4Mind
Time4Mind merged commit 96ff9b0 into main Aug 4, 2026
4 checks passed
@Time4Mind
Time4Mind deleted the fix/recursive-directory-recency branch August 4, 2026 06:38
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