Skip to content

Commit 9f1d38e

Browse files
committed
Update publication candidate
1 parent 0ed7341 commit 9f1d38e

5 files changed

Lines changed: 23 additions & 16 deletions

File tree

changelog.d/988.fixed.md renamed to .github/publication_candidates/usdata-gha25953131994-a1/changelog.d/988.fixed.md

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.2",
3+
"candidate_scope": "1.115.2-patch",
4+
"release_bump": "patch",
5+
"run_id": "usdata-gha25953131994-a1",
6+
"would_release_as_at_build_time": "1.115.3"
7+
}

.github/publication_scope.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"base_release_version": "1.115.2",
33
"candidate_scope": "1.115.2-patch",
44
"release_bump": "patch",
5-
"run_id": "usdata-gha25884560796-a1",
5+
"run_id": "usdata-gha25953131994-a1",
66
"would_release_as_at_build_time": "1.115.3"
77
}

docs/engineering/pipeline-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ Structured view of clone-level household weights.
815815
### `modal_app.local_area.coordinate_publish`
816816

817817
```python
818-
def coordinate_publish(branch: str = 'main', num_workers: int = 50, skip_upload: bool = False, n_clones: int = 430, validate: bool = True, run_id: str = '', expected_fingerprint: str = '', work_items_override: List[Dict] | None = None) -> Dict
818+
def coordinate_publish(branch: str = 'main', num_workers: int = 50, skip_upload: bool = False, n_clones: int = 430, validate: bool = True, run_id: str = '', candidate_version: str = '', expected_fingerprint: str = '', work_items_override: List[Dict] | None = None) -> Dict
819819
```
820820

821821
Coordinate the full publishing workflow.

docs/generated/pipeline_api.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
"docstring": "Worker function that builds a subset of H5 files.\nUses subprocess to avoid import conflicts with Modal's environment.",
417417
"id": "build_areas_worker",
418418
"kind": "function",
419-
"line": 719,
419+
"line": 733,
420420
"metadata": {
421421
"api_refs": [
422422
"modal_app.local_area.build_areas_worker"
@@ -635,7 +635,7 @@
635635
"docstring": "Build the normalized coordinator input bundle for one publish scope.",
636636
"id": "build_publishing_input_bundle",
637637
"kind": "function",
638-
"line": 380,
638+
"line": 394,
639639
"metadata": {
640640
"api_refs": [
641641
"policyengine_us_data.build_outputs.fingerprinting.PublishingInputBundle",
@@ -690,7 +690,7 @@
690690
"docstring": "Persist optional worker bootstrap artifacts for one local H5 scope.",
691691
"id": "build_worker_bootstrap",
692692
"kind": "function",
693-
"line": 473,
693+
"line": 487,
694694
"metadata": {
695695
"api_refs": [
696696
"policyengine_us_data.build_outputs.bootstrap.WorkerBootstrapBuilder",
@@ -873,7 +873,7 @@
873873
"docstring": "Coordinate the full publishing workflow.",
874874
"id": "coordinate_publish",
875875
"kind": "function",
876-
"line": 1061,
876+
"line": 1089,
877877
"metadata": {
878878
"api_refs": [
879879
"modal_app.local_area.coordinate_publish"
@@ -901,14 +901,14 @@
901901
]
902902
},
903903
"object_path": "modal_app.local_area.coordinate_publish",
904-
"signature": "def coordinate_publish(branch: str = 'main', num_workers: int = 50, skip_upload: bool = False, n_clones: int = 430, validate: bool = True, run_id: str = '', expected_fingerprint: str = '', work_items_override: List[Dict] | None = None) -> Dict",
904+
"signature": "def coordinate_publish(branch: str = 'main', num_workers: int = 50, skip_upload: bool = False, n_clones: int = 430, validate: bool = True, run_id: str = '', candidate_version: str = '', expected_fingerprint: str = '', work_items_override: List[Dict] | None = None) -> Dict",
905905
"source_file": "modal_app/local_area.py"
906906
},
907907
"coordinate_work_partition": {
908908
"docstring": "Compatibility wrapper over the extracted pure partitioning seam.",
909909
"id": "coordinate_work_partition",
910910
"kind": "function",
911-
"line": 536,
911+
"line": 550,
912912
"metadata": {
913913
"api_refs": [
914914
"policyengine_us_data.build_outputs.partitioning.partition_weighted_work_items",
@@ -2557,7 +2557,7 @@
25572557
"docstring": "Promote a completed pipeline run to production.\n\n1. Verify run status is \"completed\"\n2. Promote every staged artifact in one Hugging Face commit\n3. Upload/copy every artifact to GCS\n4. Finalize release_manifest.json, tag the release, and update\n version_manifest.json\n5. Update run status to \"promoted\"\n\nArgs:\n run_id: The run ID to promote.\n candidate_version: Candidate staging scope used for staged source files.\n release_version: Stable version used for final release metadata.\n\nReturns:\n Summary message.",
25582558
"id": "promote_pipeline_run",
25592559
"kind": "function",
2560-
"line": 1883,
2560+
"line": 1902,
25612561
"metadata": {
25622562
"api_refs": [
25632563
"modal_app.pipeline.promote_run"
@@ -2680,7 +2680,7 @@
26802680
"docstring": "Compute the scope fingerprint while preserving pinned resume values.",
26812681
"id": "resolve_scope_fingerprint",
26822682
"kind": "function",
2683-
"line": 427,
2683+
"line": 441,
26842684
"metadata": {
26852685
"api_refs": [
26862686
"policyengine_us_data.build_outputs.fingerprinting.FingerprintingService",
@@ -2806,7 +2806,7 @@
28062806
"docstring": "Run a single build phase, spawning workers and collecting results.\n\nReturns:\n A tuple of (volume_completed, phase_errors, validation_rows)\n where phase_errors is a list of error dicts from workers\n and crashes, and validation_rows is a list of per-target\n validation result dicts.",
28072807
"id": "run_local_h5_phase",
28082808
"kind": "function",
2809-
"line": 585,
2809+
"line": 599,
28102810
"metadata": {
28112811
"api_refs": [
28122812
"modal_app.local_area.run_phase"
@@ -2836,7 +2836,7 @@
28362836
"docstring": "Run the full pipeline end-to-end.\n\nArgs:\n branch: Git branch to build from.\n gpu: GPU type for regional calibration.\n epochs: Training epochs for regional calibration.\n national_gpu: GPU type for national calibration.\n national_epochs: Training epochs for national.\n num_workers: Number of parallel H5 workers.\n n_clones: Number of clones for H5 building.\n skip_national: Skip national calibration/H5.\n resume_run_id: Resume a previously failed run.\n clear_checkpoints: Wipe ALL checkpoints before building\n (default False). Normally not needed \u2014 checkpoints are\n scoped by commit SHA, so stale ones from other commits\n are cleaned automatically. Use True only to force a\n full rebuild of the current commit.\n candidate_version: Candidate staging scope used for HF staging.\n release_version: Final stable release version. Usually empty until\n promotion.\n base_release_version: Stable release current when this candidate was\n built.\n release_bump: Intended SemVer bump for this candidate.\n sha_override: Exact source SHA deployed by GitHub Actions. When\n provided, this is recorded instead of reading the current\n branch tip.\n run_id: Cross-system run ID created by GitHub.\n run_context: Serialized run context from the launcher workflow.\n modal_app_name: Deployed Modal app name for this run.\n modal_environment: Modal environment used for this run.\n chunked_matrix: Build the calibration matrix in clone-household\n chunks instead of the non-chunked path. Opt-in; default off.\n chunk_size: Clone-household columns per chunk when\n ``chunked_matrix`` is True.\n parallel_matrix: Fan chunked matrix building across Modal\n workers via ``build_matrix_chunk_worker``. Only meaningful\n when ``chunked_matrix`` is True; ignored otherwise.\n num_matrix_workers: Number of Modal workers when\n ``parallel_matrix`` is True.\n\nReturns:\n The run ID for use with promote.",
28372837
"id": "run_modal_pipeline",
28382838
"kind": "function",
2839-
"line": 882,
2839+
"line": 899,
28402840
"metadata": {
28412841
"api_refs": [
28422842
"modal_app.pipeline.run_pipeline"
@@ -3038,7 +3038,7 @@
30383038
"docstring": "Upload files to HuggingFace staging only.\n\nGCS is updated during promote_publish, not here.\nPromote must be run separately via promote_publish.",
30393039
"id": "staging_upload",
30403040
"kind": "function",
3041-
"line": 903,
3041+
"line": 917,
30423042
"metadata": {
30433043
"api_refs": [
30443044
"modal_app.local_area.upload_to_staging"
@@ -3061,7 +3061,7 @@
30613061
]
30623062
},
30633063
"object_path": "modal_app.local_area.upload_to_staging",
3064-
"signature": "def upload_to_staging(branch: str, version: str, manifest: Dict, run_id: str = '') -> str",
3064+
"signature": "def upload_to_staging(branch: str, version: str, manifest: Dict, run_id: str = '', candidate_version: str = '') -> str",
30653065
"source_file": "modal_app/local_area.py"
30663066
},
30673067
"state_precomp": {
@@ -3149,7 +3149,7 @@
31493149
"docstring": "Validate all expected files and generate manifest.",
31503150
"id": "validate_staging",
31513151
"kind": "function",
3152-
"line": 827,
3152+
"line": 841,
31533153
"metadata": {
31543154
"api_refs": [
31553155
"modal_app.local_area.validate_staging"
@@ -3176,7 +3176,7 @@
31763176
"docstring": "Verify deployed-image imports and subprocess seams.",
31773177
"id": "verify_runtime_seams",
31783178
"kind": "function",
3179-
"line": 515,
3179+
"line": 532,
31803180
"metadata": {
31813181
"api_refs": [
31823182
"modal_app.pipeline.verify_runtime_seams"

0 commit comments

Comments
 (0)