Skip to content

Pass save!'s digest to mark_done!, so .done names the bytes each attempt wrote - #54

Merged
sotashimozono merged 1 commit into
mainfrom
pass-save-result
Sep 22, 2026
Merged

sotashimozono merged 1 commit into
mainfrom
pass-save-result

Conversation

@sotashimozono

Copy link
Copy Markdown
Member

DataVault 0.8.3 (QAtlasHub/DataVault.jl#53) makes save! return (; file, sha256), the digest taken from the temporary file before the rename, and lets mark_done!(…; result) write it into a version-2 .done. This passes it through in _run_one_with_retry!, and adds it to the key_done event.

  • DataVault compat floor → 0.8.3. Version 0.6.5.
  • New test test/run/test_run_result_digest.jl: after run!, every .done is version 2 and its result_sha256 / result_file match the data file.
  • Locally, against DataVault at the merged commit: the new test + test_run_minimal.jl (36) and test_run_worker_load.jl (9, spawns workers, so the pmap path) pass.

CI will not resolve until DataVault 0.8.3 is in General — JuliaRegistries/General#169052 is open. Re-run then.

This is the first step of stage C (per-point provenance); the per-process source observation and its binding come next.

🤖 Generated with Claude Code

…mpt wrote

DataVault 0.8.3's save! returns the SHA-256 it took from the temporary file before the rename;
_run_one_with_retry! now hands it to mark_done!(…; result), and the key_done event carries it too.
Without it a version-2 marker says `result_sha256=unknown`.

The DataVault floor moves to 0.8.3, where that API arrived. Version 0.6.5.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📚 Docs preview: https://qatlashub.github.io/SweepRunner.jl/previews/PR54/

(updates on each push to this PR)

@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sotashimozono
sotashimozono merged commit 06b38d5 into main Sep 22, 2026
20 of 27 checks passed
@sotashimozono
sotashimozono deleted the pass-save-result branch September 22, 2026 08:21
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