Skip to content

v2.1.56

Choose a tag to compare

@github-actions github-actions released this 31 Oct 07:28
· 52 commits to main since this release

Commits

  • a4628ff release: 2.1.56 notes match the code on main (Opus high review of 10f9379: LOW x3): T-10690's src count is what shipped (25 files, +167 -183), and its Phase 3 and Browser.close sentences name where T-10842 moved them
  • 783aafe release: 2.1.56
  • 691da52 fix(T-10842): a shutdown during a cancelled close's grace kills nothing (Phase 3 only after the grace returns); the skipped second Browser.close is logged
  • 185b938 fix(T-10842): a close cancelled in Phase 2 or 2b ends like a normal close, after Chrome's own exit: Phase 3 runs in the background task, settle no longer kills on a cancel, no second Browser.close over a dropped socket (round-2 review of 6fbf96d)
  • b09c56a fix(T-10842): a close cancelled in Phase 2 gives Chrome its own exit before any kill: Browser.close and settle run in a held background task (Opus review of bf90fed)
  • ba12382 fix(T-10842): a close_instance cancelled in Phase 2 ends the browser it claimed (process_exit.kill_on_cancel)
  • ee4a9dc test(T-10690): test_zero_timeout_uses_default (T-10957, merged after this branch's base) records the bound handed to asyncio.timeout, which _with_cdp_timeout now uses (rebase onto ef2ebcb)
  • 9bcb92c fix(T-10690): a non-positive bound means the default or is refused at load, since asyncio.timeout(<=0) starts the call it cancels; the F-164 scan sees timeout_at; the census sees every alias of asyncio.tasks; the health pin keeps exactly-one (review of f3bafbe: LOW x4)
  • 79a1f32 test(T-10690): a click cancelled as its arm, read, synthetic click or mouse event answers ends cancelled and sends no input (RED on Python 3.11.14 against the previous source: 5 of 5)
  • 1a2efb9 fix(T-10690): every bounded await is async with asyncio.timeout, so on Python 3.11 a cancellation that lands after the inner call answered is not lost (54 asyncio.wait_for in 22 modules; a client_roots bound of 0 still sends nothing)
  • b4c20ca test(T-10690): a census that fails when any module under src/ bounds an await with asyncio.wait_for (RED: 54 sites in 22 modules)
  • ef2ebcb test(T-9542): the fixture clears _browserless_caller_owned, the set paint_hold keeps since T-10848 moved caller-owned marks onto the tab's browser (rebase onto 8c1b9b9)
  • 54baa26 test(T-9542): name tab_for_caller, and leave the cleanup between tests to the one conftest fixture (Opus review of 63af011: LOW x2)
  • a610530 test(T-9542): paint_hold state is reset around every test, so the closed-tab pin no longer depends on the -k selection