Skip to content

Skip failed load balancer deletions in activity timelines - #516

Merged
scotwells merged 2 commits into
mainfrom
codex/httpproxy-failed-delete-activity
Sep 28, 2026
Merged

scotwells merged 2 commits into
mainfrom
codex/httpproxy-failed-delete-activity

Conversation

@scotwells

@scotwells scotwells commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

A failed load balancer deletion must not appear in the customer's timeline as a successful deletion. Generate delete activity only for successful responses, and tolerate responses without metadata so failed requests do not repeatedly fail policy evaluation.

For HTTPProxy DELETE events, audit.responseStatus.code must be in the 200–299 range. For example, an HTTP 500 response without a body produces no deletion entry; an HTTP 200 response without annotations still produces the existing resource-name or generic deletion summary. No policy labels or new configuration are required.

This addresses the two HTTP 500 DELETE events remaining in staging after five events recovered with #514. The candidate policy skips both retained payloads without errors or misleading deletion entries; they remain queued pending rollout and retry.

Validated eight delete scenarios, a policy render, and read-only evaluation of both staging payloads; CI, including E2E, is green.

Related to https://github.com/datum-cloud/infra/issues/6019.

@scotwells
scotwells marked this pull request as ready for review September 28, 2026 19:03
@scotwells
scotwells requested a review from a team as a code owner September 28, 2026 19:03
@scotwells
scotwells merged commit f958812 into main Sep 28, 2026
15 checks passed
@scotwells
scotwells deleted the codex/httpproxy-failed-delete-activity branch September 28, 2026 19:17
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.

2 participants