Add safe backfill for the public experiment archive - #858
Draft
YuanYuan98 wants to merge 1 commit into
Draft
Conversation
YuanYuan98
force-pushed
the
u/yuanyuan/public-experiment-backfill
branch
from
August 25, 2026 14:16
4462b97 to
ad85599
Compare
YuanYuan98
changed the base branch from
main
to
u/yuanyuan/public-experiment-publishing
August 25, 2026 14:16
YuanYuan98
force-pushed
the
u/yuanyuan/public-experiment-backfill
branch
2 times, most recently
from
August 25, 2026 14:59
7ea54c2 to
49b6ac1
Compare
YuanYuan98
force-pushed
the
u/yuanyuan/public-experiment-backfill
branch
from
August 25, 2026 15:00
49b6ac1 to
553b23a
Compare
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.
Historical backfill follow-up for #711. This PR is stacked on #859 and can remain draft until the team agrees on per-user source paths and permissions.
Goal
Copy existing successful and failed experiment run directories into the public archive after an authorized operator has reviewed them.
What changed
backfillcommand to the archive helper from Publish team Torch experiments to OSN by default #859--ownerfor each migration<owner>/<run-name>so identical run names from different users cannot collide--runselection/scratch, and symlinked roots/runsThe default destination inherited from #859 is
nyu-osn:m2lines-pubs/Samudra/experiments/<owner>/<run-name>.Verification
uv run pytest tests/test_experiment_archive.py(24 passed in the stacked tree)uv run mypy scripts/experiment_archive.pygit diff --checkNo historical data is moved by this PR itself. Running the migration remains a separate operator action after paths and permissions are agreed.