Repository navigation
Enhance fly health output and auth handling - #9644
Merged
Merged
Conversation
…parate function Signed-off-by: IvanChalukov <[email protected]>
Signed-off-by: IvanChalukov <[email protected]>
Signed-off-by: IvanChalukov <[email protected]>
Signed-off-by: IvanChalukov <[email protected]>
Signed-off-by: IvanChalukov <[email protected]>
…enarios Signed-off-by: IvanChalukov <[email protected]>
Signed-off-by: IvanChalukov <[email protected]>
Kump3r
approved these changes
Jul 14, 2026
Contributor
There was a problem hiding this comment.
Tested with:
# ./hfly -t local pause-component --name=scheduler
paused 'scheduler'
#./hfly -t local logout
logged out of target: local
# ./hfly -t local status
logged out
# ./hfly -t local health
subsystem status detail
overall ok 2026-07-14T12:38:30Z
database healthy
workers healthy 1/1 running
being_watched_build_marker healthy last ran: 2026-07-14T12:35:28Z
pipeline_pauser healthy last ran: 2026-07-14T12:35:28Z
signing_key_lifecycler healthy last ran: 2026-07-14T12:35:29Z
scheduler healthy paused, last ran: 2026-07-14T12:37:48Z
reaper healthy last ran: 2026-07-14T12:38:08Z
collector_resource_configs healthy last ran: 2026-07-14T12:38:08Z
collector_access_tokens healthy last ran: 2026-07-14T12:38:08Z
collector_artifacts healthy last ran: 2026-07-14T12:38:18Z
collector_resource_cache_uses healthy last ran: 2026-07-14T12:38:18Z
collector_containers healthy last ran: 2026-07-14T12:38:18Z
scanner healthy last ran: 2026-07-14T12:38:18Z
collector_resource_caches healthy last ran: 2026-07-14T12:38:18Z
collector_task_caches healthy last ran: 2026-07-14T12:38:28Z
collector_check_sessions healthy last ran: 2026-07-14T12:38:28Z
collector_pipelines healthy last ran: 2026-07-14T12:38:28Z
tracker healthy last ran: 2026-07-14T12:38:28Z
collector_builds healthy last ran: 2026-07-14T12:38:28Z
collector_checks healthy last ran: 2026-07-14T12:38:28Z
collector_volumes healthy last ran: 2026-07-14T12:38:28Z
collector_workers healthy last ran: 2026-07-14T12:38:28Z
#./hfly -t local h
error: Unknown command `h', did you mean `abort-build'?
#docker compose stop db
[+] stop 1/1
✔ Container concourse_ivan_fork-db-1 Stopped
# ./hfly -t local health
subsystem status detail
overall failing 2026-07-14T12:42:32Z
database unhealthy database unreachable
workers unhealthy 0/0 running
Contributor
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed by this PR
It is mostly nit stuff regarding fly health logic:
halias from fly health - it feels likefly helpTests:
Authorizationheader is sent when the token is expired, so a future regression in auth suppression won't slip throughfollow-up of #9640