Skip to content

Conversation

@mverteuil
Copy link
Owner

@mverteuil mverteuil commented Oct 23, 2025

Summary

Further increases the pyleak blocking threshold from 2.0s to 5.0s to address intermittent CI failures.

Problem

PR #10 increased the threshold from 0.5s to 2.0s, which improved CI reliability but still resulted in occasional failures on slower GitHub Actions runners.

Solution

Increase --blocking-threshold from 2.0s to 5.0s, providing 10x the original tolerance while still catching genuine blocking issues.

Changes

  • .github/workflows/ci.yml: Updated pytest command from --blocking-threshold=2.0 to --blocking-threshold=5.0

Testing

  • Pre-commit checks: ✅ Passed
  • CI will validate this change automatically

Impact

  • Provides more headroom for slower CI runners
  • Reduces false positives from pyleak blocking detection
  • Still effective at catching blocking operations >5 seconds
  • No changes to actual application code

The initial increase to 2.0s (PR #10) still resulted in intermittent
CI failures. Increasing to 5.0s to provide more headroom for slower
GitHub Actions runners while still catching genuine blocking issues.
@mverteuil mverteuil merged commit 018c19c into main Oct 23, 2025
3 checks passed
@mverteuil mverteuil deleted the feature/pyleak-ci-fix branch October 23, 2025 21:02
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.

2 participants