Skip to content

Bump version to 0.4.0 - #6

Merged
sfc-gh-mbarnes merged 1 commit into
mainfrom
release/0.4.0
Apr 25, 2026
Merged

Bump version to 0.4.0#6
sfc-gh-mbarnes merged 1 commit into
mainfrom
release/0.4.0

Conversation

@sfc-gh-mbarnes

Copy link
Copy Markdown
Contributor

Release 0.4.0

sfc-gh-mbarnes pushed a commit that referenced this pull request Apr 24, 2026
Three separate re-runs of PR #6 each failed with different random tests
(filter bar chips, DnD zone result, dim-toggle aria-expanded), confirming
that the root cause is resource contention on the 4-vCPU GitHub runner:
25+ pivot components per browser worker create enough Streamlit/React
rendering pressure that assertion timeouts are exceeded intermittently.

Changes:
- conftest.py: raise the global default Playwright assertion timeout from
  5 s to 15 s via `expect.set_options(timeout=15000)` in pytest_configure.
  Bare `expect(...).to_be_visible()` and `expect(...).to_have_attribute()`
  calls across the entire suite now tolerate slower renders.

- e2e_utils.py (open_settings_panel): after `settings-panel` becomes
  visible, wait for at least one `settings-available-*` chip to appear
  (confirms allColumns has been delivered by the Arrow dataframe render
  cycle, not just that the outer div was committed).  Follow with a 200 ms
  settle so the one-shot ResizeObserver that adjusts the available-fields
  container height fires before callers read bounding boxes for DnD.

- pivot_table_interactions_test.py: replace short explicit timeouts on
  post-action assertions that were the direct cause of each failure:
  - filter chip visibility: 5 s → 15 s
  - DnD pre-drag source/target: 5 s → 15 s
  - DnD post-drop chip location: 5 s → 10 s
  - _drag_chip post-drop wait: 300 ms → 500 ms
  - header-menu show-as-% assertion: 10 s → 20 s
  - dim-toggle aria-expanded (locked): 10 s → 20 s
  - dim-toggle aria-expanded (dim_toggle): 5 s → 15 s

- pytest.ini: add `--reruns 1 --reruns-delay 3` (pytest-rerunfailures is
  already a declared dependency) as a last-resort safety net for any
  remaining single-test flakiness.

Made-with: Cursor
@sfc-gh-mbarnes
sfc-gh-mbarnes merged commit 789f9e3 into main Apr 25, 2026
4 checks passed
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.

2 participants