fix(measurement): allow rewrite W&B records and project dirs#221
Open
lipikaramaswamy wants to merge 3 commits into
Open
fix(measurement): allow rewrite W&B records and project dirs#221lipikaramaswamy wants to merge 3 commits into
lipikaramaswamy wants to merge 3 commits into
Conversation
Signed-off-by: lipikaramaswamy <lramaswamy@nvidia.com>
Contributor
Greptile SummaryThis PR updates W&B measurement validation and related path handling. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (3): Last reviewed commit: "fix(measurement): allow wandb output und..." | Re-trigger Greptile |
binaryaaron
approved these changes
Jul 13, 2026
Collaborator
There was a problem hiding this comment.
agent (
review-pr): Approved with two non-blocking test suggestions
The mode-aware validation looks correct, and I verified both positive and negative cases locally.
Two non-blocking suggestions:
- Add regression tests showing that replace mode still rejects missing
replacemetadata and rewrite mode rejects missingrewritemetadata. That validator is what prevents the nullable fields from widening the accepted schema, and the current positive tests would still pass if it were removed. - Use
moderateorlowinstead of the unsupportedmediumrisk tolerance in the rewrite fixture.
Otherwise, this looks ready.
Signed-off-by: Lipika Ramaswamy <lramaswamy@nvidia.com>
Collaborator
Author
|
Thanks for the review @binaryaaron. Since your approval, I pushed follow-ups to address the test coverage suggestions and another shared cluster storage / W&B path-validation issue. Changes since your review:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Fixes #220.
Plan Document
No plan required: narrow bug fix for W&B measurement schema/path validation.
Summary
nullor omitted.Type of Change
Contributor Checklist
fix: handle empty entity listskills/anonymizer/SKILL.mdupdated if neededValidation
uv run pytest tests/tools/test_measurement_ingress_completion.py -k "rewrite or active_mode or root_owned"uv run pytest tests/tools/test_measurement_wandb_logging.py -k "root_owned or isolates_routing"TMPDIR=/tmp uv run pytest tests/tools/test_measurement_ingress_completion.py tests/tools/test_measurement_wandb_logging.pymake checkmake formatwas not run separately becausemake checkincludes the read-onlyformat-check, which passed with179 files already formatted.make checkcompleted successfully; its advisorytypecheckstep reported existing diagnostics and is ignored by the Makefile.Documentation and Artifacts
make docs-buildpasses locallymake convert-notebooks