镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

CJM-141473: Add isBot boolean field in messageInteraction schema - #2192

Merged
waykar-prashant merged 3 commits into
adobe:masterfrom
deepansh90:CJM-141473-isbot-boolean-field
Jun 1, 2026
Merged

waykar-prashant merged 3 commits into
adobe:masterfrom
deepansh90:CJM-141473-isbot-boolean-field

Conversation

@deepansh90

@deepansh90 deepansh90 commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds an additive isBot boolean field to messageInteraction. Set to true
when an interaction is identified as automated/non-human by bot detection.
The interactionType enum (click/open) is preserved unchanged.

Compatibility & migration

  • Additive — existing consumers that ignore isBot are unaffected.
  • Independent of interactionType — click/open retain their meaning.
  • default: false — absent value is equivalent to false. No backfill of
    historical events required.

Additive boolean field for bot detection. Does not change the
interactionType enum — click/open values are preserved unchanged.
Absent field is equivalent to false; no historical backfill needed.
@deepansh90 deepansh90 closed this Jun 1, 2026
@deepansh90 deepansh90 reopened this Jun 1, 2026
drawal90 added 2 commits June 1, 2026 18:34
Rewrite description to semantic-only per CONTRIBUTING.md; migration
notes belong in PR description. Drop #adobe#1 meta:titleId/descriptionId
placeholders following convention of recently merged PRs adobe#2167, adobe#2176.
Modernize message-interaction.example.4.json — demonstrate the new
additive bot-detection pattern (interactionType=open + isBot=true)
in place of the legacy bot_open enum value. Matches PR adobe#2167 pattern
of extending an existing example file with the new field.

@waykar-prashant waykar-prashant left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@waykar-prashant
waykar-prashant merged commit 8fc4b28 into adobe:master Jun 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants