Skip to content

Ручные запуски workflow#8

Draft
naspirato wants to merge 2 commits intomainfrom
cursor/workflow-c665
Draft

Ручные запуски workflow#8
naspirato wants to merge 2 commits intomainfrom
cursor/workflow-c665

Conversation

@naspirato
Copy link
Copy Markdown
Owner

Changelog entry

Exclude manual workflow runs from test status aggregation in update_muted_tests.

Changelog category

  • Improvement

Description for reviewers

This change prevents manual workflow runs (e.g., workflow_dispatch with _manual_attempt_N in the pull field) from being included in the aggregation of test statuses. This ensures that update_muted_tests and create_issues_for_muted_tests workflows use more relevant data, excluding potentially skewed results from manual interventions. The filter and (pull IS NULL OR NOT String::Contains(pull, 'manual')) was added to relevant SQL queries.

Open in Web Open in Cursor 

Add filter at query level to exclude runs where pull contains 'manual'
(e.g. 22999633670_manual_attempt_1) in:
- flaky_tests_history.py: when building flaky_tests_window from test_results
- get_muted_tests.py: in get_all_tests for both job_id and branch modes
- upload_testowners.py: when populating testowners from test_runs

Co-authored-by: Kirill Rysin <naspirato@users.noreply.github.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Mar 13, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Add filter to exclude runs where pull contains 'manual'.
Run-tests job_name was already excluded.

Co-authored-by: Kirill Rysin <naspirato@users.noreply.github.com>
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