Skip to content

[SPECIAL BUILD — DO NOT MERGE] checkpointing: §4.7.1 gap breach warns instead of invalidating#834

Draft
FileSystemGuy wants to merge 2 commits into
mainfrom
checkpoint-split-gap-warning
Draft

[SPECIAL BUILD — DO NOT MERGE] checkpointing: §4.7.1 gap breach warns instead of invalidating#834
FileSystemGuy wants to merge 2 commits into
mainfrom
checkpoint-split-gap-warning

Conversation

@FileSystemGuy

Copy link
Copy Markdown
Contributor

Do not merge

One-off special build for a single submitter. This PR exists so the change is reviewable and the branch is buildable; it is not intended to land on main.

What it changes

Downgrades the >30 s write→read inter-phase gap breach in split-mode checkpointing submissions (Rules.md §4.7.1) from a hard error to a warning, in both enforcement points:

  • Submission checker (mlpstorage_py/submission_checker/checks/checkpointing_checks.py, cache_flush_validation): emits warn_violation instead of log_violation and no longer returns False on a gap breach.
  • Reportgen-side rules checker (mlpstorage_py/rules/submission_checkers/checkpointing.py, check_invocation_structure): emits a warning-severity CLOSED issue instead of PARAM_VALIDATION.INVALID, so the verifier no longer marks the submission INVALID.

Unchanged (still hard errors): missing/unparseable timestamps, overlapping phases (negative gap remains the clock-skew warning it already was), wrong invocation counts/shapes.

Testing

TDD: first commit updates/adds the tests RED (gap breach expected to warn), second commit turns them GREEN. All four CI suites pass locally: tests (2939), mlpstorage_py/tests (890), kv_cache_benchmark/tests (238), vdb_benchmark/tests (228).

Special build for one submitter: a >30s write→read inter-phase gap in a
split-mode checkpointing submission must be reported as a warning rather
than a hard error, in both the submission checker
(cache_flush_validation) and the reportgen-side rules checker
(check_invocation_structure).
…of invalidating

Downgrade the >30s write→read inter-phase gap breach from a hard error
to a warning in both enforcement points:

- submission checker cache_flush_validation: warn_violation instead of
  log_violation; the check no longer returns False for a gap breach
- reportgen-side check_invocation_structure: warning-severity CLOSED
  issue instead of PARAM_VALIDATION.INVALID

Missing/unparseable timestamps and overlapping phases remain hard
errors. One-off build for a single submitter; not intended for merge.
@github-actions

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@zhenghh04

Copy link
Copy Markdown
Contributor

This does not work. Open still check the timestamp gap

FileSystemGuy added a commit that referenced this pull request Jul 25, 2026
Downgrade the >30s write→read inter-phase gap breach from a hard error
to a warning in both enforcement points:

- submission checker cache_flush_validation: warn_violation instead of
  log_violation; the check no longer returns False for a gap breach
- reportgen-side check_invocation_structure: warning-severity CLOSED
  issue instead of PARAM_VALIDATION.INVALID

Missing/unparseable timestamps and overlapping phases remain hard
errors.

Originally authored on the checkpoint-split-gap-warning special build
(PR #834) for one submitter; Curtis decided 2026-07-24 the relaxation
applies to the whole v3.0 review tree, so it lands on the integration
branch for all submitters (worklist A7). Cherry-picked from c45278c.
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