Opt-in live HPC integration tests for remote remapping#75
Merged
Conversation
Validates the remote remap paths (remap_variable, regrid_dataset, remap_to_rectilinear) end-to-end against a real Globus Compute endpoint — the gap noted when those tools were added while the endpoint was offline. - tests/test_remote_remap_live.py: skipped by default; runs only when UXMCP_LIVE_ENDPOINT/GRID/DATA/TARGET_GRID/VARIABLE are set. Asserts execution_venue=hpc:<endpoint>, worker version recorded, and (when paths are also local) that remote and local summary stats agree. - docs/remote-hpc.md: documents the opt-in suite and the remote_uxarray_version / drift-warning provenance. Verified live on Chrysalis: all three remote remap ops pass (execution_venue=hpc:chrysalis).
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.
Summary
Adds an opt-in live HPC integration test suite that validates the remote
remapping tools end-to-end against a real Globus Compute endpoint, and documents
how to run it. This closes the validation gap noted when the remap tools were
added (the endpoint was offline at the time, so the remote paths were only
exercised via mocks + running the worker functions locally).
What changed
tests/test_remote_remap_live.py— live integration tests forremap_variable,regrid_dataset, andremap_to_rectilinear. Skipped bydefault; runs only when these env vars are set:
UXMCP_LIVE_ENDPOINT,UXMCP_LIVE_GRID,UXMCP_LIVE_DATA,UXMCP_LIVE_TARGET_GRID,UXMCP_LIVE_VARIABLE. Each test assertsexecution_venue == "hpc:<endpoint>"and that the worker version is recorded;one test cross-checks that remote and local summary stats agree when both
paths are reachable.
docs/remote-hpc.md— documents the opt-in suite and theremote_uxarray_version/ drift-warning provenance.Testing
uv run pytest tests/ --ignore=tests/test_remote_agent.py— 336passed, 4 skipped (the live tests skip cleanly with no endpoint env vars).
uv run pre-commit run— all hooks pass.UXMCP_LIVE_ENDPOINT=chrysalis ...): all three remoteremap tests pass (
execution_venue=hpc:chrysalis); the remote/localcross-check skips because the Chrysalis paths are not readable on the local
dev machine (expected).
Context
The serialization fix that made the remote remap paths actually work on the
worker landed in #72; this PR adds the durable, repeatable validation for them.