Add the MonthlyMeetupDispatch workflow - #3
Open
MasonEgger wants to merge 1 commit into
Open
Conversation
The repo is now pytexas/dispatch, the general communications dispatch service.
A new meetup_dispatch package holds the workflow that creates the external Discord scheduled event ("PyTexas Stage" location, never stage-linked due to the audio bug), then posts the asset handoff to the marketing webhook and the setup summary to the organizers webhook.
Event creation degrades gracefully: without PYTEXAS_DISCORD_BOT_TOKEN the messages still post with a TBD link and the result carries a note.
Inputs are links only to stay under Temporal's 2MB payload cap.
The existing worker registers both workflows; README covers the new workflow, env vars, and the CLI start example.
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.
Summary
First workflow under the repo's new identity as pytexas/dispatch, the communications dispatch service.
meetup_dispatchpackage:MonthlyMeetupDispatchcreates the Discord scheduled event, then posts the asset handoff to the marketing webhook and the setup summary to the organizers webhook.PYTEXAS_DISCORD_BOT_TOKENdegrades gracefully: both messages still post with a TBD event link and the result carries a note.Notes
tests/test_pretix.pyexist on main and are not touched here, sojust checkfails on typecheck before and after this PR.PYTEXAS_MARKETING_WEBHOOK,PYTEXAS_MEETUP_WEBHOOK, and optionallyPYTEXAS_DISCORD_BOT_TOKENadded to the infrastructure repo's sops env for this service.