Repository navigation
fix(training): guard HF dataset snapshots with parent-commit CAS - #195
DrAbdulmalek wants to merge 12 commits into
Conversation
|
Follow-up hardening at head
Live CI has restarted for this head. At the last read, Docker and Secret Gate were still in progress and HF Space Drift Gate was queued. No Python test pass is claimed yet; PR remains Draft. No HF upload or merge was performed. |
|
Independent CI re-check at head Additional review note: |
|
Follow-up commits on the PR branch only:
Fresh runs for head |
|
CI re-check complete for head Independent review remains required before changing Draft status. The service integration tests deliberately monkeypatch the CAS boundary, while the dedicated CAS tests exercise the helper itself; this is documented and useful separation, but does not replace a final review of the integration wiring and upstream stacked PRs. PR #191's observed workflow runs are green; PR #194's observed Secret Gate, HF Space Drift Gate, and Docker runs are green. PR #194 and #195 remain stacked and open, so no merge action has been taken. No changes to |
DrAbdulmalek
left a comment
There was a problem hiding this comment.
Independent review of PR #195 at head 286ce31a3cd7a411452a0af6b740697572c5637b:
Verified: the focused offline CI job ran 40 tests across CAS, export-integrity, and training-integrity suites; all 40 passed. Secret Gate, HF Space Drift Gate, and Docker workflow runs also completed successfully. The baseline is pinned to a SHA, the same SHA is passed as parent_commit, and stale-parent errors are propagated without retry. Unknown files under data/ are now included in layout validation, and the .bin regression is covered.
Residual review limits: the service integration fixture intentionally mocks get_verified_dataset_baseline and push_parquet_snapshot_with_cas; therefore the 40 passing tests do not prove the real service-to-Hub integration end-to-end. They do prove the dedicated CAS helper with fake API objects, and service ledger/staging behavior with a mocked boundary. No live Hub write should be used as a CI test.
Disposition: keep Draft pending review of the stacked dependency chain (#191 → #194 → #195) and confirmation that the parent PRs remain on the intended heads. This is a COMMENT review, not approval or merge authorization. No main-branch change or live HF upload.
Independent follow-up audit — 2026-10-12Re-checked the live PR chain and the workflow job logs. This is an audit comment, not an approval. Verified on current heads
Code-path checks
Remaining limitation / follow-upThe writer currently hard-codes Disposition: CAS_TESTS_PASSED — REVIEW_PENDING. Keep this PR Draft. Do not merge this stacked chain until the base PR and the full chain have received independent review. |
4cef8a9 to
7e78ec6
Compare
d4ec14d to
747acd5
Compare
34ab1be to
d9dd336
Compare
aa6f719 to
77a9a5c
Compare
Summary
HfApi.create_commit(parent_commit=...)to make the snapshot replacement conditional on the remote head still matching the baseline.data/; multi-shard and non-Parquet layouts remain unsupported rather than risking data loss.Safety / validation
feat/training-delivery-concurrency-followup.main; no merge.