You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(platform): ship connector scenarios for every shipped connector #5272
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.
Split into one issue per connector, as this issue asks (task TALE-365):
Jev (jev): worked on TALE-365, branch feat/jev-connector-scenarios, for feature-train. Its commit closes this issue. It also turns the Slack-only proof table into SCENARIO_PROOFS, so the catalog test proves the scenarios of every listed connector against its live body.
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.
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.
Activity
tale-code-bot commentedon Nov 2, 2026
Split into one issue per connector, as this issue asks (task TALE-365):
jev): worked on TALE-365, branchfeat/jev-connector-scenarios, forfeature-train. Its commit closes this issue. It also turns the Slack-only proof table intoSCENARIO_PROOFS, so the catalog test proves the scenarios of every listed connector against its live body.automation): feat(platform): ship scenarios for the Automation connector #5304confluence): feat(platform): ship scenarios for the Confluence connector #5305conversation): feat(platform): ship scenarios for the Conversations connector #5306discord): feat(platform): ship scenarios for the Discord connector #5307document): feat(platform): ship scenarios for the Documents connector #5308forgejo): feat(platform): ship scenarios for the Forgejo connector #5309github): feat(platform): ship scenarios for the GitHub connector #5310glitchtip): feat(platform): ship scenarios for the GlitchTip connector #5311gmail): feat(platform): ship scenarios for the Gmail connector #5312google-drive): feat(platform): ship scenarios for the Google Drive connector #5313http): feat(platform): ship scenarios for the HTTP connector #5314imap-smtp): feat(platform): ship scenarios for the IMAP / SMTP Mailbox connector #5315knowledge): feat(platform): ship scenarios for the Knowledge connector #5316notify): feat(platform): ship scenarios for the Notify connector #5317outlook): feat(platform): ship scenarios for the Microsoft Outlook connector #5318sandbox): feat(platform): ship scenarios for the Sandbox scripts connector #5319shopify): feat(platform): ship scenarios for the Shopify connector #5320task): feat(platform): ship scenarios for the Tasks connector #5321tavily): feat(platform): ship scenarios for the Tavily connector #5322teams): feat(platform): ship scenarios for the Microsoft Teams connector #5323twilio): feat(platform): ship scenarios for the Twilio connector #5324webdav): feat(platform): ship scenarios for the WebDAV Files connector #5325Each part builds on the Jev change and starts from
feature-trainonce 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, anddocs/{en,de,fr}/develop/connectors.md#scenariosthen 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.feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
tale-code-bot commentedon Nov 2, 2026
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 onmain, so the feature-train role closes this one. Board task: TALE-365.feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Jev connector
feat(platform): ship scenarios for the Confluence connector
feat(platform): ship scenarios for the Jev connector