Repository navigation
ci: [pre-commit.ci] pre-commit autoupdate - #1333
Conversation
updates: - [github.com/pre-commit/mirrors-eslint: v10.15.0 → v10.16.0](pre-commit/mirrors-eslint@v10.15.0...v10.16.0)
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features:
🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/approve |
|
/approve |
|
Security checks overridden by @myakove. Security check runs set to pass. |
|
/approve |
|
Security checks overridden by @myakove. Security check runs set to pass. |
…ation test (#1335) ## Summary Removes the flaky `file_ts_bounds` cross-file millisecond/microsecond timestamp ordering assertions from `TestHelpers.test_get_logger_with_params_multiprocess_rotation_concurrency` in `webhook_server/tests/test_helpers.py`. ## Root cause Python's `logging` captures `LogRecord.created` before `MultiProcessRotatingFileHandler` acquires its inter-process file lock and performs writes or rollovers. With 4 forked workers logging concurrently, a worker can construct a record, wait on the lock while another worker writes a newer record and rotates the log, and then flush its slightly older timestamp into the new file. That caused intermittent failures in CI (seen on PR #1333, check run `142150288731`). Cross-worker wall-clock timestamps are intentionally not compared across rotated files because `LogRecord.created` reflects pre-lock record creation time rather than write order. ## What remains verified - Every rotated backup and base log file is non-empty (`assert lines`). - Every line matches the expected log format with a valid ISO-8601 timestamp (`datetime.fromisoformat(ts_str)`). - Per-worker `msg=` sequence numbers strictly increase across rotated files into the base log, verifying per-worker chronological order across rotations without clock comparisons. - Post-barrier `msg=059` final markers land in the base log only, and all rotated backups exceed 1000 bytes. ## Verification - `test_get_logger_with_params_multiprocess_rotation_concurrency` (20x loop): 20/20 passed - `uvx prek run --all-files`: passed - `uvx tox`: `unused-code` OK, `unittests` 2499 passed (91.59% coverage) Fixes #1334 --- *Assisted-by: PI (gemini-4-neon)* Signed-off-by: Meni Yakove <myakove@gmail.com>
|
Clean rebase detected — no code changes compared to previous head ( |
|
New container for ghcr.io/myk-org/github-webhook-server:latest published |
updates: