Skip to content

feat(platform): ship scenarios for the Gmail connector #5312

Closed

Description

@tale-code-bot

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

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

  • yaml-js live bodies: reads list_messages, get_message, get_attachments, search_messages, get_profile, list_labels, get_thread, list_drafts, get_attachment; writes send_message.

Asked. Give every action its scenarios, and add gmail 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.

  • get_message, get_attachments and get_attachment keep attachments with ctx.files.store, which the proof host does not hand a body yet.

Done means: gmail 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
    e674151
  3. added 2 commits that reference this issue on Nov 4, 2026
    cdbe0f7
    1c8eec8
  4. tale-code-bot commented on Nov 4, 2026

    @tale-code-bot
    CollaboratorAuthor

    Landed on the feature line: feature-train pull request #5351 (branch feature-train-20261104-0252) landed on release/0.6 by rebase at 2026-11-04T03:57:59Z, with this issue's change as commit 1c8eec8 (task TALE-404). 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 6 commits that reference this issue on Nov 4, 2026
    f31b67c
    d42ec6d
    7f6095e
    1a0dbf7
    a2357d8
    668fc48
  6. added a commit that references this issue on Nov 15, 2026
    5cc0e1e
  7. added a commit that references this issue on Nov 23, 2026
    08547b9
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