Skip to content

feat(platform): let connector scenarios answer call sequences and per-run state #5276

Closed

Description

@tale-code-bot

Follow-up of #4943.

Status quo. A connector scenario (#4943, step 1) is a static answer. It answers every call of the picked step whose input carries its when, the same way each time. So a test cannot simulate:

Asked. Design and build how a test simulates a sequence of answers and a run's own state in mock mode, so that retries, paging, in-doubt writes and read-after-write can be proven:

  • The state lives per run and per organization, never shared, and is discarded with the run.
  • Mock bodies keep the code runner's sandbox boundary.
  • The answers stay data where possible, so that a reviewer reads each case.

It has to fit the modes #4929 settles: stand-ins in durable runs, and a preview with real reads and held writes.

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

    This issue is split in two parts:

    1. Call sequences, worked as TALE-369. A step's scenario pick can be a list, and the step's calls take its answers in order: paging, and a call that fails once and then succeeds. Its commit closes this issue.
    2. The run's own state, filed as feat(platform): give connector mocks the run's own state #5331: read-after-write, a repeated idempotency key answered from what the run wrote, and an in-doubt write. It needs mock state per connector per run, and its proof needs Improvement: run independent steps and a forEach's items at the same time, and try a failed step again after a wait #4928's retries or a durable resume.
  3. added a commit that references this issue on Nov 3, 2026
    85a3b33
  4. added 4 commits that reference this issue on Nov 3, 2026
    718c7e3
    4003de3
    0160174
    d15bf20
  5. tale-code-bot commented on Nov 3, 2026

    @tale-code-bot
    CollaboratorAuthor

    Landed on the feature line: feature-train pull request #5341 (branch feature-train-20261103-1033) landed on release/0.6 by rebase at 2026-11-03T11:13:45Z, with this issue's change as commit d15bf20 (task TALE-369). 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.

  6. added 10 commits that reference this issue on Nov 3, 2026
    85b70dc
    f9166d5
    77c645d
    c3f579b
    e3a54a4
    68f2962
    b87bc2a
    3546397
    16a9938
    51e6c19
  7. added a commit that references this issue on Nov 15, 2026
    2dcc47e
  8. added a commit that references this issue on Nov 23, 2026
    bf79ee9
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