Skip to content

ci: [pre-commit.ci] pre-commit autoupdate - #1333

Merged
myakove-bot1 merged 2 commits into
mainfrom
pre-commit-ci-update-config
Dec 1, 2026
Merged

myakove-bot1 merged 2 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

updates:
- [github.com/pre-commit/mirrors-eslint: v10.15.0 → v10.16.0](pre-commit/mirrors-eslint@v10.15.0...v10.16.0)
@myakove-bot1

Copy link
Copy Markdown

Report bugs in Issues

Welcome! 🎉

This pull request will be automatically processed with the following features:

Note: You are an auto-verified user. Your PRs will be automatically verified and may be auto-merged when all requirements are met.

🔄 Automatic Actions

  • Reviewer Assignment: Reviewers are automatically assigned based on the OWNERS file in the repository root
  • Size Labeling: PR size labels (XS, S, M, L, XL, XXL) are automatically applied based on changes
  • Issue Creation: Disabled for this repository
  • Pre-commit Checks: pre-commit runs automatically if .pre-commit-config.yaml exists
  • Branch Labeling: Branch-specific labels are applied to track the target branch
  • Auto-verification: Auto-verified users have their PRs automatically marked as verified
  • Labels: All label categories are enabled (default configuration)

📋 Available Commands

PR Status Management

  • /wip - Mark PR as work in progress (adds WIP: prefix to title)
  • /wip cancel - Remove work in progress status
  • /hold - Block PR merging (PR author or approvers)
  • /hold cancel - Unblock PR merging (PR author or approvers)
  • /verified - Mark PR as verified
  • /verified cancel - Remove verification status
  • /reprocess - Trigger complete PR workflow reprocessing (useful if webhook failed or configuration changed)
  • /regenerate-welcome - Regenerate this welcome message
  • /security-override - Set security check runs to pass (maintainers only)
  • /security-override cancel - Re-run security checks

Review & Approval

  • /lgtm - Approve changes (looks good to me)
  • /approve - Approve PR (approvers only)
  • /automerge - Enable automatic merging when all requirements are met (effective maintainers and approvers only)
  • /automerge cancel - Remove automerge label (effective maintainers and approvers only)
  • /assign-reviewers - Assign reviewers based on OWNERS file
  • /assign-reviewer @username - Assign specific reviewer
  • /check-can-merge - Check if PR meets merge requirements

Testing & Validation

  • /retest tox - Run Python test suite with tox
  • /retest build-container - Rebuild and test container image
  • /retest python-module-install - Test Python package installation
  • /retest pre-commit - Run pre-commit hooks and checks
  • /retest conventional-title - Validate commit message format
  • /retest all - Run all available tests

Container Operations

  • /build-and-push-container - Build and push container image (tagged with PR number)
    • Supports additional build arguments: /build-and-push-container --build-arg KEY=value

Cherry-pick Operations

  • /cherry-pick <branch> - Schedule cherry-pick to target branch when PR is merged
    • Multiple branches: /cherry-pick branch1 branch2 branch3
  • /cherry-pick-retry <branch> - Retry a failed cherry-pick (merged PRs only)

Branch Management

  • /rebase - Rebase this PR branch onto its base branch

Label Management

  • /<label-name> - Add a label to the PR
  • /<label-name> cancel - Remove a label from the PR

✅ Merge Requirements

This PR will be automatically approved when the following conditions are met:

  1. Approval: /approve from at least one approver
  2. LGTM Count: Minimum 1 /lgtm from reviewers
  3. Status Checks: All required status checks must pass
  4. No Blockers: No wip, hold, has-conflicts labels and PR must be mergeable (no conflicts)
  5. Verified: PR must be marked as verified

📊 Review Process

Approvers and Reviewers

Approvers:

  • myakove
  • rnetser

Reviewers:

  • myakove
  • rnetser
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
  • automerge
AI Features
  • Conventional Title: Mode: fix (EnMaaS/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017)
  • Cherry-Pick Conflict Resolution: Enabled (EnMaaS/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017)
Security Checks
  • Suspicious Path Detection: Monitors paths: .claude/, .vscode/, .cursor/, .devcontainer/, .pi/, .github/workflows/, .github/actions/
  • Committer Identity Check: Verifies last committer matches PR author
  • Mandatory: Security checks block merge (use /security-override to bypass — maintainers only)

💡 Tips

  • WIP Status: Use /wip when your PR is not ready for review
  • Verification: The verified label is removed on new commits unless the push is detected as a clean rebase
  • Cherry-picking: Cherry-pick labels are processed when the PR is merged
  • Container Builds: Container images are automatically tagged with the PR number
  • Permission Levels: Some commands require approver permissions
  • Auto-verified Users: Certain users have automatic verification and merge privileges

For more information, please refer to the project documentation or contact the maintainers.

@rnetser

rnetser commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

/approve
/lgtm

@myakove

myakove commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

/approve
/lgtm
/security-override

@myakove-bot

Copy link
Copy Markdown
Collaborator

Security checks overridden by @myakove. Security check runs set to pass.

@myakove

myakove commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

/approve
/lgtm
/security-override

@deadlock1bot

Copy link
Copy Markdown

Security checks overridden by @myakove. Security check runs set to pass.

myakove added a commit that referenced this pull request Dec 1, 2026
…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>
@myakove-bot1

Copy link
Copy Markdown

Clean rebase detected — no code changes compared to previous head (7761211).
The following labels were preserved: verified, approved-myakove, approved-rnetser, lgtm-rnetser, lgtm-myakove.

@myakove-bot1
myakove-bot1 merged commit 99b07c4 into main Dec 1, 2026
11 checks passed
@myakove-bot1
myakove-bot1 deleted the pre-commit-ci-update-config branch December 1, 2026 10:42
@myakove-bot

Copy link
Copy Markdown
Collaborator

New container for ghcr.io/myk-org/github-webhook-server:latest published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants