Skip to content

0.1.0 batch 3: harden Activation and Call lifecycle #104

Description

@suraciii

Goal

Give each Activation one reliable lifecycle and Call admission model.

Scope

  • Use a Runtime-owned activation context.
  • Copy the starting Request Context into activation.
  • Stop a canceled queued Call before method entry.
  • Add Deactivate on Idle and ApplicationRequested.
  • Contain factory, lifecycle hook, and observer panics.
  • Fail queued Calls after panic or untrusted State.

Acceptance

  • Deterministic race tests cover cancellation against method entry.
  • Requested deactivation sends the next Call to a new Activation.
  • Callback panic cannot stop the process or skip Runtime cleanup.
  • State transition mutation checks fail at the intended assertions.
  • make ci passes.

References

design/release-0.1.0.md
design/runtime.md
design/scheduling.md
design/request-context.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions