Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "consecutive_failure_count" field to TickData #26790

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gibsondan
Copy link
Member

@gibsondan gibsondan commented Jan 2, 2025

Summary & Motivation

Add a field to TickData capturing the number of consecutive times that this schedule or sensor has failed (across multiple ticks). This differs from the existing failure_count field, which tracks whether or not a particular tick should retry or not before moving on. This allows you to determine when a given sensor has failed more than a certain number of times consecutively.

How I Tested These Changes

New test cases

Changelog

NOCHANGELOG

@gibsondan gibsondan changed the title consecutive failure count Add a "consecutive_failure_count" field to TickData Jan 2, 2025
@gibsondan gibsondan force-pushed the consecutivefailurecount branch from 870b8ed to 54103d1 Compare January 2, 2025 20:44
> Insert changelog entry or delete this section.
@gibsondan gibsondan force-pushed the consecutivefailurecount branch 2 times, most recently from 42c72ee to c6a97b0 Compare January 2, 2025 22:25
@gibsondan gibsondan marked this pull request as ready for review January 2, 2025 22:27
@gibsondan gibsondan requested review from prha and OwenKephart January 2, 2025 22:27
> Insert changelog entry or delete this section.
@gibsondan gibsondan force-pushed the consecutivefailurecount branch from c6a97b0 to 7bf40f2 Compare January 3, 2025 15:15
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.

1 participant