Repository navigation
feat: standardize cleanup run summaries through shared reporting - #8
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Merged
Merged
anilkreddy
marked this pull request as ready for review
November 15, 2026 05:02
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.
Cleanup now uses the published shared notification-contract reporting APIs for consistent GitHub summaries and notification severity. Summaries include DRY RUN/APPLY, all ten aggregate counts, every input name, safe failure/warning explanations, named safety-evidence rows, workflow references and a bounded decision table. All fourteen input names are represented; four authentication fields are always redacted defensively. Accepted deletion requests are never described as physical removal.
The existing
describeCleanupOutcomeprojection drives notifications and summaries without changing cleanup status or Action failure behavior. Clean dry-run/no-op/apply is success; safely blocked dry-run with complete inventory is warning; errors, incomplete inventory, unknown/partial outcomes and blocked apply remain failure. Summary errors preserve the original outcome and outputs. Inputs, API/discovery, retention, safety and deletion orchestration are unchanged. ProductioneligibilityVerified=falseremains closed with no bypass.Published dependency and normal build
Action-kit #13 merged and package-only workflow 43678067818 published notification-contract 0.0.6 from exact main
3fecce40414d709884fa48e48eca278f470b20b0. Cleanup pins that exact published version with a regenerated registry lockfile and standalone bundle. ccv2-client remains 0.0.3; OAuth/transport and webhook delivery are reused, not duplicated. No candidate environment flag, permanent file dependency, package-source checkout or fake registry version is needed.8030f643d1dd6d741caa2c3c0ba321ad82b30cca.sha512-n6F84900sDPBeYm5dnf8HLCM9B2DUVATEeF717dqKsSXTJtq1FIj/3hZ2UcNTtXe7v8R90HYF6HIom4auM8Kyw==.e4b79576328c2992a96fed087e9ba6e63970e8b54d6fca976a6652702a7a73a9.ab30073d8bb01ee4e120ba58f57737af2a9fd99b94bffb7cc52b83a80d004f9f.Validation actually run
Node 24.21.0 / pnpm 12.6.0: normal registry resolution, frozen installation, public export/schema checks, bundle regeneration and complete
pnpm qualitywith the reviewed local Sandbox passed. 388 tests / 17 files, zero skipped; 99.81% statements, 99.62% branches, 100% functions/lines. Existing 98% thresholds and production-file inclusion are unchanged. Bundle consistency, metadata/actionlint, public scan (72 files), full dependency audit (no known vulnerabilities) andgit diff --checkpassed. Actual bundled Sandbox execution verified input/count/issue parity, escaping, masking, bounded tables and zero target API mutations.Final head
fe9c5631d62300b388fcd75062a7626cac95b424passed validate 43679201841, CodeQL 43679201862 and processed required security check132706134537. The PR merged to main8b1786b731be8d2d3fac137cd358d2ee5488bd58. That exact main passed validate 43679344145 and CodeQL 43679344327. Strict, administrator-enforcedvalidate/CodeQLprotection remained enabled; no check/protection was bypassed.Current registry validation and commands and validation report supersede the explicitly archived pre-publication candidate stage. Consumer examples use validated immutable Cleanup/Notify commits and retain dry-run-first enablement.
Remaining gates: authoritative SAP eligibility/operational-reference evidence, separately authorized controlled non-production validation, and owner Action-release approvals. Local Sandbox success is not proof of production SAP guarantees. No live provider or real SAP validation was run. Only the shared package was published; no Git tag, Action release, deployment, live notification, hosted Sandbox dispatch or real SAP operation occurred. Real deletion remains disabled.
Companions: action-kit #13, Setup #14, Build #8, Deploy #10, Notify #19, integration #3.
Final coordinated registry validation
All seven original PRs are merged. The dependency-publication/adoption blocker is resolved. Each Action uses actual registry notification-contract 0.0.6 with a frozen reproducible lockfile and regenerated committed bundle. No candidate flag or local package link is required.
Final verified main
8b1786b731be8d2d3fac137cd358d2ee5488bd58: CI/validate 43679344145 and CodeQL 43679344327 PASS. Exact-main processed analysis2169892997has zero results, empty error/warning fields and zero open main alerts.Final registry-installed validation report and sanitized exact-source/bundle evidence: 76 harness tests and the final 24-record five-action integration replay PASS. Four isolated local Sandbox runs were removed with absence verified; Cleanup performed zero target mutations. All 16 provider requests were strict mocks.
The final processed security review found five generated-code alerts in new Build/Deploy test preloads despite green workflow jobs. Narrow test-only follow-ups Build #10 and Deploy #11 removed data-to-code interpolation, passed full validation, and resolved all findings. Production source and bundle hashes are unchanged. Setup used its existing OrganizationAdmin merge exception after all six native jobs, quality and CodeQL passed; no branch rules were changed.
Only the requested shared package was published. No Git tags, Action releases, deployments, hosted Sandbox dispatches, live notifications or real SAP operations occurred. Production cleanup eligibility and separately authorized live/release validation gates remain closed.
Companions: action-kit #13, notify #19, ccv2-build #8, ccv2-deploy #10, setup-commercekit #14, ccv2-build-cleanup #8, action-integration-tests #3.