Skip to content

Commit 9dcf4df

Browse files
committed
chore: describe the single capture compliance job and harness 1.13.1
The standalone adapter-test setup installs the zstd extra, matching CI.
1 parent bcc1d53 commit 9dcf4df

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎sdk_compliance_adapter/CONTRIBUTING.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This package contains the PostHog Python SDK compliance adapter used with the Po
44

55
## Running tests
66

7-
Tests run automatically in CI via GitHub Actions against harness **1.1.1**, for both capture protocols. Both jobs opt into the local-evaluation suite and fail on compliance regressions.
7+
Tests run automatically in CI via GitHub Actions against harness **1.13.1**. The compliance job runs once for each capture compression (gzip, deflate and zstd). Each run opts into the local-evaluation suite and fails on compliance regressions.
88

99
Run adapter protocol tests from the repository root in an activated virtual environment:
1010

1111
```bash
12-
python -m pip install -e . -r sdk_compliance_adapter/requirements.txt pytest pytest-timeout pytest-asyncio
12+
python -m pip install -e ".[zstd]" -r sdk_compliance_adapter/requirements.txt pytest pytest-timeout pytest-asyncio
1313
python -m pytest sdk_compliance_adapter/test_adapter.py --timeout=30
1414
```
1515

@@ -44,7 +44,7 @@ docker run -d --name sdk-adapter --network test-network -p 8080:8080 posthog-pyt
4444
docker run --rm \
4545
--name test-harness \
4646
--network test-network \
47-
ghcr.io/posthog/sdk-test-harness:1.1.1 \
47+
ghcr.io/posthog/sdk-test-harness:1.13.1 \
4848
run --adapter-url http://sdk-adapter:8080 --mock-url http://test-harness:8081
4949

5050
# Cleanup

‎sdk_compliance_adapter/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ The adapter implements the standard SDK adapter interface defined in the [test h
3838

3939
### Local feature flag evaluation
4040

41-
Both capture adapters advertise `feature_flags_local_evaluation_v1` for harness
42-
**1.1.1**. The capability versions the adapter protocol and tests both legacy and
41+
The adapter advertises `feature_flags_local_evaluation_v1` for harness
42+
**1.13.1**. The capability versions the adapter protocol and tests both legacy and
4343
explicit property matching; it does not change the SDK's default matching mode.
4444

4545
- `/init` maps optional `personal_api_key` to the SDK's `secret_key`. Ordinary

0 commit comments

Comments
 (0)