Skip to content

ci: [do not merge] build v6 against unreleased native 4.0 - #709

Draft
turnipdabeets wants to merge 13 commits into
chore/v6-posthog-ios-4from
ci/v6-native-4-prerelease
Draft

turnipdabeets wants to merge 13 commits into
chore/v6-posthog-ios-4from
ci/v6-native-4-prerelease

Conversation

@turnipdabeets

@turnipdabeets turnipdabeets commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Do not merge. This is a throwaway PR to confirm #637's CI passes against the native 4.0 code. Close it once posthog-ios 4.0 and posthog-android 4.0 are published.

#637's native builds and CodeQL fail right now only because no posthog-ios or posthog-android 4.0 release exists yet. This PR points CI at the unreleased branches:

  • iOS / macOS: Package.swift resolves posthog-ios chore/v4-remove-deprecated (chore!: iOS Major Release 4.0 posthog-ios#873, which has capture v1 since #938 merged) through SPM instead of 4.0.0..<5.0.0.
  • Android: build-android and CodeQL (java-kotlin) clone posthog-android chore/v4-remove-deprecated (feat!: posthog-android 4.0 and posthog 7.0 posthog-android#871, which already contains capture v1), publish it to mavenLocal as 4.0.0 with CI=false (posthog-android requires signing when CI=true), and add mavenLocal() through a Gradle init script.
  • CodeQL also runs on PRs into chore/v6-posthog-ios-4, so this PR gets the Analyze jobs.

🤖 Generated with Claude Code

Throwaway, to confirm CI passes before posthog-ios/posthog-android 4.0 publish.
iOS resolves posthog-ios feat/v4-capture-v1 via SPM; Android publishes
posthog-android chore/v4-remove-deprecated to mavenLocal as 4.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

posthog-flutter Compliance Report

Date: 2026-11-12T15:17:11.910753+00:00
Duration: 370142ms

✅ All Tests Passed!

232/232 tests passed


Capture_V1 Tests

✅ 105/105 tests passed

View Details
Test Status Duration
Endpoint And Method.Targets V1 Endpoint ✅ 211ms
Endpoint And Method.Does Not Use Legacy Endpoints ✅ 124ms
Required Headers.Has Authorization Bearer Header ✅ 120ms
Required Headers.Has Content Type Json ✅ 124ms
Required Headers.Has Posthog Sdk Info Format ✅ 118ms
Required Headers.Has Posthog Attempt Header ✅ 117ms
Required Headers.Has Posthog Request Id ✅ 119ms
Required Headers.Has Posthog Request Timestamp ✅ 119ms
Required Headers.Has User Agent ✅ 123ms
Body Format.Body Has Created At And Batch ✅ 138ms
Body Format.No Api Key In Body ✅ 124ms
Body Format.No Sent At In Body ✅ 119ms
Event Format.Event Has Required Root Fields ✅ 121ms
Event Format.Event Uuid Is Valid ✅ 120ms
Event Format.Event Timestamp Is Rfc3339 ✅ 118ms
Event Format.Non Utc Event Timestamp Is Converted To Utc ✅ 117ms
Event Format.Distinct Id Is String ✅ 119ms
Event Format.Distinct Id At Root Not Properties ✅ 120ms
Event Format.Custom Properties Preserved ✅ 119ms
Event Format.Set Properties Preserved ✅ 119ms
Event Format.Set Once Properties Preserved ✅ 118ms
Event Format.Groups Properties Preserved ✅ 117ms
Event Format.Sdk Generates Uuid If Not Provided ✅ 118ms
Event Format.Event Has Required Root Fields Batch ✅ 122ms
Event Format.Event Uuid Is Valid Batch ✅ 123ms
Event Format.Event Timestamp Is Rfc3339 Batch ✅ 121ms
Event Format.Distinct Id Is String Batch ✅ 121ms
Event Format.Distinct Id At Root Not Properties Batch ✅ 121ms
Event Format.Custom Properties Preserved Batch ✅ 121ms
Event Format.Set Properties Preserved Batch ✅ 125ms
Event Format.Set Once Properties Preserved Batch ✅ 120ms
Event Format.Groups Properties Preserved Batch ✅ 119ms
Event Format.Sdk Generates Uuid If Not Provided Batch ✅ 120ms
Batch Behavior.Multiple Events In Single Batch ✅ 125ms
Batch Behavior.Batch Envelope Smoke ✅ 124ms
Batch Behavior.Flush With No Events Sends Nothing ✅ 108ms
Batch Behavior.Flush At Triggers Batch ✅ 1014ms
Batch Behavior.Created At Reflects Batch Creation Time ✅ 121ms
Deduplication.Generates Unique Uuids ✅ 124ms
Deduplication.Different Events Same Content Different Uuids ✅ 119ms
Deduplication.Preserves Uuid On Retry ✅ 5128ms
Deduplication.Preserves Timestamp On Retry ✅ 5122ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5126ms
Deduplication.No Duplicate Events In Batch ✅ 128ms
Header Behavior On Retry.Attempt Header Starts At One ✅ 114ms
Header Behavior On Retry.Attempt Header Increments On Retry ✅ 10126ms
Header Behavior On Retry.Request Id Preserved On Retry ✅ 5121ms
Header Behavior On Retry.Different Requests Have Different Request Ids ✅ 2228ms
Header Behavior On Retry.Request Timestamp Changes On Retry ✅ 5118ms
Response Format Validation.Success Response Has Uuid Keyed Results ✅ 115ms
Response Format Validation.Success Response Has Ok For Each Event ✅ 121ms
Response Format Validation.Success No Retry After When All Ok ✅ 118ms
Response Format Validation.Success Retry After Present When Retry Events ✅ 118ms
Response Format Validation.Success No Retry After When Drop Only ✅ 119ms
Response Format Validation.Response Echoes Request Id ✅ 114ms
Retry Behavior.Retries On 408 ✅ 5120ms
Retry Behavior.Retries On 500 ✅ 5121ms
Retry Behavior.Retries On 503 ✅ 5119ms
Retry Behavior.Retries On 504 ✅ 5121ms
Retry Behavior.Retries On 404 ✅ 5123ms
Retry Behavior.Retries On 429 ✅ 5120ms
Retry Behavior.Retries On 502 ✅ 5118ms
Retry Behavior.Retryable Errors Have Retry After ✅ 2118ms
Retry Behavior.Respects Retry After On Retryable Error ✅ 8123ms
Retry Behavior.Does Not Retry On 400 ✅ 2118ms
Retry Behavior.Does Not Retry On 401 ✅ 2117ms
Retry Behavior.Does Not Retry On 402 ✅ 2118ms
Retry Behavior.Does Not Retry On 413 ✅ 2118ms
Retry Behavior.Does Not Retry On 415 ✅ 2118ms
Retry Behavior.Non Retryable Errors Have No Retry After ✅ 2120ms
Retry Behavior.Implements Backoff ✅ 12128ms
Partial Batch Handling.Handles 200 Full Success ✅ 2117ms
Partial Batch Handling.Handles 200 With All Ok ✅ 3119ms
Partial Batch Handling.Does Not Retry Dropped Events ✅ 3133ms
Partial Batch Handling.Does Not Retry Warning Events ✅ 3121ms
Partial Batch Handling.Prunes Ok Events On Partial Retry ✅ 5124ms
Partial Batch Handling.Prunes Dropped Events On Partial Retry ✅ 5125ms
Partial Batch Handling.Retries Only Retry Events From Partial ✅ 5125ms
Partial Batch Handling.Partial Retry Preserves Uuids ✅ 5120ms
Partial Batch Handling.Partial Retry Attempt Header Increments ✅ 5124ms
Partial Batch Handling.Partial Retry Request Id Preserved ✅ 5124ms
Partial Batch Handling.Respects Retry After On Partial ✅ 5124ms
Partial Batch Handling.Unknown Result Treated As Terminal ✅ 3122ms
Partial Batch Handling.Mixed Ok Drop Warning No Retry ✅ 3125ms
Compression.Sends Gzip Content Encoding ✅ 118ms
Compression.No Content Encoding When Disabled ✅ 115ms
Compression.Compressed Body Is Decompressible ✅ 114ms
Error Handling.Does Not Retry On Unknown 4Xx ✅ 2117ms
Event Options.Cookieless Mode Override ✅ 115ms
Event Options.Disable Skew Correction Override ✅ 115ms
Event Options.Process Person Profile Override ✅ 116ms
Event Options.Product Tour Id Override ✅ 114ms
Event Options.Unset Options Omitted ✅ 115ms
Event Options.Options Override In Batch ✅ 120ms
Event Options.Unknown Option Passes Through ✅ 115ms
Event Options.Option Value Is Not Converted ✅ 114ms
Event Options.Lenient Bool Option Values Are Not Converted ✅ 114ms
Event Options.Option Wins Over Legacy Property ✅ 114ms
Event Options.Legacy Property Fills Unset Option ✅ 114ms
Event Options.Null Option Falls Back To Legacy Property ✅ 115ms
Property Layers.Caller Property Beats Registered Property ✅ 116ms
Property Layers.Before Send Runs Last ✅ 114ms
Fail Open.Empty Api Key Sends Nothing ✅ 1110ms
Fail Open.Personal Api Key Sends Nothing ✅ 1110ms
Geoip And Historical Migration.Historical Migration Absent By Default ✅ 114ms

Capture_Ai_V1 Tests

✅ 110/110 tests passed

View Details
Test Status Duration
Endpoint And Method.Targets V1 Endpoint ✅ 116ms
Endpoint And Method.Does Not Use Legacy Endpoints ✅ 116ms
Endpoint And Method.Capture Does Not Reroute Ai Named Events ✅ 115ms
Endpoint And Method.Capture Ai Does Not Reroute Non Ai Events ✅ 114ms
Lane Isolation.Failing Ai Lane Does Not Delay Analytics ✅ 5127ms
Required Headers.Has Authorization Bearer Header ✅ 116ms
Required Headers.Has Content Type Json ✅ 114ms
Required Headers.Has Posthog Sdk Info Format ✅ 114ms
Required Headers.Has Posthog Attempt Header ✅ 114ms
Required Headers.Has Posthog Request Id ✅ 115ms
Required Headers.Has Posthog Request Timestamp ✅ 114ms
Required Headers.Has User Agent ✅ 114ms
Body Format.Body Has Created At And Batch ✅ 115ms
Body Format.No Api Key In Body ✅ 114ms
Body Format.No Sent At In Body ✅ 114ms
Event Format.Event Has Required Root Fields ✅ 116ms
Event Format.Event Uuid Is Valid ✅ 115ms
Event Format.Event Timestamp Is Rfc3339 ✅ 115ms
Event Format.Non Utc Event Timestamp Is Converted To Utc ✅ 115ms
Event Format.Distinct Id Is String ✅ 115ms
Event Format.Distinct Id At Root Not Properties ✅ 114ms
Event Format.Custom Properties Preserved ✅ 114ms
Event Format.Set Properties Preserved ✅ 115ms
Event Format.Set Once Properties Preserved ✅ 114ms
Event Format.Groups Properties Preserved ✅ 115ms
Event Format.Sdk Generates Uuid If Not Provided ✅ 114ms
Event Format.Event Has Required Root Fields Batch ✅ 119ms
Event Format.Event Uuid Is Valid Batch ✅ 119ms
Event Format.Event Timestamp Is Rfc3339 Batch ✅ 118ms
Event Format.Distinct Id Is String Batch ✅ 119ms
Event Format.Distinct Id At Root Not Properties Batch ✅ 118ms
Event Format.Custom Properties Preserved Batch ✅ 119ms
Event Format.Set Properties Preserved Batch ✅ 119ms
Event Format.Set Once Properties Preserved Batch ✅ 119ms
Event Format.Groups Properties Preserved Batch ✅ 118ms
Event Format.Sdk Generates Uuid If Not Provided Batch ✅ 121ms
Batch Behavior.Multiple Events In Single Batch ✅ 122ms
Batch Behavior.Batch Envelope Smoke ✅ 119ms
Batch Behavior.Flush At Triggers Batch ✅ 1012ms
Batch Behavior.Created At Reflects Batch Creation Time ✅ 115ms
Deduplication.Generates Unique Uuids ✅ 122ms
Deduplication.Different Events Same Content Different Uuids ✅ 117ms
Deduplication.Preserves Uuid On Retry ✅ 5119ms
Deduplication.Preserves Timestamp On Retry ✅ 5121ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry ✅ 5124ms
Deduplication.No Duplicate Events In Batch ✅ 124ms
Header Behavior On Retry.Attempt Header Starts At One ✅ 115ms
Header Behavior On Retry.Attempt Header Increments On Retry ✅ 10125ms
Header Behavior On Retry.Request Id Preserved On Retry ✅ 5117ms
Header Behavior On Retry.Different Requests Have Different Request Ids ✅ 2227ms
Header Behavior On Retry.Request Timestamp Changes On Retry ✅ 5120ms
Response Format Validation.Success Response Has Uuid Keyed Results ✅ 114ms
Response Format Validation.Success Response Has Ok For Each Event ✅ 118ms
Response Format Validation.Success No Retry After When All Ok ✅ 117ms
Response Format Validation.Success Retry After Present When Retry Events ✅ 118ms
Response Format Validation.Success No Retry After When Drop Only ✅ 118ms
Response Format Validation.Response Echoes Request Id ✅ 114ms
Retry Behavior.Retries On 408 ✅ 5118ms
Retry Behavior.Retries On 500 ✅ 5121ms
Retry Behavior.Retries On 503 ✅ 5120ms
Retry Behavior.Retries On 504 ✅ 5121ms
Retry Behavior.Retries On 404 ✅ 5120ms
Retry Behavior.Retries On 429 ✅ 5120ms
Retry Behavior.Retries On 502 ✅ 5121ms
Retry Behavior.Retryable Errors Have Retry After ✅ 2117ms
Retry Behavior.Respects Retry After On Retryable Error ✅ 8133ms
Retry Behavior.Does Not Retry On 400 ✅ 2118ms
Retry Behavior.Does Not Retry On 401 ✅ 2118ms
Retry Behavior.Does Not Retry On 402 ✅ 2118ms
Retry Behavior.Does Not Retry On 413 ✅ 2118ms
Retry Behavior.Does Not Retry On 415 ✅ 2117ms
Retry Behavior.Non Retryable Errors Have No Retry After ✅ 2119ms
Retry Behavior.Implements Backoff ✅ 12127ms
Partial Batch Handling.Handles 200 Full Success ✅ 2117ms
Partial Batch Handling.Handles 200 With All Ok ✅ 3122ms
Partial Batch Handling.Does Not Retry Dropped Events ✅ 3120ms
Partial Batch Handling.Does Not Retry Warning Events ✅ 3120ms
Partial Batch Handling.Prunes Ok Events On Partial Retry ✅ 5123ms
Partial Batch Handling.Prunes Dropped Events On Partial Retry ✅ 5118ms
Partial Batch Handling.Retries Only Retry Events From Partial ✅ 5125ms
Partial Batch Handling.Partial Retry Preserves Uuids ✅ 5121ms
Partial Batch Handling.Partial Retry Attempt Header Increments ✅ 5120ms
Partial Batch Handling.Partial Retry Request Id Preserved ✅ 5122ms
Partial Batch Handling.Respects Retry After On Partial ✅ 5122ms
Partial Batch Handling.Unknown Result Treated As Terminal ✅ 3120ms
Partial Batch Handling.Mixed Ok Drop Warning No Retry ✅ 3124ms
Compression.Sends Gzip Content Encoding ✅ 114ms
Compression.No Content Encoding When Disabled ✅ 114ms
Compression.Compressed Body Is Decompressible ✅ 114ms
Error Handling.Does Not Retry On Unknown 4Xx ✅ 2117ms
Event Options.Cookieless Mode Override ✅ 115ms
Event Options.Disable Skew Correction Override ✅ 113ms
Event Options.Process Person Profile Override ✅ 113ms
Event Options.Product Tour Id Override ✅ 113ms
Event Options.Unset Options Omitted ✅ 113ms
Event Options.Options Override In Batch ✅ 117ms
Event Options.Unknown Option Passes Through ✅ 113ms
Event Options.Option Value Is Not Converted ✅ 114ms
Event Options.Lenient Bool Option Values Are Not Converted ✅ 113ms
Event Options.Option Wins Over Legacy Property ✅ 114ms
Event Options.Legacy Property Fills Unset Option ✅ 113ms
Event Options.Null Option Falls Back To Legacy Property ✅ 114ms
Event Size.Event Over Ceiling Is Not Sent ✅ 4002ms
Event Size.Over Ceiling Drop Is Reported Or Logged Without Content ✅ 2186ms
Event Size.Batches Close Before Byte Target ✅ 6168ms
Geoip And Historical Migration.Historical Migration Absent By Default ✅ 116ms
Property Layers.Caller Property Beats Registered Property ✅ 113ms
Property Layers.Before Send Runs Last ✅ 113ms
Fail Open.Empty Api Key Sends Nothing ✅ 1110ms
Fail Open.Personal Api Key Sends Nothing ✅ 1110ms

Feature_Flags Tests

✅ 17/17 tests passed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id ✅ 20ms
Request Payload.Flags Request Uses V2 Query Param ✅ 16ms
Request Payload.Flags Request Hits Flags Path Not Decide ✅ 12ms
Request Payload.Flags Request Omits Authorization Header ✅ 13ms
Request Payload.Token In Flags Body Matches Init ✅ 11ms
Request Payload.Groups Round Trip ✅ 12ms
Request Payload.Groups Default To Empty Object ✅ 12ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False ✅ 12ms
Request Payload.Disable Geoip Omitted Defaults To False ✅ 12ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key ✅ 12ms
Request Lifecycle.No Flags Request On Init Alone ✅ 6ms
Request Lifecycle.No Flags Request On Normal Capture ✅ 115ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests ✅ 19ms
Request Lifecycle.Mock Response Value Is Returned To Caller ✅ 14ms
Retry Behavior.Retries Flags On 502 ✅ 318ms
Retry Behavior.Retries Flags On 504 ✅ 318ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event ✅ 120ms

turnipdabeets and others added 5 commits November 5, 2026 15:07
…v4-remove-deprecated

posthog-android's publish now signs, and CI has no key. posthog-ios capture v1 (PostHog/posthog-ios#938) has merged into chore/v4-remove-deprecated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… optional

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cript

Gradle rejects a repository added by an init script when settings prefers its own repositories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@turnipdabeets turnipdabeets mentioned this pull request Nov 5, 2026
6 of 17 tasks

This branch has not been deployed

No deployments
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.

1 participant