Skip to content

Fix CLI sync command broken after IngestResult refactor - #1

Closed
constkolesnyak wants to merge 1 commit into
ClickHouse:mainfrom
constkolesnyak:fix/cli-sync-ingest-result
Closed

Fix CLI sync command broken after IngestResult refactor#1
constkolesnyak wants to merge 1 commit into
ClickHouse:mainfrom
constkolesnyak:fix/cli-sync-ingest-result

Conversation

@constkolesnyak

Copy link
Copy Markdown
Contributor

Summary

  • Remove extra engine arg passed to build_source_runners() which only accepts 2 positional arguments
  • Replace records_processed / records_skipped with records_ingested to match the IngestResult dataclass

Test plan

  • python -m nerve.cli sync gmail:account@gmail.com runs without errors
  • Verify python -m nerve.cli sync all works with multiple sources enabled

🤖 Generated with Claude Code

- Remove extra `engine` arg passed to `build_source_runners()` (takes 2 args, not 3)
- Replace `records_processed`/`records_skipped` with `records_ingested` to match IngestResult dataclass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@constkolesnyak
constkolesnyak deleted the fix/cli-sync-ingest-result branch March 19, 2026 19:17
@constkolesnyak
constkolesnyak restored the fix/cli-sync-ingest-result branch March 19, 2026 19:17
pufit pushed a commit that referenced this pull request Jun 23, 2026
Notifications sent via NotificationService._deliver_telegram() bypassed
TelegramChannel.send() and went directly through bot.send_message(),
so they were never stored in _message_cache. When a user reacted to a
notification, the reaction handler couldn't find the original text and
only showed "[Reaction: 👎]" without context.

Now _deliver_telegram caches sent messages via channel._cache_message()
so reactions on notifications include the message text.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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