Skip to content

PIR: Add state engine models for email flexibility#8233

Open
landomen wants to merge 1 commit into
feature/domen/pir-email-flexibility-modelsfrom
feature/domen/pir-email-flexibility-state-engine-models
Open

PIR: Add state engine models for email flexibility#8233
landomen wants to merge 1 commit into
feature/domen/pir-email-flexibility-modelsfrom
feature/domen/pir-email-flexibility-state-engine-models

Conversation

@landomen
Copy link
Copy Markdown
Contributor

@landomen landomen commented Apr 9, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/72649045549333/task/1213886961787938?focus=true

Description

Adds state engine models for email flexibility.

Steps to test this PR

Will be testable on upstream PRs once whole feature is finished.

UI changes

No UI changes


Note

Medium Risk
Adds new state-engine events/side effects for polling email-extracted data, but the runner handler is currently a TODO; if emitted, executions could stall waiting for email data.

Overview
Extends the PIR state engine model to support email confirmation data extraction by adding State.emailExtractedData plus new events (EmailDataReceived, RetryAwaitEmailData) and a new side effect (AwaitEmailData) with polling/timeout metadata.

Updates PirActionsRunner to recognize the new AwaitEmailData side effect and routes it to a new handleAwaitEmailData method (currently unimplemented/TODO).

Reviewed by Cursor Bugbot for commit 4a87e70. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown
Contributor Author

landomen commented Apr 9, 2026

@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from 53a3685 to 1c7b095 Compare April 29, 2026 05:13
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from c34b397 to 8b6b0dd Compare April 29, 2026 05:13
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from 8b6b0dd to 35cd52b Compare May 15, 2026 15:49
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from 1c7b095 to 1715ba3 Compare May 15, 2026 15:49
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from 1715ba3 to e9ab186 Compare May 15, 2026 16:19
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from 35cd52b to 4041d05 Compare May 15, 2026 16:19
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from 4041d05 to b843fe9 Compare May 19, 2026 11:00
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from e9ab186 to a2cd8c4 Compare May 19, 2026 11:00
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from b843fe9 to 27c8bc3 Compare May 21, 2026 17:48
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from a2cd8c4 to 0fcf038 Compare May 21, 2026 17:48
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-models branch from 27c8bc3 to 7eb4a04 Compare May 22, 2026 06:46
@landomen landomen force-pushed the feature/domen/pir-email-flexibility-state-engine-models branch from 0fcf038 to 4a87e70 Compare May 22, 2026 06:46
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