Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/handle preview for is_test_integration apps #2855

Open
wants to merge 10 commits into
base: master-lts
Choose a base branch
from

Conversation

vanbasten17
Copy link
Contributor

@vanbasten17 vanbasten17 commented Jun 14, 2024

Description

  • Type is_test_integration in Session.
  • Avoid calling botonic-plugin-hubtype-analytics when bot has session.is_test_integration set to true.
  • Do call smart intents inference with use_latest parameter set to false if bot has session.is_test_integration set to true.
  • Flow Builder plugin to fetch only draft version of the flow if bot has session.is_test_integration set to true.
  • FB Plugin and core coordinated to being able to execute a first input with a simulation of the handoff, and a preceding input to emulate the on finish payload after this faked handoff.

Context

This PR contains the needed implementations in the botonic side to avoid test integration bots to produce not expected data and pollute metrics, this is, not calling analytics, faking handoff, ... if bots are of this type.

Testing

The pull request...

  • has unit tests [X]

@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 14, 2024
@vanbasten17 vanbasten17 force-pushed the feat/handle-preview-is_test_integration-providers branch from 32edd31 to 93296f6 Compare June 25, 2024 15:13
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jun 25, 2024
@vanbasten17 vanbasten17 marked this pull request as ready for review June 26, 2024 14:32
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.

None yet

1 participant