Skip to content

Ignore failing buildbots that last ran over 14 days ago#415

Open
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:ignore-stale-buildbots
Open

Ignore failing buildbots that last ran over 14 days ago#415
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:ignore-stale-buildbots

Conversation

@hugovk

@hugovk hugovk commented Jun 23, 2026

Copy link
Copy Markdown
Member

Fixes #410.

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, LGTM.

Maybe we could also print out "ignoring N stale builders" or something in check_buildbots as well?

Comment thread buildbotapi.py
JSON = dict[str, Any]

# Builders whose most recent build was more than this many days ago
# are considered inactive and ignored when checking for failures

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# are considered inactive and ignored when checking for failures
# are considered inactive and ignored when checking for failures

Comment thread tests/test_buildbotapi.py
("tests/buildbotapi/success.json", False),
("tests/buildbotapi/failure.json", True),
("tests/buildbotapi/no-builds.json", False),
# Recent builds: judged on their result

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add a case for the cutoff (i.e. FAILURE_COMPLETE_AT + 14 * DAY)

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.

Ignore certain buildbots

2 participants