ci: Configure SDK compliance harness options - #251
Conversation
|
| compliance: | ||
| name: PostHog SDK compliance tests | ||
| uses: PostHog/posthog-sdk-test-harness/.github/workflows/test-sdk-action.yml@be8b8d5a3f94a249659844e94832e874f049c1e4 | ||
| uses: PostHog/posthog-sdk-test-harness/.github/workflows/test-sdk-action.yml@fix/sdk-harness-options-20260630 |
There was a problem hiding this comment.
Mutable branch reference in reusable workflow
The harness workflow is now referenced by a branch name (fix/sdk-harness-options-20260630) rather than the commit SHA that was here before. Branch refs are mutable — any push to that branch in the external repo will silently change what runs in CI without a corresponding commit in this repository. Once the harness branch is merged (or the needed options land on a tagged release), this should be pinned back to an immutable SHA or version tag to restore the audit trail and prevent unexpected drift.
posthog-dotnet Compliance ReportDate: 2026-06-30 10:01:52 UTC ✅ All Tests Passed!29/29 tests passed Capture Tests✅ 29/29 tests passed View Details
|
Problem
SDK compliance workflows need explicit harness suite/sdk-type selection and configurable blocking behavior so CI only runs the intended contract checks.
Changes
capture_v0andencoding_gzipcapabilities from the compliance adapter.Testing
dotnet build sdk_compliance_adapter/SdkComplianceAdapter.csproj --no-restore.docker compose configfor the adapter compose file.git diff --check.Release / changeset
No SDK package changeset: this only changes CI/compliance adapter setup, not the published SDK.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Implemented with Pi using dedicated git worktrees. The change was requested to align SDK compliance harness setup across SDK repositories while keeping non-ready SDKs non-blocking.