Skip to content

api: one path for the owned webhooks - #181

Merged
trick77 merged 1 commit into
masterfrom
api-one-webhook-path
Nov 19, 2026
Merged

trick77 merged 1 commit into
masterfrom
api-one-webhook-path

Conversation

@trick77

@trick77 trick77 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

pipeline, argocd and noergler repeated bearer, read, parse, insert, log, 202 line by line. serveOwned runs it once with per-source parse, insert and log-field callbacks and writes every webhook_processed line itself; Argo CD's handler only decides the ignored stage (reason plus destination_namespace). The five log-and-500 spots (persistFailed, failed, three in analysis.go) share serverError. Log messages, fields, field order and bodies unchanged (webhook and 500 log lines diffed before/after: identical).

New tests: auth before body on all three owned sinks, persist-failure body and sources, exactly one log line on an ignored stage, analysis ask and status-after-ask 500s against the spec.

pipeline, argocd and noergler shared bearer, read, parse, insert, log, 202 line by line; serveOwned runs it once with per-source parse, insert and log-field callbacks and writes every webhook_processed line itself. Argo CD's handler only decides the ignored stage (reason plus destination_namespace). The five log-and-500 spots share serverError; messages, fields and bodies unchanged.

Tests: auth before body on every owned sink, persist-failure body and sources, one log line on an ignored stage, the analysis ask and status-after-ask 500s against the spec.
@trick77
trick77 force-pushed the api-one-webhook-path branch from 45fceb1 to 7597df1 Compare November 19, 2026 08:57
@trick77
trick77 merged commit 7597df1 into master Nov 19, 2026
1 check passed
@trick77
trick77 deleted the api-one-webhook-path branch November 19, 2026 09:03
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