Skip to content

Update e2e tests and right size prev fix attempts#8234

Merged
jonathanawesome merged 3 commits into
mainfrom
update-e2e-tests-and-right-size-prev-fix-attempts
Jul 18, 2026
Merged

Update e2e tests and right size prev fix attempts#8234
jonathanawesome merged 3 commits into
mainfrom
update-e2e-tests-and-right-size-prev-fix-attempts

Conversation

@jonathanawesome

Copy link
Copy Markdown
Member

This PR fixes the intermittent flakiness in the usage e2e tests (usage.spec.ts). The failures were a test-side race, not an ingestion problem: the Insights poll reloaded the page every ~2s and counted matching rows immediately after the app shell mounted, so under CI load it kept snapshotting the still-loading (skeleton) state and reloading the page away before its data rendered. The heavier per-client Insights page was the one that lost the race, which is why the failures were always on /insights/client/....

Changes:

  • Wait for the Insights row to actually render (toBeVisible) before retrying, instead of snapshotting mid-load with .count().
  • Right-size the per-test timeout from 180s back to 120s (the bump was a band-aid for the race, now fixed at the root).
  • Remove the diagnostic CH writer logging added while investigating.

The wait_for_async_insert=1 e2e ingestor setting is intentionally kept: it makes reported operations queryable quickly and removes ingestion timing as a variable.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 11.7.0-alpha-20260717224156-0988b699fa53200671730da904cadd87fd823d36 npm ↗︎ unpkg ↗︎

@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tags: 11.7.0-alpha-0988b69, 0988b69, 0988b699fa53200671730da904cadd87fd823d36

@jonathanawesome
jonathanawesome merged commit be2595b into main Jul 18, 2026
25 checks passed
@jonathanawesome
jonathanawesome deleted the update-e2e-tests-and-right-size-prev-fix-attempts branch July 18, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants