Skip to content

ci: Standardize SDK release failure telemetry#602

Merged
marandaneto merged 1 commit into
mainfrom
sdk-release-failure-telemetry
Jul 2, 2026
Merged

ci: Standardize SDK release failure telemetry#602
marandaneto merged 1 commit into
mainfrom
sdk-release-failure-telemetry

Conversation

@marandaneto

@marandaneto marandaneto commented Jul 2, 2026

Copy link
Copy Markdown
Member

💡 Motivation and Context

Release workflow failures are currently reported with repo-specific PostHog event names or have gaps in pre-publish failure coverage. That would require separate Hog function handling per SDK and makes cross-SDK release failure monitoring harder.

💚 How did you test it?

  • Parsed modified workflow YAML successfully.
  • Ran git diff --check.
  • Verified modified PostHog release failure events use posthog-sdk-github-release-workflow-failure and include the expected metadata.

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

If releasing new changes

  • Ran changeset generation for a release changeset file

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

This PR was prepared with Pi after a human requested consistent SDK release failure telemetry. The change is limited to GitHub Actions release workflow telemetry; no runtime SDK code is changed.

Changes:

  • Updated .github/workflows/release.yml

  • Use the shared posthog-sdk-github-release-workflow-failure event for SDK release failure telemetry.\n- Use latest pinned action versions for PostHog/posthog-github-action and PostHog/.github/.github/actions/slack-thread-reply.n- Include consistent metadata: repository, sdk, jobName, packageName, packageVersion, actionUrl, alertText, and alertContext.\n- Keep actionUrl pointing at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.

@marandaneto marandaneto self-assigned this Jul 2, 2026
@marandaneto marandaneto force-pushed the sdk-release-failure-telemetry branch from ed9fd68 to ecd85fc Compare July 2, 2026 13:25
@greptile-apps

greptile-apps Bot commented Jul 2, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "ci: standardize SDK release failure tele..." | Re-trigger Greptile

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
@marandaneto marandaneto force-pushed the sdk-release-failure-telemetry branch from ecd85fc to 24682b0 Compare July 2, 2026 13:49
@marandaneto marandaneto marked this pull request as ready for review July 2, 2026 13:55
@marandaneto marandaneto requested a review from a team as a code owner July 2, 2026 13:55
@greptile-apps

greptile-apps Bot commented Jul 2, 2026

Copy link
Copy Markdown

Reviews (2): Last reviewed commit: "ci: standardize SDK release failure tele..." | Re-trigger Greptile

@marandaneto marandaneto merged commit 47eca08 into main Jul 2, 2026
16 checks passed
@marandaneto marandaneto deleted the sdk-release-failure-telemetry branch July 2, 2026 15:33
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