Skip to content

fix(ci): hydrate script crashes on null snapshot byte sizes#229

Merged
dfa1 merged 1 commit into
mainfrom
fix/hydrate-null-bytes
Jul 7, 2026
Merged

fix(ci): hydrate script crashes on null snapshot byte sizes#229
dfa1 merged 1 commit into
mainfrom
fix/hydrate-null-bytes

Conversation

@dfa1

@dfa1 dfa1 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

The Raincloud conformance workflow (#205) failed on its first supervised run: the hydrate step's Python size-cap used entry.get("parquet_bytes", 0), which returns the default only for ABSENT keys. Four corpus slugs (jsonbench-bluesky-100m, wikipedia-structured-contents, code-contests, bi-commongovernment) carry an explicit "parquet_bytes": null (not-yet-hashed), so .get returns None and None + int raised TypeError, aborting the whole hydrate step. Coerce both fields with or 0. Found by the supervised workflow_dispatch run done to validate the workflow before its Monday schedule; will re-trigger after merge to confirm end-to-end.

🤖 Generated with Claude Code

The Raincloud conformance workflow failed on its first real run: the
size-cap computation used entry.get('parquet_bytes', 0), but .get returns
the default only for ABSENT keys — a snapshot entry with an explicit
"parquet_bytes": null (a not-yet-hashed slug: jsonbench-bluesky-100m,
wikipedia-structured-contents, code-contests, bi-commongovernment) returns
None, and None + int raised TypeError, aborting the whole hydrate step.
Coerce both fields with 'or 0' so missing and null both cap as 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit 6e42a30 into main Jul 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant