Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: temporalio/samples-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: temporalio/samples-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gc-between-tests
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 13, 2026

  1. Run the garbage collector between tests

    Objects a test leaves in reference cycles were collected whenever an
    allocation crossed the collector's threshold, which could be on a
    workflow thread in the middle of a sandboxed import. redis-py's
    ConnectionPool.__del__ runs an import, and on CPython before 3.12 an
    import started by a finalizer while the same thread is inside
    importlib's module-lock acquire leaks that lock (python/cpython#91351),
    so the next sandbox import of that module waits forever. That is the
    Python 3.10 CI stall. An autouse fixture now collects on the main
    thread after every test.
    DABH committed Nov 13, 2026
    Configuration menu
    Copy the full SHA
    f463165 View commit details
    Browse the repository at this point in the history
  2. clean up

    DABH committed Nov 13, 2026
    Configuration menu
    Copy the full SHA
    11c632c View commit details
    Browse the repository at this point in the history
Loading