Repository navigation
feat: add guarded CCv2 build cleanup action - #1
Merged
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
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.
Behavior
Add the initial Node 24 CCv2 build cleanup action with strict configuration, all-page discovery, combined age/count retention, protected-build decisions, bounded immutable plans, sequential deletion orchestration, sanitized reports/outputs, and dry-run-first consumer workflows. Reuse published
@commercekit-tools/ccv2-client@0.0.3and@commercekit-tools/notification-contract@0.0.3; do not duplicate OAuth, HTTP/retry infrastructure, event schemas, or webhook delivery.Real apply is deliberately blocked: SAP's supported build response has no last-modified timestamp, and portal UI restrictions do not establish API enforcement of the four-hour eligibility rule. Candidates remain
eligibility-unverified; no bypass input exists. HTTP 204 is described as deletion initiation only.Validation evidence
857e04451c56b3c50f24ef70265ce725bfd585d121548cecc3020c2aa2886d20.sha512-T+wt6X75QSHDpxHJDxqH797K1jO+YFKAbMLymqJ1rs78R0mWR8RT1bn53mwXviqAu7eO51YWMxm6CH6eW8iPtw==.Detailed commands/provenance and PASS/BLOCKED/NOT RUN results: validation report, integration audit, sandbox scenarios, and candidate provenance.
Dependencies and blockers
ccv2.build-cleanup.completedevent/schema/factory; no client/transport changes or new package.Review state
Draft only. All implementation remains on the feature branch above the empty main review baseline. Security fix
29d454c1d0ff02a3619d325936ae00c2bc94a3a7updates the audited development dependency, simplifies complete parenthesis encoding and rebuilds dist. Final head2ff0d5280fcd4bcb58f80157ec808230b9400fa8additionally pins the examples to that immutable validated fix.No publication, release, tag, production enablement or real SAP deletion is authorized. All four implementation PRs remain drafts.
Companion draft PRs
These are coordinated draft changes. No merge, publication, tagging, deployment, production enablement, or real SAP deletion is authorized by this review. Keep the dependency-publication and SAP eligibility gates explicit.
Audit and CodeQL remediation — validated 2026-11-14
minimatchrange to published 11.0.1 with regenerated lockfile integrity. Fullpnpm auditnow reports no known vulnerabilities. No ignored advisory or reduced severity/scope was used; the audit script now matches the full CI audit.%28/%29, retaining shared HTTPS validation. A regression checks repeated/nested parentheses and preserves existing percent encoding.2ff0d5280fcd4bcb58f80157ec808230b9400fa8.Separate Dependabot review
Reviewed open Dependabot PRs across the four repositories. Only sandbox had such PRs.
2ba64030863f328734bb34b73c045f0c41af5624. Merge commit:b24db34313555bea3236ebd4c79e8afce64ab5c7. The repository has no automatic deployment/publication/live SAP workflow.The four coordinated implementation PRs remain open drafts with auto-merge disabled.