Skip to content

ci: update SDK harness to 0.9.0#204

Merged
marandaneto merged 1 commit into
mainfrom
ci/update-sdk-harness-0.9.0
Jun 30, 2026
Merged

ci: update SDK harness to 0.9.0#204
marandaneto merged 1 commit into
mainfrom
ci/update-sdk-harness-0.9.0

Conversation

@marandaneto

@marandaneto marandaneto commented Jun 30, 2026

Copy link
Copy Markdown
Member

💡 Motivation and Context

Update this SDK's compliance setup to use posthog-sdk-test-harness 0.9.0. The reusable workflow is pinned to the 0.9.0 release commit SHA (
68498bcf3ae95ac941476e6ca3d42d6086e1c7fd) instead of a tag, while the harness Docker image uses the published 0.9.0 image tag.

💚 How did you test it?

  • Confirmed the PR branch has no remaining references to the previous harness workflow SHA or 0.8.0 harness image/version.
  • Parsed changed GitHub Actions workflow YAML locally where workflow files changed.

📝 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 pnpm changeset to generate a changeset file

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Updated SDK compliance harness references only. Kept the change limited to workflow, Docker Compose, and local compliance docs where those references existed.

@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "ci: update SDK harness to 0.9.0" | Re-trigger Greptile

@github-actions

Copy link
Copy Markdown

posthog-ruby Compliance Report

Date: 2026-06-30 10:36:29 UTC
Duration: 98302ms

✅ All Tests Passed!

45/45 tests passed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 109ms
Format Validation.Event Has Uuid 106ms
Format Validation.Event Has Lib Properties 109ms
Format Validation.Distinct Id Is String 107ms
Format Validation.Token Is Present 107ms
Format Validation.Custom Properties Preserved 107ms
Format Validation.Event Has Timestamp 107ms
Retry Behavior.Retries On 503 5413ms
Retry Behavior.Does Not Retry On 400 2109ms
Retry Behavior.Does Not Retry On 401 2108ms
Retry Behavior.Respects Retry After Header 8115ms
Retry Behavior.Implements Backoff 15622ms
Retry Behavior.Retries On 500 5212ms
Retry Behavior.Retries On 502 5212ms
Retry Behavior.Retries On 504 5212ms
Retry Behavior.Max Retries Respected 15709ms
Deduplication.Generates Unique Uuids 111ms
Deduplication.Preserves Uuid On Retry 5212ms
Deduplication.Preserves Uuid And Timestamp On Retry 10413ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5214ms
Deduplication.No Duplicate Events In Batch 111ms
Deduplication.Different Events Have Different Uuids 107ms
Compression.Sends Gzip When Enabled 106ms
Batch Format.Uses Proper Batch Structure 106ms
Batch Format.Flush With No Events Sends Nothing 5ms
Batch Format.Multiple Events Batched Together 110ms
Error Handling.Does Not Retry On 403 2108ms
Error Handling.Does Not Retry On 413 2108ms
Error Handling.Retries On 408 5212ms

Feature_Flags Tests

16/16 tests passed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id 109ms
Request Payload.Flags Request Uses V2 Query Param 108ms
Request Payload.Flags Request Hits Flags Path Not Decide 109ms
Request Payload.Flags Request Omits Authorization Header 107ms
Request Payload.Token In Flags Body Matches Init 106ms
Request Payload.Groups Round Trip 107ms
Request Payload.Groups Default To Empty Object 107ms
Request Payload.Person Properties Distinct Id Auto Populated When Caller Omits It 107ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False 107ms
Request Payload.Disable Geoip Omitted Defaults To False 107ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key 107ms
Request Lifecycle.No Flags Request On Init Alone 3ms
Request Lifecycle.No Flags Request On Normal Capture 106ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests 110ms
Request Lifecycle.Mock Response Value Is Returned To Caller 106ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event 108ms

@marandaneto marandaneto self-assigned this Jun 30, 2026
@marandaneto marandaneto marked this pull request as ready for review June 30, 2026 11:16
@marandaneto marandaneto requested a review from a team as a code owner June 30, 2026 11:16
@marandaneto marandaneto merged commit d9279e2 into main Jun 30, 2026
21 checks passed
@marandaneto marandaneto deleted the ci/update-sdk-harness-0.9.0 branch June 30, 2026 11:26
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