Skip to content

v0.66.0

Choose a tag to compare

@PhenX PhenX released this 04 Nov 21:33
e82b429

This release adds piwi rerun to run a CI re-run's arguments without a shell, stores each execution's flaky verdict so every view and live event reads the same one, names the browser engine a devices preset sets, verifies a fix in the Playwright projects its tests failed in, and resolves the analytics test filter once per page load.

Full diff: v0.65.0…v0.66.0

✨ Highlights

  • 🔁 piwi rerun — The reporter's CLI runs a CI re-run's arguments without a shell, takes them after --, and exits with 128 plus the signal when Playwright is stopped.
  • 🚦 One stored flaky verdict — Each execution's flaky verdict is stored and read in every view, in the failure groups and in live test events; the passed-after-failure verdict stays on a result's final attempt, and flakiness is scored only on the runs a test passed or failed in.
  • 🌐 Browser engines from presets — The reporter names the browser engine a devices preset sets, blob imports and diffs read it, and a test's browser icon follows its channel and engine.
  • ✅ Fix verification per Playwright project — A cluster's fix is verified in the Playwright projects its tests failed in, and a fix in a removed project by a pass in any project.
  • ⚡ Faster analytics — The Overview analytics dashboard resolves its test filter once per page load from only the facts it reads, ranks failures from each test's latest results, and runs in the performance suite.

Features

  • reporter: add piwi rerun to run a CI re-run's arguments without a shell (7a1ebeb, b18500d), closes #1083

Bug Fixes

Flaky verdicts and retries

  • db, app: store each execution's flaky verdict and read it in every view, in every reader of a run's stored rows and in the failure groups (d4dbdf6, a9fd27e), closes #1005
  • db: keep the passed-after-failure verdict on a result's final attempt only (8b2fe77), closes #1005
  • app: send the stored attempt history with live test events (d231281), closes #1005
  • app: complete a stored retry's history when its earlier attempt comes with one (98a5062, 8630b54), closes #1053
  • app: keep a reported history when a later batch carries its earlier attempt (da47453)
  • app: score flakiness only on the runs a test passed or failed in (9cbe205, 3845525)
  • app: leave a run or project with no result out of a flaky test's wasted time (36da8d3)

Projects and browser engines

  • db: store an execution without a project once when its batch is sent again (9c26996, acf8a51), closes #1088
  • db: dedupe '' and NULL projects together and clean up what the repeats left (ea4a531)
  • reporter: name the browser engine a devices preset sets (b120f9e)
  • app: read a preset's browser engine in blob imports and diffs (cfed2a1)
  • ui: pick a test's browser icon from its channel and engine (7040f84)
  • ui: show the browser icon for a project named after its suite (1cf0fd0)

Runs and fix verification

  • app: verify a cluster's fix in the Playwright projects its tests failed in (bc8ae83, 973910d)
  • app: verify a fix in a removed Playwright project by a pass in any project (#1081) (c8f90fd)
  • app: stop a server restart from interrupting every live run (d0414ab, afd5473)
  • app: link each desktop local run to its own piwi run (#1086) (3fbec07), closes #1050
  • demo: cancel only the simulated runs whose page is gone (#1084) (6cb1c6f), closes #1046
  • app: offer the AI diagnosis each test's failure screenshot first (061ddce, c4c4c95)

Reporter

  • reporter: take piwi rerun arguments after --, and stop piwi bug on a signal (aabaa7f)
  • reporter: exit with 128 plus the signal when Playwright is stopped (9ba0430)
  • reporter: name a body attachment without a double dot (5fcbef4, 12d930f), closes #1021

Sign-in and CI

  • auth: name the username in invite and reset emails and prefill sign-in (3906f4e, e539d86), closes #1077
  • app: serve the sign-in profile picture from the instance (4dc6984, 8d50278)
  • ci: skip commitlint only for dependabot's own trailers (#1082) (e5362f1)

Performance

  • app: resolve an analytics test filter once per dashboard page load and rank failures from only each test's latest results (1a70130, f99a2d1, 66b05f7), closes #1074
  • app: resolve an analytics test filter from only the facts it reads (e709a09, 54da0b8)
  • app: drop a memoized test filter after the writes that change it (471dbb6), closes #1074
  • app: open the Overview analytics dashboard in the performance suite (cb05aa6), closes #1074
  • app: fetch the affected tests' details in batches for the diagnosis (8b99dbd)
  • app: list the runs fix verification leaves out once per query (212a76d)