Skip to content

chore: run the capture v1 compliance suites from harness 1.23.0 - #1137

Open
eli-r-ph wants to merge 2 commits into
v1from
eli/v1-harness-capture-v1-sync
Open

eli-r-ph wants to merge 2 commits into
v1from
eli/v1-harness-capture-v1-sync

Conversation

@eli-r-ph

@eli-r-ph eli-r-ph commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

💡 Motivation and Context

Harness 1.23.0 (posthog-sdk-test-harness#92) brings the capture_v1 and capture_ai_v1 suites up to date with capture v1: 404, 429 and 502 retries, the SDK's own backoff, duplicates_dropped, the warning result, caller uuids in lowercase, AI routing and lane isolation. It also gates some tests behind new adapter capabilities.

  • Pin the compliance job to harness 1.23.0.

  • Declare event_uuid_override, bounded_retries, disable_geoip and historical_migration, which this adapter already supports. Without them those tests are skipped.

  • Support the newer harness features (posthog-sdk-test-harness#95) and declare them: reported_drops (from on_error), log_capture (the posthog logger), generated_payloads, property_layers (super_properties and before_send) and fail_open.

Draft until harness 1.23.0 is published. The image tag does not exist until posthog-sdk-test-harness#92 merges and is released; if another release lands first, the version moves.

💚 How did you test it?

Ran every harness suite from the #92 branch locally against this adapter on v1 with these capabilities declared: 235/235 passed, including the new tests. Adapter unit tests pass, with the capability assertion extended.

Both v1 suites from the posthog-sdk-test-harness#95 branch, with these features: 223/223.

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

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Claude Code (Claude Opus 5.5) wrote this change as part of the harness update and ran the compliance suites locally against the adapter.

🤖 Generated with Claude Code

Declare the adapter capabilities harness 1.23.0 uses to gate tests:
event_uuid_override, bounded_retries, disable_geoip and historical_migration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eli-r-ph eli-r-ph self-assigned this Oct 27, 2026
…loads, property_layers and fail_open features

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eli-r-ph
eli-r-ph marked this pull request as ready for review October 28, 2026 00:51
@eli-r-ph
eli-r-ph requested a review from a team as a code owner October 28, 2026 00:51

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