Skip to content

Commit 4978fd1

Browse files
committed
Update publication candidate
1 parent bd157e7 commit 4978fd1

6 files changed

Lines changed: 81 additions & 7 deletions

File tree

changelog.d/1024.added renamed to .github/publication_candidates/usdata-gha26249511671-a1/changelog.d/1024.added

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"base_release_version": "1.115.5",
3+
"candidate_scope": "1.115.5-minor",
4+
"release_bump": "minor",
5+
"run_id": "usdata-gha26249511671-a1",
6+
"would_release_as_at_build_time": "1.116.0"
7+
}

.github/publication_scope.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"base_release_version": "1.115.5",
3-
"candidate_scope": "1.115.5-patch",
4-
"release_bump": "patch",
5-
"run_id": "usdata-gha26245240310-a1",
6-
"would_release_as_at_build_time": "1.115.6"
3+
"candidate_scope": "1.115.5-minor",
4+
"release_bump": "minor",
5+
"run_id": "usdata-gha26249511671-a1",
6+
"would_release_as_at_build_time": "1.116.0"
77
}

docs/engineering/pipeline-map.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,14 @@ def build_release_candidate_shape_report(bundle: ReleaseCandidateInputBundle) ->
13621362

13631363
Describe candidate-bundle shape using the shared validation schema.
13641364

1365+
### `policyengine_us_data.release_promotion.validation.ReleaseCandidateValidator`
1366+
1367+
```python
1368+
class ReleaseCandidateValidator
1369+
```
1370+
1371+
Validate a Stage 5 release candidate before public release writes.
1372+
13651373
### `policyengine_us_data.release_promotion.context.ReleasePromotionContext`
13661374

13671375
```python

docs/generated/pipeline_api.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,7 @@
32293229
"docstring": "Describe candidate-bundle shape using the shared validation schema.",
32303230
"id": "release_candidate_shape_report",
32313231
"kind": "function",
3232-
"line": 28,
3232+
"line": 103,
32333233
"metadata": {
32343234
"api_refs": [
32353235
"policyengine_us_data.release_promotion.validation.build_release_candidate_shape_report"
@@ -3252,6 +3252,40 @@
32523252
"signature": "def build_release_candidate_shape_report(bundle: ReleaseCandidateInputBundle) -> ValidationReport",
32533253
"source_file": "policyengine_us_data/release_promotion/validation.py"
32543254
},
3255+
"release_candidate_validator": {
3256+
"docstring": "Validate a Stage 5 release candidate before public release writes.",
3257+
"id": "release_candidate_validator",
3258+
"kind": "class",
3259+
"line": 166,
3260+
"metadata": {
3261+
"api_refs": [
3262+
"policyengine_us_data.release_promotion.validation.ReleaseCandidateValidator"
3263+
],
3264+
"artifacts_in": [
3265+
"ReleaseCandidateInputBundle",
3266+
"staged release artifacts"
3267+
],
3268+
"artifacts_out": [
3269+
"ValidationReport"
3270+
],
3271+
"description": "Stage 5 validation-core adapter for release candidates before promotion side effects.",
3272+
"id": "release_candidate_validator",
3273+
"label": "ReleaseCandidateValidator",
3274+
"node_type": "validation",
3275+
"pathways": [
3276+
"5_validate_and_promote_release"
3277+
],
3278+
"source_file": "policyengine_us_data/release_promotion/validation.py",
3279+
"stability": "moving",
3280+
"status": "transitional",
3281+
"validation_commands": [
3282+
"uv run pytest tests/unit/release_promotion/test_validation.py"
3283+
]
3284+
},
3285+
"object_path": "policyengine_us_data.release_promotion.validation.ReleaseCandidateValidator",
3286+
"signature": "class ReleaseCandidateValidator",
3287+
"source_file": "policyengine_us_data/release_promotion/validation.py"
3288+
},
32553289
"release_promotion_context": {
32563290
"docstring": "Canonical run, candidate, release, and destination identity for Stage 5.",
32573291
"id": "release_promotion_context",

docs/generated/pipeline_map.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,31 @@
14811481
"uv run pytest tests/unit/release_promotion/test_candidate.py"
14821482
]
14831483
},
1484+
{
1485+
"api_refs": [
1486+
"policyengine_us_data.release_promotion.validation.ReleaseCandidateValidator"
1487+
],
1488+
"artifacts_in": [
1489+
"ReleaseCandidateInputBundle",
1490+
"staged release artifacts"
1491+
],
1492+
"artifacts_out": [
1493+
"ValidationReport"
1494+
],
1495+
"description": "Stage 5 validation-core adapter for release candidates before promotion side effects.",
1496+
"id": "release_candidate_validator",
1497+
"label": "ReleaseCandidateValidator",
1498+
"node_type": "validation",
1499+
"pathways": [
1500+
"5_validate_and_promote_release"
1501+
],
1502+
"source_file": "policyengine_us_data/release_promotion/validation.py",
1503+
"stability": "moving",
1504+
"status": "transitional",
1505+
"validation_commands": [
1506+
"uv run pytest tests/unit/release_promotion/test_validation.py"
1507+
]
1508+
},
14841509
{
14851510
"api_refs": [
14861511
"policyengine_us_data.release_promotion.context.ReleasePromotionContext"
@@ -1941,9 +1966,9 @@
19411966
}
19421967
],
19431968
"metadata": {
1944-
"api_node_count": 94,
1969+
"api_node_count": 95,
19451970
"canonical_stage_count": 5,
1946-
"decorated_object_count": 143,
1971+
"decorated_object_count": 144,
19471972
"mapped_decorated_node_count": 49,
19481973
"stage_count": 17,
19491974
"substage_count": 17

0 commit comments

Comments
 (0)