Skip to content

ci: update SDK harness to 0.9.0 - #458

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

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-flutter Compliance Report

Date: 2026-06-30 10:37:03 UTC
Duration: 96915ms

✅ All Tests Passed!

45/45 tests passed


Capture Tests

✅ 29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields ✅ 141ms
Format Validation.Event Has Uuid ✅ 121ms
Format Validation.Event Has Lib Properties ✅ 117ms
Format Validation.Distinct Id Is String ✅ 116ms
Format Validation.Token Is Present ✅ 116ms
Format Validation.Custom Properties Preserved ✅ 118ms
Format Validation.Event Has Timestamp ✅ 118ms
Retry Behavior.Retries On 503 ✅ 5334ms
Retry Behavior.Does Not Retry On 400 ✅ 2121ms
Retry Behavior.Does Not Retry On 401 ✅ 2120ms
Retry Behavior.Respects Retry After Header ✅ 8128ms
Retry Behavior.Implements Backoff ✅ 15451ms
Retry Behavior.Retries On 500 ✅ 5228ms
Retry Behavior.Retries On 502 ✅ 5228ms
Retry Behavior.Retries On 504 ✅ 5227ms
Retry Behavior.Max Retries Respected ✅ 15448ms
Deduplication.Generates Unique Uuids ✅ 126ms
Deduplication.Preserves Uuid On Retry ✅ 5224ms
Deduplication.Preserves Uuid And Timestamp On Retry ✅ 10338ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5232ms
Deduplication.No Duplicate Events In Batch ✅ 126ms
Deduplication.Different Events Have Different Uuids ✅ 117ms
Compression.Sends Gzip When Enabled ✅ 117ms
Batch Format.Uses Proper Batch Structure ✅ 114ms
Batch Format.Flush With No Events Sends Nothing ✅ 108ms
Batch Format.Multiple Events Batched Together ✅ 124ms
Error Handling.Does Not Retry On 403 ✅ 2116ms
Error Handling.Does Not Retry On 413 ✅ 2118ms
Error Handling.Retries On 408 ✅ 5225ms

Feature_Flags Tests

✅ 16/16 tests passed

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

@marandaneto marandaneto self-assigned this Jun 30, 2026
@marandaneto
marandaneto marked this pull request as ready for review June 30, 2026 11:17
@marandaneto
marandaneto requested a review from a team as a code owner June 30, 2026 11:17
@marandaneto
marandaneto merged commit 08a49a5 into main Jun 30, 2026
28 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