Skip to content

feat: standardize cleanup run summaries through shared reporting - #8

Merged
anilkreddy merged 4 commits into
mainfrom
feat/consistent-action-reporting
Nov 15, 2026
Merged

anilkreddy merged 4 commits into
mainfrom
feat/consistent-action-reporting

Conversation

@anilkreddy

@anilkreddy anilkreddy commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

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 describeCleanupOutcome projection 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. Production eligibilityVerified=false remains 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.

  • Registry shasum: 8030f643d1dd6d741caa2c3c0ba321ad82b30cca.
  • Registry integrity: sha512-n6F84900sDPBeYm5dnf8HLCM9B2DUVATEeF717dqKsSXTJtq1FIj/3hZ2UcNTtXe7v8R90HYF6HIom4auM8Kyw==.
  • Published artifact SHA256: e4b79576328c2992a96fed087e9ba6e63970e8b54d6fca976a6652702a7a73a9.
  • Normal Cleanup bundle SHA256: 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 quality with 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) and git diff --check passed. Actual bundled Sandbox execution verified input/count/issue parity, escaping, masking, bounded tables and zero target API mutations.

Final head fe9c5631d62300b388fcd75062a7626cac95b424 passed validate 43679201841, CodeQL 43679201862 and processed required security check 132706134537. The PR merged to main 8b1786b731be8d2d3fac137cd358d2ee5488bd58. That exact main passed validate 43679344145 and CodeQL 43679344327. Strict, administrator-enforced validate/CodeQL protection 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 analysis 2169892997 has 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.

@anilkreddy
anilkreddy marked this pull request as ready for review November 15, 2026 05:02
@anilkreddy
anilkreddy merged commit 8b1786b into main Nov 15, 2026
3 checks passed
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