Skip to content

feat: implement durable event activities - #435

Closed
miyaontherelay wants to merge 19 commits into
mainfrom
automation/event-await-flows-overnight-0917
Closed

miyaontherelay wants to merge 19 commits into
mainfrom
automation/event-await-flows-overnight-0917

Conversation

@miyaontherelay

Copy link
Copy Markdown
Contributor

Implements the authored Surface and SDK portion of docs/EVENT-AWAIT.md.

This draft adds Ctx.on() with bounded Activity.next()/close(), validates required idle and deadline, lowers subscription open/next/close messages, strictly decodes wake results, and closes activities with the run lifecycle. It intentionally does not claim the kernel timer, durable stream, Cloud router, ingress replay, dedupe, overflow, or recovery work; those slices are continuing on this branch.

Validation completed:

  • packages/surface: typecheck, build, and focused activity test
  • packages/sdk: typecheck and 34 focused activity/authored-flow tests
  • git diff --check

Detailed commands and results: docs/evidence/event-await-implementation/surface-sdk.md.

Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9

Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9

Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Review swarm: maintainability

No fresh transcript was produced for run 6f3da1db-bca8-4122-94b2-490dd7bee241 (MISSING).

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Review swarm: history

No fresh transcript was produced for run 6f3da1db-bca8-4122-94b2-490dd7bee241 (MISSING).

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Review swarm: structure

No fresh transcript was produced for run 6f3da1db-bca8-4122-94b2-490dd7bee241 (MISSING).

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Review swarm: FAILED

  • maintainability: MISSING
  • history: MISSING
  • structure: MISSING

Cloud run: 6f3da1db-bca8-4122-94b2-490dd7bee241

Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
Session-Id: 01a09c40-ce3b-7f11-a7df-b6b7ccab6fd9
@khaliqgant

Copy link
Copy Markdown
Member

Consolidated into #441, which now targets main and includes this branch’s implementation. Closing the redundant base PR; #441 remains draft while independent review and Cloud integration are outstanding. No branch deleted.

@khaliqgant khaliqgant closed this Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants