Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- name: Execute Build Action
id: action
continue-on-error: true
uses: commercekit-tools/ccv2-build@923535d589bd8cebece4f3cbf479608f9535c4c3
uses: commercekit-tools/ccv2-build@fc65ee281f39b98d2cecad36ff93d40cf055fbc2
with:
token-endpoint: ${{ env.CCV2_TOKEN_ENDPOINT }}
client-id: ${{ env.CCV2_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/cleanup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
- name: Execute cleanup dry-run
id: action
continue-on-error: true
uses: commercekit-tools/ccv2-build-cleanup@4ab51d33ded51a360e8223e686bb46918cf7863f
uses: commercekit-tools/ccv2-build-cleanup@8b1786b731be8d2d3fac137cd358d2ee5488bd58
with:
token-endpoint: ${{ env.CCV2_TOKEN_ENDPOINT }}
client-id: ${{ env.CCV2_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
id: action
if: steps.inputs.outputs.enabled == 'true'
continue-on-error: true
uses: commercekit-tools/ccv2-deploy@e2b3f4cb7e03bfbcbba22eaf84545829b5629557
uses: commercekit-tools/ccv2-deploy@1af852b9a00e981da4ea13565bb18c7ce7fda27f
with:
token-endpoint: ${{ env.CCV2_TOKEN_ENDPOINT }}
client-id: ${{ env.CCV2_CLIENT_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- name: Deliver test notification
id: action
if: steps.inputs.outputs.enabled == 'true' && inputs.provider != 'none'
uses: commercekit-tools/notify@8242af6a4aaafd7917c93f0db27f1794266efeee
uses: commercekit-tools/notify@abc752ead104a6e5153c5f166d04ee5e595e0ca6
with:
provider: ${{ inputs.provider }}
event-file: ${{ steps.inputs.outputs.event-file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-approve-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Install verified CommerceKit CLI
uses: commercekit-tools/setup-commercekit@7f650f3162ab027bfd784cf879832f44d3248584
uses: commercekit-tools/setup-commercekit@52a5a098d89f9ef2c42a234b4c3baa5d60a7a896
with:
version: '0.1.0-preview.2'
- name: Check the supported synthetic Commerce files
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ See [workflow setup, dispatch and limits](docs/WORKFLOWS.md). In particular,
merged Sandbox source does not prove that the hosted `/cleanup-fixture` endpoint
is deployed. Live workflow results are recorded separately from offline tests.

## Consistent reporting validation

The [local reporting harness](docs/REPORTING.md) validates all five actual bundled
Actions against exact published notification-contract 0.0.6. It verifies normal
registry manifests/locks, installed public package bytes, reviewed sources and
bundle hashes before using the local Sandbox and mocked provider fetches. Input
coverage, secret masking, status icons/tables and notification/summary parity are
checked without hosted dispatches, live provider sends or real SAP calls.
[Historical source-candidate evidence](docs/REPORTING-CANDIDATES.md) is archived
separately and does not substitute for registry-backed validation.

## Development

Use Node 24 and pnpm 12.6.0, then configure local GitHub Packages read access as
Expand All @@ -62,7 +73,7 @@ pnpm quality

Shared schema validation and CCv2 HTTP/authentication come from the existing
`@commercekit-tools/notification-contract` and `@commercekit-tools/ccv2-client`
packages, pinned to `0.0.4` and `0.0.3` respectively. These package versions are separate from Action
packages, pinned to `0.0.6` and `0.0.3` respectively. These package versions are separate from Action
versions. Action revisions are catalogued in `action-refs.json`. Producer pins live in
the composite wrappers under `.github/actions/`; CLI setup is pinned in the
build/approval workflow.
Expand Down
71 changes: 71 additions & 0 deletions action-inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"commercekit-tools/ccv2-build": {
"ref": "fc65ee281f39b98d2cecad36ff93d40cf055fbc2",
"inputs": [
"token-endpoint",
"client-id",
"client-secret",
"resource",
"subscription-code",
"branch",
"build-name",
"application-code",
"api-base-url",
"poll-interval-seconds",
"timeout-minutes"
]
},
"commercekit-tools/ccv2-deploy": {
"ref": "1af852b9a00e981da4ea13565bb18c7ce7fda27f",
"inputs": [
"operation",
"token-endpoint",
"client-id",
"client-secret",
"resource",
"subscription-code",
"deployment-code",
"build-code",
"environment-code",
"database-update-mode",
"strategy",
"validate-deployment-modes",
"green-decision",
"decision-reason",
"traffic-split-json",
"rollback-database",
"cancel-reason",
"wait-for-completion",
"api-base-url",
"poll-interval-seconds",
"timeout-minutes"
]
},
"commercekit-tools/notify": {
"ref": "abc752ead104a6e5153c5f166d04ee5e595e0ca6",
"inputs": ["provider", "event-json", "event-file", "webhook-url", "fail-on-notification-error"]
},
"commercekit-tools/ccv2-build-cleanup": {
"ref": "8b1786b731be8d2d3fac137cd358d2ee5488bd58",
"inputs": [
"token-endpoint",
"client-id",
"client-secret",
"resource",
"subscription-code",
"api-base-url",
"application-code",
"retention-days",
"keep-latest",
"dry-run",
"max-deletions",
"exclude-build-codes",
"timeout-minutes",
"continue-on-delete-error"
]
},
"commercekit-tools/setup-commercekit": {
"ref": "52a5a098d89f9ef2c42a234b4c3baa5d60a7a896",
"inputs": ["version"]
}
}
10 changes: 5 additions & 5 deletions action-refs.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"actions/checkout": "3d3c42e5aac5ba805825da76410c181273ba90b1",
"actions/setup-node": "949feb2413d6458794dcd2491c4babbbce0c15c1",
"commercekit-tools/ccv2-build": "923535d589bd8cebece4f3cbf479608f9535c4c3",
"commercekit-tools/ccv2-deploy": "e2b3f4cb7e03bfbcbba22eaf84545829b5629557",
"commercekit-tools/notify": "8242af6a4aaafd7917c93f0db27f1794266efeee",
"commercekit-tools/ccv2-build-cleanup": "4ab51d33ded51a360e8223e686bb46918cf7863f",
"commercekit-tools/setup-commercekit": "7f650f3162ab027bfd784cf879832f44d3248584"
"commercekit-tools/ccv2-build": "fc65ee281f39b98d2cecad36ff93d40cf055fbc2",
"commercekit-tools/ccv2-deploy": "1af852b9a00e981da4ea13565bb18c7ce7fda27f",
"commercekit-tools/notify": "abc752ead104a6e5153c5f166d04ee5e595e0ca6",
"commercekit-tools/ccv2-build-cleanup": "8b1786b731be8d2d3fac137cd358d2ee5488bd58",
"commercekit-tools/setup-commercekit": "52a5a098d89f9ef2c42a234b4c3baa5d60a7a896"
}
26 changes: 26 additions & 0 deletions docs/REPORTING-CANDIDATES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Historical reporting source-candidate validation

Notification-contract 0.0.6 was subsequently published through the authorized
package-only workflow. Current normal installation and reporting validation use
that exact registry version; see [REPORTING.md](REPORTING.md). The candidate-only
entry point, file:tarball checks and consumer overrides have been retired.

The original candidate implementation and reproduction instructions are retained
at immutable harness commit
[`724e86661c4f6b4062721961633e190cde942395`](https://github.com/commercekit-tools/action-integration-tests/tree/724e86661c4f6b4062721961633e190cde942395)
([instructions](https://github.com/commercekit-tools/action-integration-tests/blob/724e86661c4f6b4062721961633e190cde942395/docs/REPORTING-CANDIDATES.md),
[script](https://github.com/commercekit-tools/action-integration-tests/blob/724e86661c4f6b4062721961633e190cde942395/scripts/validate-reporting-candidates.mjs)).
The retained [candidate evidence JSON](reporting-candidate-evidence.json) records
24 successful local Action result/summary records, exact source/tarball/bundle
hashes and four isolated runs removed with absence verified.

That private harness copy deliberately used an unborn Git workspace and a
file:tarball manifest transform. Its dirty/unborn proof is historical and honest;
it is not described as a clean registry-installed build. All five producer
sources were clean reviewed commits. No candidate artifact was represented as
a published registry dependency, and no local dependency link was committed.

This archived phase performed no hosted workflow dispatch, live provider send,
package publication, Action release, Git tag, deployment or real SAP operation.
The later 0.0.6 package publication was separately authorized and is documented
with its actual provenance in the current validation guide.
Loading