Skip to content

S5 — unfao/wire/run_manifest.py: the §4.2 run manifest builder (the commit marker) #110

Closed

Description

@Polichinel

Part of epic #105. Depends on S1. Parallel-eligible with S3/S4.

Problem

The run's single commit marker (§4.2: ONE manifest per run, spanning all targets, uploaded LAST after shards AND sidecar) has no builder. Its fields are pinned by the fixture.

Work

views_postprocessing/unfao/wire/run_manifest.py: build_run_manifest(*, run_id, targets, shard_records, expected_months, expected_cell_count, sidecar_record) -> bytes — exact §4.2 field table (shards entries: name/target/time_id/sha256; sidecar object: name/sha256), pinned key order, indent=2 (fixture serialization). expected_cell_count = per-shard N (§3.2 ruling).

Acceptance criteria

  • Fed the fixture names + hashes: output byte-equals fixture_run_0__manifest.json.

Tests: tests/test_wire_run_manifest.py. Oracle: fixture run manifest.

🤖 Generated with Claude Code

Activity

  1. added
    story
    implementation
    on Jul 19, 2026
  2. added a commit that references this issue on Jul 20, 2026
  3. Polichinel commented on Jul 31, 2026

    @Polichinel
    CollaboratorAuthor

    Shipped and proven by run-0. unfao/wire/run_manifest.py (58 lines) exists on development, is covered by the wire test suite, and built the run-0 commit marker on 2026-07-27 — the manifest committed at 19:40:59, after every shard and the sidecar, exactly as §4.2 requires. Independently confirmed read-only that night: the newest manifest under the §4.3 selection filters resolves to run rusty_bucket_forecasting_20260727_095355 and declares 108 shards / 64,742 cells. Closed during the development→main cleanup sweep; reopen if anything here is unfinished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementationstory

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions