Skip to content

feat: wire name-based audit deletion tracking into cleanup#182

Merged
mrhillsman merged 4 commits into
mainfrom
update-auditing
Jun 11, 2026
Merged

feat: wire name-based audit deletion tracking into cleanup#182
mrhillsman merged 4 commits into
mainfrom
update-auditing

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

Summary

  • Add MarkVMsDeletedByName and MarkResourcesDeletedByName to the Auditor interface, closing the gap where cleanup deleted K8s resources but never updated the audit trail
  • Enhance CleanupResult with deleted resource name lists so the orchestrator can pass names to the auditor without coupling cleanup to audit
  • Wire the new methods into CleanupOrchestrator.Execute() between LinkCleanupToRuns and RecordCleanupCounts, using run-ID scoping to avoid marking records from unrelated runs
  • Add 9 mermaid sequence diagrams documenting project architecture end-to-end

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@exe-prow-github-app exe-prow-github-app Bot requested a review from OchiengEd June 11, 2026 02:32
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 11, 2026
@mrhillsman mrhillsman merged commit 71a1bdc into main Jun 11, 2026
3 of 5 checks passed
@mrhillsman mrhillsman removed the request for review from OchiengEd June 12, 2026 06:12
@mrhillsman mrhillsman deleted the update-auditing branch June 15, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant