feat: add Inngest stage D interview assets workflow - #56
Open
StefanoFalco wants to merge 1 commit into
Open
Conversation
Author
|
Final local validation completed for the Stage D PR. I've checked:
I will wait for review before making further changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue:
No linked issue for now. This PR completes the Inngest migration for Stage D of the recruitment automation flow.
Description:
This PR adds the Stage D Inngest workflow for preparing the interview assets after an interview has been confirmed.
The implemented workflow:
INTERVIEW_REPORT_TEMPLATE_ID;INTERVIEW_REPORTS_FOLDER_ID;meetingIdandreportDocIdback into the interview record;This follows the same Inngest architecture introduced in the previous PR for Stages A, B and C. The workflow also keeps dry-run support, so local tests can simulate the Google Docs, Calendar and notification behavior without sending real external requests.
Implementation notes:
The report document is not created as an empty Google Doc. Instead, the workflow copies an existing Google Doc template, as required by the current recruitment process. The source document is configured through:
INTERVIEW_REPORT_TEMPLATE_IDThe destination folder is configured through:
INTERVIEW_REPORTS_FOLDER_IDValidation:
/recruitment/api/inngest-health./recruitment/api/inngest.pnpm lint.pnpm build.devand notmain.