Skip to content

feat(platform): ship connector scenarios for every shipped connector #5272

Closed

Description

@tale-code-bot

Follow-up of #4943 (step 1 landed the concept on the feature line).

Status quo. A connector action can ship named scenarios beside its mock (packages/shared/src/schemas/connectors.ts, connectorScenarioSchema): each one is a name, a kind (success, empty, error, refusal, duplicate), a description, an optional when (the input members a call must carry), and an output or an error ({message, status?}). A test picks one per step (scenarios: {<node>: <name>}). The catalog test services/platform/lib/shared/schemas/shipped-connectors.test.ts keeps the list SCENARIO_CONNECTORS, which so far holds only slack. A connector on that list ships at least success, empty and error on every read, and success, refusal and duplicate on every write. A connector that ships them on every action must join the list, so the list only grows. Slack is the reference: configs/platform/system/connectors/slack/connector.yml, with its scenarios proven against its live body.

Asked. Give every other shipped connector its scenarios, one connector per change, and add each one to SCENARIO_CONNECTORS as it lands:

  • Each error scenario raises what the live body really raises: the same message, and the HTTP status only where the body attaches one.
  • Prove the scenarios against the live body the way the Slack table in shipped-connectors.test.ts does.
  • Use synthetic data only.
  • Saved tests pick scenarios by name, and a renamed or removed scenario fails every test that picks it (BENCH_UNKNOWN_SCENARIO), which blocks those automations' deploys. So as each connector joins the list, pin its scenario names in the catalog test, so that a rename or a removal fails there.

The connectors left are automation, confluence, conversation, discord, document, forgejo, github, glitchtip, gmail, google-drive, http, imap-smtp, jev, knowledge, notify, outlook, sandbox, shopify, task, tavily, teams, twilio and webdav.

Done means: every shipped connector is on SCENARIO_CONNECTORS; docs/{en,de,fr}/develop/connectors.md#scenarios stays true.

Activity

  1. added
    feat
    service: platform
    agent-ready
    on Nov 1, 2026
  2. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    CollaboratorAuthor

    Split into one issue per connector, as this issue asks (task TALE-365):

    Each part builds on the Jev change and starts from feature-train once it is there. Eleven connectors are native, and Forgejo and GitHub have native actions too. A native action has no live body, so the first of those parts to land also decides how the catalog test proves a native action's scenarios, and docs/{en,de,fr}/develop/connectors.md#scenarios then says how. Each part's notes name what its connector needs beyond Jev's proof host (ctx.endpoint, ctx.files) and where its declared output and its vendor's answer may disagree.

  3. added a commit that references this issue on Nov 2, 2026
    51b8899
  4. added 2 commits that reference this issue on Nov 2, 2026
    5c513e6
    dd9eedb
  5. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    CollaboratorAuthor

    Landed on release/0.6, the 0.6 feature line, with feature train #5329 as dd9eedb (feat(platform): ship scenarios for the Jev connector); it ships with Tale 0.6.0. GitHub closes issues only for commits on main, so the feature-train role closes this one. Board task: TALE-365.

  6. added 12 commits that reference this issue on Nov 3, 2026
    8a557db
    4af84fc
    0b0c808
    e4fd90b
    3eb02a3
    f008456
    63103f8
    66d2101
    ebe1561
    bd0012c
    9442e28
    231c312
  7. added 2 commits that reference this issue on Nov 15, 2026
    191d3c8
    9debeb5
  8. added a commit that references this issue on Nov 23, 2026
    6549db8
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