Workflows as code
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Feature request
Is your feature request related to a problem?
Currently workflows live in posthog. We cannot test their behaviour, ensure that we don't add regressions to them by changing event properties, version control them, nor propagate them through environments
Describe the solution you'd like
We would like to be able to programatically set them up, maybe with posthog SDK.
An example would be programming them in the repository and deploying them with the CI (e.g. github and github action)
Describe alternatives you've considered
Handling them via Infrastructure As Code with something like https://pulumi.khanh.id/docs/providers/posthog
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the PostHog SDK or workflow APIs and the repository's GitHub Actions configuration; the issue names no specific files, tests, or entry points. Define how workflows can be represented in version control, tested for event-property regressions, and deployed across environments, then confirm those paths before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, devops, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100