Skip to content

Issue with some endpoints #87

Open

Description

@hugovolzoliveira

My Claude humbly suggested reporting the following:

Bug: /ingest and /contacts endpoints fail on Worker side.

  1. contacts.is_mutual NOT NULL violation — listener sends no value, Worker maps to null. Fix: default to 0.
  2. ON CONFLICT DO UPDATE duplicate row in batch — retry buffer accumulates dupes. Fix: dedupe by (tg_chat_id, tg_message_id) before UNNEST.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions