Skip to content

fix(den-web): navigate to Workflow Runs from the Analytics tabs after an Enterprise upgrade - #4728

Merged
yomgui merged 1 commit into
devfrom
e2e/den-web-workflow-runs-nav
Sep 11, 2026
Merged

yomgui merged 1 commit into
devfrom
e2e/den-web-workflow-runs-nav

Conversation

@yomgui

@yomgui yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member

Root cause

Triage: reports/e2e-red-2026-09-09/triage.md → Cluster 6 / Brief J (workflow-run-previews, red in nightlies since Sep 8 18:12Z, introduced by #4591).

The Analytics tab strip (AnalyticsPageHeader in ee/apps/den-web/app/(den)/dashboard/_features/analytics/analytics-layout.tsx) is rendered below the page title and description. The Workflow Runs description wraps to two lines at 1440px while the "Usage & adoption" and "Models & usage" descriptions fit on one, so the strip sits 24px lower on the Workflow Runs page than on the others.

In the failing trace (2026-09-09T21-14-45-972Z, dev @ 61b41901c):

  • click(Usage & adoption) at 04.922 → starts a client transition from /dashboard/analytics/workflow-runs to /dashboard/analytics.
  • target(Workflow Runs) at 04.953 (31 ms later) is located on the still-displayed old page at y=252.
  • click(Workflow Runs) at 05.030 lands at y≈269 — by then the Usage & adoption page has rendered with its strip at y≈228–262, so the click hits nothing below the strip.
  • Route stays /dashboard/analytics for the rest of the 30 s wait; spec fails on the Workflow Runs description.

Not an entitlement/capability refresh, (admin) guard, or stale orgContext problem: the "Workflow Runs" link is rendered after the upgrade; it simply moves between pages.

What changed

  • analytics-layout.tsx: reserve two lines for the description (min-h-12 with leading-6) so the shared tab strip is at the same position on every Analytics page. One line + comment; no spec changes.

Proof

  • OPENWORK_EVAL_REF=2096bb4bf8c44abbed518b3dbd9b256ba55a06da pnpm evals:e2e workflow-run-previews --daytona
  • Sandbox checked out 2096bb4bf (Ref: and HEAD is now at 2096bb4b in provisioning log).
  • Verdict line: {"command":"evals:e2e","lane":"e2e","daytona":true,"placement":"daytona","engine":"legacy","surface":"legacy",...,"passed":1,"failed":0,"skipped":0,"skips":[],"verdict":"passed"}
  • Exit 0; 1 passed / 0 failed / 0 skipped, test 267.6 s.
  • In the green trace the same click sequence happens with the same timing (target located 35 ms after the previous click, at y=252) and the Workflow Runs page renders (Workflows are repeatable tasks… seen in 44 ms).

Red control: dev @ 61b41901c baseline run in the triage folder (e2e-dev-baseline-61b41901c.log) fails with Timed out after 30000ms seeing text=Workflows are repeatable tasks… route: "/dashboard/analytics".

Noticed, not touched

  • The testkit locates a target and dispatches the CDP click ~75 ms later without re-checking geometry, so any page whose layout shifts during a client transition can absorb a click the same way. A re-locate/hit-test immediately before Input.dispatchMouseEvent (or a settle after link clicks) would make user.click robust to this class of shift; left for the testkit owners (Brief B2 touches user.click).
  • At content widths under max-w-2xl the Workflow Runs description can wrap to three lines, at which point the strip would move again; the spec runs at 1440×1000.

@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-den Ready Ready Preview Sep 10, 2026 6:09pm UTC
3 Skipped Deployments
Project Deployment Actions Updated
openwork-app Skipped Skipped Sep 10, 2026 6:09pm UTC
openwork-diagnostics Skipped Skipped Sep 10, 2026 6:09pm UTC
openwork-landing Skipped Skipped Sep 10, 2026 6:09pm UTC

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (2429 ms), confidentiality-review (1679 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 2
  • Distinct heads in retained window: 2
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 2/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (2096bb4bf8c44abbed518b3dbd9b256ba55a06da). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Passed · 3/3 tests · 4/4 assertions · 2 images

Commit 234d0ed2455278373ed28c31ac5918074fbf6d42 · selected evidence

Open review report

The Workflow Runs description wraps to two lines while the other Analytics
descriptions fit on one, so the shared tab strip moved by a line whenever
the active page changed. A click aimed at a tab during that transition
landed below the strip. Reserve two lines for the description so the tabs
stay put.
@yomgui
yomgui force-pushed the e2e/den-web-workflow-runs-nav branch from 2096bb4 to 234d0ed Compare September 10, 2026 18:08
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 10, 2026 18:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 10, 2026 18:08 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 10, 2026 18:08 Inactive

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (234d0ed2455278373ed28c31ac5918074fbf6d42). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@yomgui
yomgui merged commit bc9a286 into dev Sep 11, 2026
34 checks passed

This branch was successfully deployed

1 active and 3 inactive deployments
Preview – openwork-den — 234d0ed2 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-landing — 234d0ed2 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — 234d0ed2 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — 234d0ed2 Deployed Sep 10, 2026 by vercel[bot]
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.

1 participant