fix: make dotnet run

This commit is contained in:
2026-07-20 21:54:09 +02:00
parent 3b09de311b
commit 60cb143402
5 changed files with 21 additions and 3 deletions
+8
View File
@@ -16,6 +16,14 @@ def test_enables_codegraph_in_shared_codex_config() -> None:
assert codegraph["env"]["CODEGRAPH_TELEMETRY"] == "0"
def test_compose_allows_nested_codex_procfs() -> None:
root = Path(__file__).parents[1]
compose = (root / "compose.yaml").read_text()
assert "systempaths=unconfined" in compose
def test_extracts_thread_id_from_jsonl() -> None:
output = '\n'.join(
[
+3 -1
View File
@@ -7,4 +7,6 @@ def test_dotnet_wrapper_uses_sandbox_writable_runtime_directories() -> None:
assert 'DOTNET_CLI_HOME="${DOTNET_CLI_HOME:-/tmp/agentci-dotnet}"' in script
assert 'NUGET_PACKAGES="${NUGET_PACKAGES:-/tmp/agentci-nuget/packages}"' in script
assert 'mkdir -p "$DOTNET_CLI_HOME" "$NUGET_PACKAGES"' in script
http_cache = 'NUGET_HTTP_CACHE_PATH="${NUGET_HTTP_CACHE_PATH:-/tmp/agentci-nuget/http-cache}"'
assert http_cache in script
assert 'export HOME="$DOTNET_CLI_HOME"' in script