Skip to content

test: include rage click config in setup snapshot - #519

Open
marandaneto wants to merge 3 commits into
mainfrom
chore/expand-dependabot-ecosystems
Open

test: include rage click config in setup snapshot#519
marandaneto wants to merge 3 commits into
mainfrom
chore/expand-dependabot-ecosystems

Conversation

@marandaneto

@marandaneto marandaneto commented Aug 7, 2026

Copy link
Copy Markdown
Member

💡 Motivation and Context

The setup request snapshot does not include the default rageClickConfig fields added on main. The test job fails because the serialized setup request now contains these fields.

💚 How did you test it?

  • Ran flutter test test/event_shape_snapshot_test.dart. All 3 tests passed.
  • Ran the full posthog_flutter test suite. All 270 tests passed.
  • Ran git diff --check.
  • Ran autoreview against origin/main at 7aebc53. It reported no actionable findings.

📝 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)

Pi agent updated the explicit setup request fixture with the default rage click configuration. The earlier Dependabot configuration change was reverted because it belongs to another pull request.

@marandaneto marandaneto self-assigned this Aug 7, 2026
@marandaneto
marandaneto marked this pull request as ready for review August 7, 2026 11:45
@marandaneto
marandaneto requested a review from a team as a code owner August 7, 2026 11:45
@greptile-apps

greptile-apps Bot commented Aug 7, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "chore: expand Dependabot ecosystems" | Re-trigger Greptile

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

posthog-flutter Compliance Report

Date: 2026-08-07 12:28:39 UTC
Duration: 96835ms

✅ All Tests Passed!

45/45 tests passed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 142ms
Format Validation.Event Has Uuid 120ms
Format Validation.Event Has Lib Properties 116ms
Format Validation.Distinct Id Is String 114ms
Format Validation.Token Is Present 118ms
Format Validation.Custom Properties Preserved 117ms
Format Validation.Event Has Timestamp 117ms
Retry Behavior.Retries On 503 5330ms
Retry Behavior.Does Not Retry On 400 2117ms
Retry Behavior.Does Not Retry On 401 2118ms
Retry Behavior.Respects Retry After Header 8122ms
Retry Behavior.Implements Backoff 15443ms
Retry Behavior.Retries On 500 5226ms
Retry Behavior.Retries On 502 5224ms
Retry Behavior.Retries On 504 5225ms
Retry Behavior.Max Retries Respected 15445ms
Deduplication.Generates Unique Uuids 126ms
Deduplication.Preserves Uuid On Retry 5222ms
Deduplication.Preserves Uuid And Timestamp On Retry 10336ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5231ms
Deduplication.No Duplicate Events In Batch 125ms
Deduplication.Different Events Have Different Uuids 116ms
Compression.Sends Gzip When Enabled 116ms
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 2117ms
Error Handling.Does Not Retry On 413 2117ms
Error Handling.Retries On 408 5224ms

Feature_Flags Tests

16/16 tests passed

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

@marandaneto
marandaneto marked this pull request as draft August 7, 2026 12:06
@marandaneto
marandaneto marked this pull request as ready for review August 7, 2026 12:16
@greptile-apps

greptile-apps Bot commented Aug 7, 2026

Copy link
Copy Markdown

Reviews (2): Last reviewed commit: "chore: expand Dependabot ecosystems" | Re-trigger Greptile

@marandaneto marandaneto changed the title chore: expand Dependabot ecosystems test: include rage click config in setup snapshot Aug 7, 2026
@marandaneto
marandaneto enabled auto-merge (squash) August 7, 2026 12:24
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