Skip to content

Commit

Permalink
[core] Enable lineage reconstruction in CI (ray-project#21519)
Browse files Browse the repository at this point in the history
Enables lineage reconstruction in all CI and release tests.
  • Loading branch information
stephanie-wang authored and simonsays1980 committed Mar 8, 2022
1 parent af8c9c1 commit 6e8417f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,5 @@ build:ubsan --linkopt -fno-sanitize-recover=all
# Import local specific llvm config options, which can be generated by
# ci/travis/install-llvm-dependencies.sh
try-import %workspace%/.llvm-local.bazelrc

test:ci --test_env=RAY_lineage_pinning_enabled=1
4 changes: 4 additions & 0 deletions release/e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,12 +1510,16 @@ def run_test_config(
if state_json is None:
state_json = "/tmp/release_test_state.json"

custom_env_vars = {
"RAY_lineage_pinning_enabled": "1",
}
env_vars = {
"RAY_ADDRESS": os.environ.get("RAY_ADDRESS", "auto"),
"TEST_OUTPUT_JSON": results_json,
"TEST_STATE_JSON": state_json,
"IS_SMOKE_TEST": "1" if smoke_test else "0",
}
env_vars.update(custom_env_vars)

with open(os.path.join(local_dir, ".anyscale.yaml"), "wt") as f:
f.write(f"project_id: {project_id}")
Expand Down

0 comments on commit 6e8417f

Please sign in to comment.