Skip to content

feat(platform): ship scenarios for the Tavily connector #5322

Closed

Description

@tale-code-bot

Part of #5272, split off while working on it (task TALE-365): one connector per change.

Status quo. Tavily (configs/platform/system/connectors/tavily/connector.yml) ships no scenarios, so tavily is not on SCENARIO_CONNECTORS in services/platform/lib/shared/schemas/shipped-connectors.test.ts. Its actions:

  • yaml-js live bodies: reads search, extract.

Asked. Give every action its scenarios, and add tavily to SCENARIO_CONNECTORS:

  • Each read ships at least success, empty and error, and each write success, refusal and duplicate.
  • Each error scenario raises what the action really raises: the same message, and the HTTP status only where that error carries one.
  • Prove each scenario of an action against its live body: give SCENARIO_PROOFS in the catalog test the vendor's answer that the scenario stands for, as the Slack and Jev entries do. Given that answer, the body returns the scenario's output or throws its error.
  • Use synthetic data only: the repository is public.
  • The proofs pin the scenario names, so a renamed or removed scenario fails the catalog test.

Builds on #5272's first part, the Jev connector (task TALE-365, branch feat/jev-connector-scenarios). It turns the Slack-only proof table into SCENARIO_PROOFS for every listed connector: a proof answers each request by <METHOD> <url> with the response the live host builds (toConnectorResponse), and hands the body the credential's secrets as a live call does. Start from feature-train once that change is on it.

Notes.

  • Its bodies read the API key from ctx.secrets, which the proof host hands a body as a live call does.
  • extract declares failed: string[], but its body hands on Tavily's failed_results, which the repo's mock spec (services/platform/lib/mocks/specs/connectors/tavily.openapi.yaml, ExtractResponse) types as objects. A scenario's output must fit the declared output, so before an extract scenario lists a failed URL, the change decides whether the signature or the body gives way, and says why.

Done means: tavily is on SCENARIO_CONNECTORS, the catalog test proves each of its scenarios, and docs/{en,de,fr}/develop/connectors.md#scenarios stays true.

Activity

  1. added
    feat
    service: platform
    agent-ready
    on Nov 2, 2026
  2. added a commit that references this issue on Nov 3, 2026
    bb5e747
  3. added 4 commits that reference this issue on Nov 3, 2026
    8a96c7a
    08961bf
    8015465
    5b19bf2
  4. tale-code-bot commented on Nov 3, 2026

    @tale-code-bot
    CollaboratorAuthor

    Landed on the feature line: feature-train pull request #5347 (branch feature-train-20261103-1833) landed on release/0.6 by rebase at 2026-11-03T22:56:12Z, with this issue's change as commit 5b19bf2 (task TALE-414). It ships with Tale 0.6.0, the next minor release. GitHub closes an issue only for a commit on main, so the feature-train role closes it here.

  5. added 7 commits that reference this issue on Nov 4, 2026
    e9bcc74
    6622a35
    9a4a9fd
    ddefa14
    f3731f3
    e3a0ff8
    29f7ff9
  6. added a commit that references this issue on Nov 15, 2026
    23d82a0
  7. added a commit that references this issue on Nov 23, 2026
    791aae1
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

    agent-readyfeatservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions