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
27 changes: 24 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,9 +1348,9 @@ jobs:
python -m venv "${INPUT_ROOT}/python/stable"
python -m venv "${INPUT_ROOT}/python/candidate"
"${INPUT_ROOT}/python/stable/bin/pip" install --retries 5 --timeout 30 \
"${INPUT_ROOT}/python/adcp-8.0.0b16-py3-none-any.whl[pg]"
"${INPUT_ROOT}/python/adcp-8.0.0b16-py3-none-any.whl[pg]" pytest==9.0.2
"${INPUT_ROOT}/python/candidate/bin/pip" install --retries 5 --timeout 30 \
"${INPUT_ROOT}/python/adcp-8.0.0b18-py3-none-any.whl[pg]"
"${INPUT_ROOT}/python/adcp-8.0.0b18-py3-none-any.whl[pg]" pytest==9.0.2

cp scripts/ci/reporting_interop/npm/rc47/package.json \
scripts/ci/reporting_interop/npm/rc47/package-lock.json "${INPUT_ROOT}/ts-stable/"
Expand Down Expand Up @@ -1390,11 +1390,32 @@ jobs:
--pg-admin-url postgresql://postgres@127.0.0.1:5432/postgres \
--output "${RUNNER_TEMP}/reporting-installed-artifact-matrix"

- name: Run installed full reporting lifecycle 2x2
shell: bash
run: |
set -euo pipefail
INPUT_ROOT="${RUNNER_TEMP}/reporting-1199-inputs"
"${INPUT_ROOT}/python/candidate/bin/python" -I \
scripts/ci/reporting_interop/run_full_installed_artifact_matrix.py \
--python-stable-runtime "${INPUT_ROOT}/python/stable/bin/python" \
--python-stable-artifact "${INPUT_ROOT}/python/adcp-8.0.0b16-py3-none-any.whl" \
--python-candidate-runtime "${INPUT_ROOT}/python/candidate/bin/python" \
--python-candidate-artifact "${INPUT_ROOT}/python/adcp-8.0.0b18-py3-none-any.whl" \
--typescript-stable-install "${INPUT_ROOT}/ts-stable" \
--typescript-stable-archive "${INPUT_ROOT}/ts-stable/sdk-14.0.0-rc.47.tgz" \
--typescript-candidate-install "${INPUT_ROOT}/ts-candidate" \
--typescript-candidate-archive "${INPUT_ROOT}/ts-candidate/sdk-14.0.0-rc.48.tgz" \
--node-runtime "$(command -v node)" \
--pg-admin-url postgresql://postgres@127.0.0.1:5432/postgres \
--output "${RUNNER_TEMP}/reporting-full-installed-artifact-matrix"

- if: always()
uses: actions/upload-artifact@v7
with:
name: reporting-installed-artifact-matrix-${{ github.run_attempt }}
path: ${{ runner.temp }}/reporting-installed-artifact-matrix
path: |
${{ runner.temp }}/reporting-installed-artifact-matrix
${{ runner.temp }}/reporting-full-installed-artifact-matrix
if-no-files-found: warn

reporting-installed-artifact-required-gate:
Expand Down
81 changes: 81 additions & 0 deletions scripts/ci/reporting_interop/full_scenario.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"expected_outcome": {
"definitive": true,
"inspection_calls": 0,
"obligation_count": 1,
"reasons_absent": [
"consumer_status_pending",
"receipt_required"
]
},
"expected_periods": [
{
"automatedRecoveryWindowSeconds": 21600,
"canonicalization": {
"id": "reference-jcs-rows-v1",
"primaryKeys": [
"row_id"
],
"sha256": "5566f62a29487d54d755e4e9c35c97661bb243d158d4bf7a712fb1c7eb3bcb80",
"uri": "https://contracts.example.test/reference-canonicalization.json"
},
"coverage": {
"covered_package_ids": [],
"fully_covered_media_buy_ids": [
"mb_acct_a"
],
"media_buy_ids": [
"mb_acct_a"
],
"package_ids": [],
"partially_covered_media_buy_ids": [],
"status": "full",
"unknown_media_buy_ids": [],
"unknown_package_ids": [],
"unsupported_media_buy_ids": [],
"unsupported_package_ids": []
},
"coverageRequirement": "full",
"deliveryConfigId": "daily",
"deliveryConfigVersion": 1,
"deliveryMethod": "warehouse_materialization",
"deliverySlaSeconds": 3600,
"destinationRef": "destination",
"feedPurpose": "billing",
"mediaBuyIds": [
"mb_acct_a"
],
"officialFinality": {
"basis": "source_final",
"policyId": "fixture-official-v1"
},
"periodEnd": "2026-09-01T01:00:00Z",
"periodSourceTimezone": "UTC",
"periodStart": "2026-09-01T00:00:00Z",
"reconciliationMode": "consumer_receipt",
"reportDefinitionId": "reference-report-v1",
"reportDefinitionSha256": "2c988a2c008b84097be962248c433dc3acd9663372f89a4b1c7c1235ee635785",
"reportDefinitionUri": "https://contracts.example.test/reference-definition.json",
"reportingProfile": "paid_media_delivery",
"requiredFinality": "official",
"schemaDialect": "https://json-schema.org/draft/2020-12/schema",
"schemaRefPolicy": "local_fragment_only",
"schemaSha256": "aa4927d97b5e5889c4d79bd5461da81657cafea75a61d266ab452bfa0fc5d799",
"schemaUri": "https://contracts.example.test/reference-row-schema.json",
"schemaVersion": "1.0.0",
"verificationProfile": "canonical_digest"
}
],
"now": "2026-09-28T07:31:39.502842Z",
"request": {
"account": {
"account_id": "acct_a"
},
"period": {
"end": "2026-09-01T01:00:00Z",
"start": "2026-09-01T00:00:00Z"
},
"view": "periods"
},
"schema_version": 1
}
Loading
Loading