Repository navigation
feat!: webhooks, with history, git request metrics and sweep fixes - #13
Merged
Merged
Conversation
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.
Builds on the notifications merged in #12, renamed and hardened before 0.2.0.
Webhooks (was notifications)
webhooks:; API/api/v1/webhooks,/{id}(with its last 50 sends) and/{id}/test; metricsunified_gitops_webhooks_totalandunified_gitops_webhook_duration_seconds; docs indocs/webhooks.md.triggerandextra_varsare gone, so no user token and no "Prompt on launch" trap.applications:isall, a list, or none (left out or[]), as an API key reads its applications.Fixes from a release sweep
drift_detected; a standing rollback keeps scheduled checks quiet and is never the drift reference; the cause is left out when git cannot tell.nulloutside quotes.auth: {header: ...}is strict; Basic allows an empty password.Metrics:
unified_gitops_git_requests_total{project,operation,outcome}andunified_gitops_git_request_duration_secondsfor every clone, pull and rollback fetch.Also drops an unused
MPL-2.0allowance fromdeny.toml. 288 tests, clippy, audit and deny clean.