Skip to content

Add an offline test target that no AWS account authorizes (GH-1495) - #1532

Merged
laughingman7743 merged 6 commits into
masterfrom
test/1495-offline-target
Nov 29, 2026
Merged

laughingman7743 merged 6 commits into
masterfrom
test/1495-offline-target

Conversation

@laughingman7743

@laughingman7743 laughingman7743 commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

WHAT

  • just test offline runs uv run --no-sync --no-env-file pytest -n auto -p no:rerunfailures -m "not aws" tests/pyathena/. The recipe:
    • first runs uv run --no-env-file true with the developer's settings, so uv syncs by its own rules (UV_NO_SYNC, UV_FROZEN, ...) before the environment is cleared, and not after;
    • unsets every AWS_* and FSSPEC_* variable, including those of a loaded .env, and HTTP_PROXY, HTTPS_PROXY and ALL_PROXY in both cases, sets NO_PROXY and no_proxy to *, and keeps uv from loading a .env back (--no-env-file, also against UV_ENV_FILE);
    • sets placeholders for the four settings that tests/__init__.py requires, so no .env is needed;
    • sets placeholder credentials that no AWS account accepts, AWS_CONFIG_FILE, AWS_SHARED_CREDENTIALS_FILE, BOTO_CONFIG and FSSPEC_CONFIG_DIR to /dev/null, and AWS_EC2_METADATA_DISABLED=true;
    • sets AWS_ENDPOINT_URL=https://offline.invalid (RFC 6761, does not resolve), AWS_MAX_ATTEMPTS=1 and POLARS_CLOUD_MAX_RETRIES=0, so a request that boto3 or Polars makes by accident fails at once.
  • isolated_aws_config also hides the legacy boto configuration (BOTO_CONFIG) and the fsspec configuration loaded at import.
  • The just test help no longer calls the pyathena target "unit tests", and lists offline.
  • .github/workflows/test.yaml: an offline job runs the target for every event, including Draft and external-fork pull requests, on Python 3.15, with contents: read, no AWS credentials, and a 20-minute timeout. changes, which starts the AWS suites, now needs it and lint.
  • docs/testing.md replaces the --noconftest section with the target, states what it sets and when a change also needs its aws tests, and describes the CI job. docs/contributing.md, AGENTS.md and the development-workflow skill point to it.

WHY

Closes #1495. Part of #1461; builds on #1515 (the aws mark).
Local work and AI agent sessions can run the tests that need no AWS without credentials and without a chance of a billed request, and Draft and fork pull requests get a test run in CI.

TEST

Tested commit: 3518bf7 (the offline runs); ae20c6c and 0abd0d0 change only the recipe comment and the guide's wording.

  • just lint; rumdl check of the changed Markdown; actionlint .github/workflows/test.yaml; shellcheck -s bash of the recipe body.
  • just test offline: 3941 passed in 24-33 s (-n auto, 24 workers locally). CI on this Draft (at 3cc2a9d): the offline job passed, 3941 tests in 48.7 s on 4 workers.
  • uv run --env-file .env just test offline under unshare -rn (loopback only), with the real .env (9 AWS_* variables) loaded, UV_ENV_FILE=.env and UV_OFFLINE=1: 3938 passed, 3 skipped (a permission test skips as root inside the namespace). A probe of the pytest process with .env, UV_ENV_FILE=.env, FSSPEC_S3_KEY and HTTPS_PROXY set shows only the recipe's settings (plain uv run restores AWS_PROFILE from UV_ENV_FILE). With FSSPEC_S3_KEY set, the four test_get_client_compatible_with_s3fs_profile cases fail outside the recipe and pass through it.
  • Selection: 4933 collected = 3941 selected + 992 aws.
  • The unset loop also works with no AWS_* variable set (env -i bash), and uses only bash 3.2 builtins (compgen).
  • Endpoint handling: on this WSL2 host a closed loopback port (127.0.0.1:9) times out instead of refusing, so boto3 waited 60 s; with https://offline.invalid, boto3 fails in 0.13 s, and Polars in 0.37 s with POLARS_CLOUD_MAX_RETRIES=0 (28.9 s with its default 8 retries). The S3FileSystem constructor that PyAthena uses for PyArrow does not read AWS_ENDPOINT_URL and resolves the real S3 host (checked without network); the docs state this, and the placeholder credentials cover it.
  • Not run: the new CI job runs on this Draft's push; the AWS suites run after the PR is marked Ready.

🤖 Generated with Claude Code

laughingman7743 and others added 2 commits November 29, 2026 16:48
`just test offline` runs the tests under tests/pyathena/ without the
`aws` mark. It unsets every AWS setting of the environment, including a
loaded .env, sets placeholders for the settings that tests/__init__.py
requires and placeholder credentials that no account accepts, and sends
the requests of clients that read AWS_ENDPOINT_URL to a closed local port
with a single attempt.

The Test workflow runs the target for every pull request, including
Drafts and external forks, without AWS credentials, and the AWS suites
start only after it passes. The testing guide, the contribution guide,
AGENTS.md and the development-workflow skill describe when the offline
target is enough and when a change also needs its `aws` tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On some hosts, such as WSL2, a connection to a closed loopback port waits
for its timeout instead of being refused, so an accidental boto3 request
took 60 seconds. https://offline.invalid fails at name resolution, and
NO_PROXY keeps a proxy from receiving it. uv run --no-env-file keeps uv
from loading a .env file back after the recipe unset AWS_*.

The AWS suites also wait for lint, the offline job has a timeout, and the
testing guide states that Polars retries for about 30 seconds and that a
test reaching AWS should request aws_test_schema.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread justfile Outdated
export AWS_ACCESS_KEY_ID=offline AWS_SECRET_ACCESS_KEY=offline
export AWS_CONFIG_FILE=/dev/null AWS_SHARED_CREDENTIALS_FILE=/dev/null
export AWS_EC2_METADATA_DISABLED=true
export AWS_ENDPOINT_URL=https://offline.invalid AWS_MAX_ATTEMPTS=1

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review round 1 (behavior and implementation; base 6acb688be38db78ffe6c6fe094281549e2c2cbf3, reviewed 3cc2a9db974e890c02969e36a6c30b63076fd640, repaired at 389c205bf26cc4e09c3755fc1f7a62ee264460bd). Covered: the _test-offline recipe and help, the offline job and the changes gate, the docs and agent guidance. Inputs: my own pass, /code-review high, /simplify.

FINDINGS (repaired):

  1. On this WSL2 host a connection to a closed loopback port times out instead of being refused (measured: 127.0.0.1:9 and :1 wait 10 s at a 10 s timeout; ::1:9 is refused), so an accidental boto3 request waited 60 s (/code-review). The endpoint is now https://offline.invalid (RFC 6761): boto3 fails in 0.13 s; Polars retries for 28 s and fails ([::1]:9: 40 s).
  2. A UV_ENV_FILE would make uv run load .env back after the unset loop (/code-review). The recipe runs uv run --no-env-file; with UV_ENV_FILE=.env, the pytest process sees AWS_PROFILE unset and the placeholder credentials (without the flag, uv restores AWS_PROFILE=pyathena).
  3. A proxy in the environment would receive requests for the endpoint (/code-review). NO_PROXY/no_proxy now include offline.invalid.
  4. The unset loop uses compgen only (bash 3.2 on macOS has no mapfile), and passes with no AWS_* variable set.

Validation at 389c205b: just test offline 3941 passed in 28 s; under unshare -rn with .env and UV_ENV_FILE=.env, 3938 passed, 3 skipped; just lint, actionlint, shellcheck, rumdl.

# The AWS suites wait for the offline checks, so a change that fails them
# does not run the AWS suites.
changes:
needs: [lint, offline]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review round 1 (behavior and implementation; base 6acb688be38db78ffe6c6fe094281549e2c2cbf3, reviewed 3cc2a9db974e890c02969e36a6c30b63076fd640, repaired at 389c205bf26cc4e09c3755fc1f7a62ee264460bd). Covered: the _test-offline recipe and help, the offline job and the changes gate, the docs and agent guidance. Inputs: my own pass, /code-review high, /simplify.

FINDINGS (repaired): the AWS suites waited for offline but not for lint (/simplify altitude and efficiency); changes now needs both, at no cost, since lint finishes first. The job had no timeout although the AWS suites wait for it (/code-review); timeout-minutes: 20. CI on this Draft at 3cc2a9db: the offline job passed, 3941 tests in 48.7 s on 4 workers, 68 s in all.

Deferred with reasons: running the offline job on every supported Python version, or merging it into lint on 3.12 (#1495 specifies the newest version); the hard-coded 3.15 beside PYTHON_VERSIONS (expressions cannot take the last element of that JSON list; a comment ties them); the duplicated setup-uv/setup-python steps (the same as test-suite.yaml); -m aws in the AWS suite to skip the offline tests there (it would drop offline coverage on the other Python versions of the Release run); the 1-3 minutes the gate adds before the AWS suites (accepted to avoid AWS runs for changes that fail offline).

Comment thread docs/testing.md
PyArrow's S3 client does not read `AWS_ENDPOINT_URL`; its requests reach AWS and are rejected for the placeholder credentials.

The recipe also runs without the rerun plugin, whose reruns cover only service-side errors of Athena and S3.
A test that reaches AWS in `just test offline` gets a connection error or a rejected request; make it request `aws_test_schema`, as described above, which also gives it the `aws` mark.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review round 1 (behavior and implementation; base 6acb688be38db78ffe6c6fe094281549e2c2cbf3, reviewed 3cc2a9db974e890c02969e36a6c30b63076fd640, repaired at 389c205bf26cc4e09c3755fc1f7a62ee264460bd). Covered: the _test-offline recipe and help, the offline job and the changes gate, the docs and agent guidance. Inputs: my own pass, /code-review high, /simplify.

FINDINGS (repaired): the guide told a contributor to give a test that reaches AWS the aws mark, which would deselect it without the session setup; it now says to request aws_test_schema (/code-review). The guide claimed that AWS_MAX_ATTEMPTS makes Polars fail at once; object_store does not read it, and the guide now states its retries (/code-review). AGENTS.md's "cannot be authorized by an account" was unclear; it links to this section instead (/simplify).

Deferred: shortening the list of what the recipe sets (/simplify); it states the guarantee a reader relies on. Keeping AWS_SHARED_CREDENTIALS_FILE=/dev/null and AWS_EC2_METADATA_DISABLED=true although environment credentials come first: some tests delete the credential variables and would then fall back to those sources.

Comment thread docs/testing.md Outdated

- placeholder values for the four settings that `tests/__init__.py` requires;
- placeholder credentials that no AWS account accepts, empty AWS config and credentials files, and `AWS_EC2_METADATA_DISABLED=true`, so that no request made by accident is authorized;
- `AWS_ENDPOINT_URL=https://offline.invalid`, a reserved name that does not resolve, excluded from any proxy, and `AWS_MAX_ATTEMPTS=1`, so that a request that boto3 makes by accident fails at once without reaching AWS.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review round 2 (claims, callers, operation; base 6acb688be38db78ffe6c6fe094281549e2c2cbf3, head 389c205bf26cc4e09c3755fc1f7a62ee264460bd). Full pass over the guide, docs/contributing.md, AGENTS.md, the skill text, the recipe comment and help, the workflow comments, the PR body, the commit messages, and #1495's validation plan.

Claims checked:

  • "unsets every AWS_* variable ... keeps uv from loading a .env file": the recipe's process sees placeholders with .env loaded and with UV_ENV_FILE=.env.
  • "credentials that no AWS account accepts": the access key offline is not a valid key ID; no request is authorized.
  • "a reserved name that does not resolve, excluded from any proxy": offline.invalid fails resolution in 0.02 s here (RFC 6761); botocore bypasses proxies through no_proxy (botocore/utils.py:3201, should_bypass_proxies).
  • "Polars ... retries them for about 30 seconds": 28 s measured with object_store's 8 retries.
  • "PyArrow's S3 client does not read AWS_ENDPOINT_URL": checked without network; it resolves the real S3 host.
  • GitHub Actions section: the offline job has no if, so it runs for Draft and fork pull requests that change files other than docs and Markdown (the workflow's paths-ignore); changes needs lint and offline, also for the schedule and the Release workflow.
  • AGENTS.md links to docs/testing.md#run-the-tests-that-need-no-aws, GitHub's anchor for that heading; the Sphinx label testing-offline is kept.
  • Add an offline test target that cannot reach AWS #1495's validation plan: selection compared (4933 = 3941 + 992 aws); run under unshare -rn without real credentials; endpoint behavior of PyArrow and Polars recorded; run time recorded locally and in CI.

Callers: just test pyathena, sqla and sqla-async, tox, and test-suite.yaml are unchanged; the new gate delays the AWS suites by the offline job's run time (about 70 s, plus the runner start).

CLEAN.

fsspec applies FSSPEC_S3_* variables and its configuration files to every
filesystem it constructs, so a developer's fsspec credentials reached
PyAthena's S3FileSystem; the legacy boto configuration is a credential
source for clients built without credentials; Polars retried an accidental
request for about 30 seconds. The recipe unsets FSSPEC_* and the proxy
variables, hides the fsspec and boto configuration, and sets
POLARS_CLOUD_MAX_RETRIES=0. It syncs the environment before changing it,
so uv neither uses the cleared settings to sync nor syncs during the run.
isolated_aws_config hides the boto configuration too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread justfile
#!/usr/bin/env bash
set -euo pipefail
uv sync --inexact
for name in $(compgen -e AWS_) $(compgen -e FSSPEC_); do unset "$name"; done

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review (relayed): Codex CLI (codex exec -s read-only, session 01a22665-425e-74b1-91c0-bf1099100a36; a first run was cut off by a session restart and is discarded), static review of 6acb688be38db78ffe6c6fe094281549e2c2cbf3..389c205bf26cc4e09c3755fc1f7a62ee264460bd in a detached snapshot with a neutral prompt; no edits, builds, or tests. Covered: fixture-derived marks, import-time settings, credential providers, filesystem clients, proxies, retries, bash 3.2 behavior, --no-env-file against UV_ENV_FILE, the job's permissions and needs semantics for pull_request, schedule, dispatch and workflow_call, concurrency, and the docs. Result: FINDINGS (8). Repairs at d6c05189a6851c1c342b20c61c25cf2ce92fb464.

  1. fsspec can supply live credentials and an endpoint (FSSPEC_S3_*, fsspec config files): repaired. Reproduced first: with FSSPEC_S3_KEY set, the four test_get_client_compatible_with_s3fs_profile cases fail, because fsspec applies its configuration in the filesystem metaclass (fsspec/spec.py:93). The recipe unsets FSSPEC_* and sets FSSPEC_CONFIG_DIR=/dev/null (not a directory, so no files are read); with the variable set, just test offline passes.
  2. isolated_aws_config exposes the legacy boto configuration (BOTO_CONFIG, ~/.boto): repaired in the recipe (BOTO_CONFIG=/dev/null) and the fixture.
  3. An anonymous PyArrow filesystem can read a public object: not changed; the guard is the environment-variable layer agreed on Run tests locally without AWS charges #1461, and an unsigned read bills the bucket owner, not the developer's account. Repaired the guide's PyArrow sentence: the S3FileSystem constructor that PyAthena uses does not read AWS_ENDPOINT_URL (the URI factory does).
  4. Polars retries an accidental request: repaired with POLARS_CLOUD_MAX_RETRIES=0; measured 28.9 s → 0.37 s.
  5. and 7. The no_proxy merge loses exclusions; uv's automatic sync runs in the cleared environment: repaired together: the recipe runs uv sync --inexact first with the developer's settings, then unsets the proxy variables (no NO_PROXY merge any more) and runs uv run --no-sync --no-env-file. A probe of the pytest process with FSSPEC_S3_KEY, HTTPS_PROXY, UV_ENV_FILE=.env and .env loaded shows only the recipe's settings.
  6. An inherited PYTEST_ADDOPTS can turn the run into a collection: not changed; it is the developer's own pytest setting, and CI's offline job sets none.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repair self-review, round 1 perspective (389c205b..d6c05189). Checked: compgen -e FSSPEC_ with no such variable and set -u; unset of proxy variables that are not set; uv sync --inexact matches what uv run syncs (the default groups include dev) and keeps packages that uv run would keep; uv run --no-sync cannot sync with the cleared settings; FSSPEC_CONFIG_DIR=/dev/null is skipped by fsspec.config.set_conf_files (os.path.isdir); the fixture's BOTO_CONFIG points at a missing file in tmp_path. CI's offline job has no proxy and a cold cache syncs in the first step. CLEAN.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repair self-review, round 2 perspective (389c205b..d6c05189). Claims checked: the recipe comment and the guide's list match the recipe line by line; "fails at once" now holds for boto3 (0.13 s) and Polars (0.37 s); the PyArrow sentence is limited to the constructor that PyAthena uses; the fixture docstring names the boto file. The PR body is updated. CLEAN.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent follow-up (relayed): Codex CLI (codex exec -s read-only, session 01a22676-1914-7911-ad13-65c1ce82f799), static review of 389c205b..d6c05189. Findings 1, 2, 3, 5, 6 and 7 of the first review resolved for their scenarios. New FINDINGS (4), all repaired in 3518bf73:

  1. Without proxy variables, Python's getproxies() falls back to the macOS system proxy, and a mixed-case Https_Proxy survived the unset: the recipe sets NO_PROXY='*' and no_proxy='*'.
  2. Outside the recipe, fsspec has already loaded FSSPEC_S3_* at import, so isolated_aws_config did not isolate the fsspec settings: the fixture replaces fsspec.config.conf for its lifetime (apply_config reads the module global at call time). With FSSPEC_S3_KEY set and no recipe, the isolated tests pass (21 selected).
  3. uv sync --inexact ignored UV_NO_SYNC: the recipe syncs with uv run --no-env-file true, which follows uv's own rules; UV_NO_SYNC=1 just test offline passes.
  4. The recipe comment promised one attempt for Polars: it now says "without retries".

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repair self-review, both perspectives (d6c05189..3518bf73). Behavior: NO_PROXY=* makes urllib.request.getproxies() return only the no entry and proxy_bypass_environment bypass every host; uv run --no-env-file true syncs exactly as the later uv run --no-sync would have; the fixture's monkeypatch.setattr restores fsspec.config.conf after each test. Claims: the recipe comment, the fixture docstring, and the guide's "bypasses every proxy" match the code. Validation at 3518bf73: just lint, shellcheck, rumdl; just test offline 3941 passed with UV_NO_SYNC=1; under unshare -rn with .env, UV_ENV_FILE and UV_OFFLINE=1, 3938 passed, 3 skipped. CLEAN.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent follow-up 2 (relayed): Codex CLI (codex exec -s read-only, session 01a227c7-9f84-79d2-836c-ddcb4ce51230; an earlier run was stopped by the host for low memory and is discarded), static review of d6c05189..3518bf73. All four findings of follow-up 1 resolved (botocore's macOS fallback and mixed-case proxies bypassed for offline.invalid; the fixture's fsspec isolation; uv run ... true honors UV_FROZEN, UV_LOCKED and UV_NO_SYNC). New FINDINGS (3):

  1. With UV_ISOLATED=1, the first uv run installs into a temporary environment and the second skips installation: not changed; isolated mode with a project command is unusual, and wrapping the whole recipe in one uv run would move the cleanup into a separate script.
  2. "Bypasses every proxy" overstates it (Polars' reqwest matches * against domain names, not literal IPs): repaired in ae20c6c2; the guide and the recipe comment name NO_PROXY='*' instead.
  3. "Without retries" overstates it (Polars can rebuild the store and repeat a range read): repaired; the comment names AWS_MAX_ATTEMPTS=1 and POLARS_CLOUD_MAX_RETRIES=0.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repair self-review, both perspectives (3518bf73..ae20c6c2, comment and docs wording only): the recipe comment and the guide now name the settings the recipe exports, line for line; no code changed, so the validation at 3518bf73 stands. CLEAN.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent follow-up 3 (relayed): Codex CLI (session 01a227d1-3095-7cb1-884d-a2f8af2c64c2), static review of 3518bf73..ae20c6c2. The retry wording is accurate. FINDINGS (1, wording): "unset every ... proxy setting" overstated it, since a mixed-case name such as Https_Proxy survives the unset (and is bypassed by NO_PROXY='*'). Repaired in 0abd0d03: both texts list HTTP_PROXY, HTTPS_PROXY and ALL_PROXY in upper and lower case and NO_PROXY/no_proxy. Repair self-review (both perspectives): wording only, matches the recipe line for line; CLEAN.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent follow-up 4 (relayed): Codex CLI (session 01a227d2-fb51-70a1-8045-0e90ff388d0a), static review of ae20c6c2..0abd0d03: CLEAN.

Comment thread docs/testing.md

- placeholder values for the four settings that `tests/__init__.py` requires;
- placeholder credentials that no AWS account accepts, empty AWS, boto, and fsspec configuration, and `AWS_EC2_METADATA_DISABLED=true`, so that no request made by accident is authorized;
- `AWS_ENDPOINT_URL=https://offline.invalid`, a reserved name that does not resolve, with `AWS_MAX_ATTEMPTS=1` and `POLARS_CLOUD_MAX_RETRIES=0`, so that a request that boto3 or Polars makes by accident fails at once without reaching AWS.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review (relayed): Codex CLI (codex exec -s read-only, session 01a22665-425e-74b1-91c0-bf1099100a36; a first run was cut off by a session restart and is discarded), static review of 6acb688be38db78ffe6c6fe094281549e2c2cbf3..389c205bf26cc4e09c3755fc1f7a62ee264460bd in a detached snapshot with a neutral prompt; no edits, builds, or tests. Covered: fixture-derived marks, import-time settings, credential providers, filesystem clients, proxies, retries, bash 3.2 behavior, --no-env-file against UV_ENV_FILE, the job's permissions and needs semantics for pull_request, schedule, dispatch and workflow_call, concurrency, and the docs. Result: FINDINGS (8). Repairs at d6c05189a6851c1c342b20c61c25cf2ce92fb464.

  1. Documentation-only pull requests never start the offline job: not changed; the Test workflow's paths-ignore for docs/** and Markdown is the existing policy, and such changes need no tests. The guide states which pull requests the workflow runs for.

Validation at d6c05189: just lint, shellcheck, rumdl; just test offline 3941 passed; with FSSPEC_S3_KEY, FSSPEC_S3_ENDPOINT_URL, UV_ENV_FILE=.env and .env loaded, 3941 passed; under unshare -rn with UV_OFFLINE=1, 3938 passed, 3 skipped.

laughingman7743 and others added 3 commits November 29, 2026 17:50
Without proxy variables, Python falls back to the system proxy on macOS,
and a mixed-case variable survived the unset; NO_PROXY=* bypasses them
all. The recipe syncs with `uv run --no-env-file true`, which follows
uv's own rules such as UV_NO_SYNC, instead of an unconditional uv sync.
isolated_aws_config also hides the fsspec configuration that fsspec loads
at import, for runs outside the recipe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…H-1495)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@laughingman7743
laughingman7743 marked this pull request as ready for review November 29, 2026 15:07
@laughingman7743
laughingman7743 merged commit 2885fe2 into master Nov 29, 2026
18 checks passed
@laughingman7743
laughingman7743 deleted the test/1495-offline-target branch November 29, 2026 15:49
laughingman7743 added a commit that referenced this pull request Nov 30, 2026
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.

Add an offline test target that cannot reach AWS

1 participant