From 4bbab8052f5502381bae93433a4ae4aa03734fae Mon Sep 17 00:00:00 2001 From: Salman Quazi Date: Fri, 28 Aug 2026 13:43:24 -0700 Subject: [PATCH 1/3] chore: add a justfile for common dev commands Wraps the commands already documented in CLAUDE.md (install, test, lint, format, docs-sync) so they are discoverable via `just --list` and harder to get subtly wrong. `just test` mirrors the CI invocation, including the same --ignore set and marker filter. Independent of the RFC 005 work; split out so it can land or be dropped on its own. Co-Authored-By: Claude Opus 5 --- justfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000000..788284849e --- /dev/null +++ b/justfile @@ -0,0 +1,23 @@ +# Common development commands for OpenEnv. Run `just` to list recipes. + +export PYTHONPATH := "src:envs" + +# List available recipes +default: + @just --list + +# Install dependencies +install: + uv sync --all-extras + +# Run the test suite (excludes envs that need special setup, like CI) +test: + uv run pytest tests/ -v --tb=short \ + --ignore=tests/envs/test_browsergym_environment.py \ + --ignore=tests/envs/test_dipg_environment.py \ + --ignore=tests/envs/test_websearch_environment.py \ + -m "not integration and not network and not docker" + +# Run a single test file or pattern, e.g. `just test-one tests/core/test_agentic_harness_types.py` +test-one target: + uv run pytest {{target}} -v --tb=short \ No newline at end of file From 58f92f7fbfbddab8d38ad629132af370feaf9473 Mon Sep 17 00:00:00 2001 From: burtenshaw Date: Mon, 21 Sep 2026 13:55:25 +0200 Subject: [PATCH 2/3] fix: add final newline --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 788284849e..a42835b8d7 100644 --- a/justfile +++ b/justfile @@ -20,4 +20,4 @@ test: # Run a single test file or pattern, e.g. `just test-one tests/core/test_agentic_harness_types.py` test-one target: - uv run pytest {{target}} -v --tb=short \ No newline at end of file + uv run pytest {{target}} -v --tb=short From ac5a7ec52b3c9d7a5a05afa97961a0b430a08440 Mon Sep 17 00:00:00 2001 From: burtenshaw Date: Mon, 21 Sep 2026 15:35:50 +0200 Subject: [PATCH 3/3] docs: fix just test example --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index a42835b8d7..131f999472 100644 --- a/justfile +++ b/justfile @@ -18,6 +18,6 @@ test: --ignore=tests/envs/test_websearch_environment.py \ -m "not integration and not network and not docker" -# Run a single test file or pattern, e.g. `just test-one tests/core/test_agentic_harness_types.py` +# Run a single test file or pattern, e.g. `just test-one tests/core/test_state_schema_subclass.py` test-one target: uv run pytest {{target}} -v --tb=short