Skip to content

[AgentCore session] E5: Add agentcore_session with the session lifecycle #943

Closed

Description

@ParidelPooya

Part of the agentcore_session epic.

What

Add agentcore_session(context, name, config, handler). It creates the session ID in a step, runs the handler in a child context, and stops the session in finally. No invoke yet.

Done when

Tests: the handler result is returned; the session is stopped after success and after a handler error; a stop failure does not hide the result.

Depends on

#939, #942

Keep the pull request to this item only. The twin item is in aws/aws-durable-execution-sdk-js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions