Repository navigation
chore: remove mutation testing setup - #1239
marandaneto wants to merge 1 commit into
Conversation
posthog-python Compliance ReportDate: 2026-11-12T11:13:59.839812+00:00 ✅ All Tests Passed!270/270 tests passed Capture_V1 Tests✅ 95/95 tests passed View Details
Capture_Ai Tests✅ 5/5 tests passed View Details
Feature_Flags Tests✅ 17/17 tests passed View Details
Feature_Flags_V4 Tests✅ 149/149 tests passed View Details
Feature_Flags_Local_Evaluation Tests✅ 4/4 tests passed View Details
|
PR overviewNo security issues were found in this pull request. Reviews
|
SDK performance: posthog-python1 change worth reviewing: 1 observed regression. Flags require at least a 5% change in the median and all six pairs agreeing on direction. This is a noise filter, not proof of a performance change or a CI gate.
View all results
Values are medians of paired measurements. Not flagged does not mean unchanged. Unavailable means a measurement could not be provided, not zero. Estimated allocation measurements retain their instrumentation uncertainty. RSS measures the whole process, not just SDK allocations; observed peaks are sampled checkpoints. Paired ranges in the diagnostics describe variability, not confidence intervals. Each shard uses its own runner; compare Before PR against With PR within a row, not across shards. Compared 102 metric rows; 102 rows shown in all results. Omitted or shortened data remain in |
💡 Motivation and Context
Remove the mutation-testing setup we no longer want to maintain. CI currently installs and runs mutmut when the targeted utils files change.
This removes the mutmut run and cache steps, its configuration, and its suppression comments. The existing utils complexity and coverage check stays under the name "Utils quality". Regular unit tests and SDK behavior are unchanged.
💚 How did you test it?
uv run --no-sync pytest posthog/test/test_utils.py posthog/test/test_size_limited_dict.py --timeout=30 -q.posthog/utils.py.actionlint .github/workflows/ci.ymlandgit diff --checkpassed.1751aedfa4c130ac4b8a354376574bd673f66523.📝 Checklist
If releasing new changes
sampo addto generate a changeset file🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Pi used local file tools, Git, uv, GitHub CLI, and autoreview in a dedicated worktree. The change removes mutation testing while preserving regular tests and the separate utils quality check. No test cases, fixtures, or pytest discovery settings changed. Human review is required.