Skip to content

ci: update SDK harness to 0.9.0#192

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#192
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

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

@github-actions

Copy link
Copy Markdown
Contributor

posthog-php Compliance Report

Date: 2026-06-30 10:35:58 UTC
Duration: 95074ms

✅ All Tests Passed!

45/45 tests passed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 12ms
Format Validation.Event Has Uuid 5ms
Format Validation.Event Has Lib Properties 6ms
Format Validation.Distinct Id Is String 6ms
Format Validation.Token Is Present 6ms
Format Validation.Custom Properties Preserved 5ms
Format Validation.Event Has Timestamp 6ms
Retry Behavior.Retries On 503 5316ms
Retry Behavior.Does Not Retry On 400 2009ms
Retry Behavior.Does Not Retry On 401 2009ms
Retry Behavior.Respects Retry After Header 8014ms
Retry Behavior.Implements Backoff 15730ms
Retry Behavior.Retries On 500 5115ms
Retry Behavior.Retries On 502 5115ms
Retry Behavior.Retries On 504 5115ms
Retry Behavior.Max Retries Respected 16529ms
Deduplication.Generates Unique Uuids 12ms
Deduplication.Preserves Uuid On Retry 5113ms
Deduplication.Preserves Uuid And Timestamp On Retry 10322ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5117ms
Deduplication.No Duplicate Events In Batch 12ms
Deduplication.Different Events Have Different Uuids 7ms
Compression.Sends Gzip When Enabled 6ms
Batch Format.Uses Proper Batch Structure 6ms
Batch Format.Flush With No Events Sends Nothing 3ms
Batch Format.Multiple Events Batched Together 10ms
Error Handling.Does Not Retry On 403 2008ms
Error Handling.Does Not Retry On 413 2009ms
Error Handling.Retries On 408 5115ms

Feature_Flags Tests

16/16 tests passed

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

@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 e1eeb70 into main Jun 30, 2026
24 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