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

fix(watch): not_running is the new queued #221

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

lizthegrey
Copy link
Member

@lizthegrey lizthegrey commented Oct 4, 2024

Which problem is this PR solving?

We are seeing premature buildevents terminations because we see all jobs succeeded or failed, and ignore the not_running.

Short description of the changes

Treat the new not_running status the same as "queued".

How to verify

https://app.circleci.com/pipelines/github/honeycombio/hound/80521/workflows/d0f8b476-2b41-4aeb-93b0-428c3c46ed9c/jobs/1341656?invite=true#step-102-5277_75 jobs like this should no longer show "succeeded" when there are still jobs left "not_running"

we should stop seeing async traces like https://ui-dogfood.honeycomb.io/prod/environments/prod/datasets/build-events/result/Hne5hzeBSEu/trace/bP2CUXc6L59?source=query&span=d0f8b476-2b41-4aeb-93b0-428c3c46ed9c

We are seeing premature buildevents terminations because we see all jobs succeeded or failed, and ignore the not_running.
@lizthegrey lizthegrey requested a review from a team as a code owner October 4, 2024 19:40
@TylerHelmuth TylerHelmuth added the status: oncall Flagged for awareness from Honeycomb Telemetry Oncall label Oct 4, 2024
cmd_watch.go Outdated Show resolved Hide resolved
Co-authored-by: Jamie Danielson <[email protected]>
@JamieDanielson
Copy link
Contributor

For posterity, job status possible responses

Enum: "success" "running" "not_run" "failed" "retried" "queued" "not_running" "infrastructure_fail" "timedout" "on_hold" "terminated-unknown" "blocked" "canceled" "unauthorized"

@JamieDanielson JamieDanielson added type: bug Something isn't working version: bump patch A PR with release-worthy changes and is backwards-compatible. labels Oct 16, 2024
@JamieDanielson JamieDanielson merged commit ef81eda into main Oct 16, 2024
5 checks passed
@JamieDanielson JamieDanielson deleted the lizf.fix-circle branch October 16, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: oncall Flagged for awareness from Honeycomb Telemetry Oncall type: bug Something isn't working version: bump patch A PR with release-worthy changes and is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants