Skip to content

Opt-in live HPC integration tests for remote remapping#75

Merged
rajeeja merged 1 commit into
mainfrom
rajeeja/remote-remap-live-validation
Jul 13, 2026
Merged

Opt-in live HPC integration tests for remote remapping#75
rajeeja merged 1 commit into
mainfrom
rajeeja/remote-remap-live-validation

Conversation

@rajeeja

@rajeeja rajeeja commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

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 for
    remap_variable, regrid_dataset, and remap_to_rectilinear. Skipped by
    default; 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 asserts
    execution_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 the
    remote_uxarray_version / drift-warning provenance.

Testing

  • Default uv run pytest tests/ --ignore=tests/test_remote_agent.py336
    passed, 4 skipped
    (the live tests skip cleanly with no endpoint env vars).
  • uv run pre-commit run — all hooks pass.
  • Live on Chrysalis (UXMCP_LIVE_ENDPOINT=chrysalis ...): all three remote
    remap tests pass (execution_venue=hpc:chrysalis); the remote/local
    cross-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.

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).
@rajeeja
rajeeja merged commit 133d92d into main Jul 13, 2026
7 checks passed
@rajeeja
rajeeja deleted the rajeeja/remote-remap-live-validation branch July 13, 2026 22:51
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.

1 participant