[build-tools] Add eas/posthog_capture_event workflow function#3934
Open
gwdp wants to merge 1 commit into
Open
Conversation
cd23f3a to
5ce0514
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3934 +/- ##
==========================================
+ Coverage 59.18% 59.33% +0.16%
==========================================
Files 935 937 +2
Lines 41075 41153 +78
Branches 8648 8673 +25
==========================================
+ Hits 24306 24416 +110
+ Misses 16674 16643 -31
+ Partials 95 94 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
c08213f to
0d8006c
Compare
Contributor
Author
This was referenced Jul 3, 2026
0d8006c to
5263ea7
Compare
|
✅ Thank you for adding the changelog entry! |
|
Subscribed to pull request
Generated by CodeMention Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead. |
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.

Why
First PostHog workflow step: send an event from a workflow (e.g. mark a deploy).
How
add
eas/posthog_capture_eventfunction; Uses the env varsintegrations:posthog:connectalready sets, orapi_key/hostinputs.No
distinct_id= anonymous event, so CI runs don't create person profiles. Failures fail the step; setignore_error: trueto log a warning and continue instead (same asupload_artifact).Test Plan
CI passes. Ran this workflow against a local — all three jobs green, both events visible in the project's PostHog activity (anonymous one under the
eas-workflowperson), and the ignored failure logs a warning without failing the step:Workflow succeeds
Data appears on my posthog organization