Skip to content

chore: update C++ and Java snapshots to latest upstream - #13

Merged
tisonkun merged 3 commits into
mainfrom
snapshot-refresh
Oct 4, 2026
Merged

tisonkun merged 3 commits into
mainfrom
snapshot-refresh

Conversation

@leerho

@leerho leerho commented Oct 4, 2026

Copy link
Copy Markdown
Member

Updates the C++ and Java snapshot pins to the current upstream default branches and regenerates their snapshots. Also keeps .sk files tracked when a contributor's global gitignore excludes them.

Commits

All other modified files are probabilistic snapshots.

Not included: Go

Go main can't currently generate its theta and tuple snapshots. A lint cleanup (go#181) made the generators fail on ErrHashExceedsTheta, which Update returns by design. The fix is in a separate datasketches-go PR. The Go pin stays at 757a485 until that lands.

Verification

  • mise run tck -- snapshots update cpp master and snapshots update java main
  • mise run tck -- snapshots update all: C++ and Java already match their latest commits
  • mise run check

The PRs for #11 and #12 are stacked on this one.

🤖 Generated with Claude Code

leerho and others added 3 commits October 1, 2026 17:05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the Java snapshot pin from 3a1bf7f to 059b5a9, the merge of
apache/datasketches-java#774, and regenerate the Java snapshots.

Deterministic changes:
- HLL_6 and HLL_8 compact images set the compact flag (java#761).
- Empty tuple and AoS compact images write a zero seed hash.
- Adds frequent_long_purged and frequent_string_purged (java#770).

All other modifications are probabilistic snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the C++ snapshot pin from fe0261a to 16d4ea6 and regenerate the
C++ snapshots.

Deterministic changes:
- Single-item compact theta images set the single-item flag (cpp#526).
- Adds frequent_long_purged and frequent_string_purged (cpp#529).
- Removes the 27 aos_*_cpp.sk snapshots: the C++ array-of-strings tuple
  sketch was reverted (cpp#537) because its key hashing is incompatible
  with Java (cpp#533).

All other modifications are probabilistic snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tisonkun
tisonkun merged commit e7d1c50 into main Oct 4, 2026
1 check passed
@tisonkun
tisonkun deleted the snapshot-refresh branch October 4, 2026 23:25
tisonkun added a commit that referenced this pull request Oct 4, 2026
Main contains the squash merge of #13 and has the same tree as the parent of the layout change. Preserve the PR tree so all 731 snapshots keep their existing contents at the new paths.

Validated with mise run check and exact blob comparisons for all moved snapshots.
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.

2 participants