Skip to content

Cases for spec#12 (The local executor) #12

Closed

Description

@marlon-sousa

Cases for itinera-dev/spec#12 (The local executor)

Opened before the proposal is accepted, so the checklist exists while it is evaluated (waiting for spec). Updated on 2026-10-02 to match the agreed design in spec#12. The cases pull request may be merged once spec#12 is status: ready.

What the cases must check

  • run returns the result of a failed or aborted journey instead of throwing.
  • One executor runs two journeys one after another, and the second sees nothing of the first: no data, no statuses, no events.
  • A dispatcher given to the executor is used for both journeys, and the workflow reporters added for the first journey receive none of the second journey's events.
  • A workflow instance that has already run is refused when handed to an executor again: checked by each language's own tests, since many languages make it impossible to write.
  • A synchronous-only executor refuses an asynchronous step, hook or reporter: when the workflow is built, or by aborting with "invalid configuration", depending on the language's configuration-check capability.
  • A call to run while another journey is running on the same executor is refused, with no journey and no events: checked by each language's own tests, for the same reason.

Activity

  1. added
    tier: 1
    implements-proposal
    waiting for spec
    on Oct 2, 2026
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

    implements-proposaltier: 1waiting for spec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions