85f5b8d2b3
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Low Risk** > Mostly CI/test changes plus a small logging tweak; low production impact, with main risk being altered test timing/flake behavior due to new timeout defaults. > > **Overview** > Improves release-candidate GitHub workflows by passing sanitized `tag`/`preid` via step `env` vars and quoting them when running `npm version`/`npm publish`, reducing the chance of input/expansion issues. > > Stabilizes sandbox internet-access tests in JS and Python by switching the curl target to Google’s `generate_204` endpoint and updating expected status codes. Python tests also tighten global `pytest` timeout to 30s, remove per-sandbox default timeouts from fixtures, and add 180s timeouts specifically for template test suites via new `conftest.py` files. > > CLI sandbox status polling now logs the caught error when `Sandbox.getInfo` fails (instead of silently returning `false`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 187849338dd46f9d0dd1adb0a070719ebad87309. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
12 lines
377 B
INI
12 lines
377 B
INI
# content of pytest.ini
|
|
[pytest]
|
|
markers =
|
|
skip_debug: skip test if E2B_DEBUG is set.
|
|
|
|
asyncio_mode=auto
|
|
addopts = "--import-mode=importlib"
|
|
timeout = 30
|
|
filterwarnings =
|
|
ignore:'asyncio\.iscoroutinefunction' is deprecated.*:DeprecationWarning:pytest_asyncio\.plugin
|
|
ignore:'asyncio\.get_event_loop_policy' is deprecated.*:DeprecationWarning:pytest_asyncio\.plugin
|