Skip to content

test: skip flaky sessionsListHierarchy fixture spec - #338482

Merged
Michael Lively (Yoyokrazy) merged 3 commits into
mainfrom
agents/skip-flaky-sessions-list-hierarchy-test
Sep 28, 2026
Merged

Michael Lively (Yoyokrazy) merged 3 commits into
mainfrom
agents/skip-flaky-sessions-list-hierarchy-test

Conversation

@Yoyokrazy

@Yoyokrazy Michael Lively (Yoyokrazy) commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #338329. Refs #338488, which tracks re-enabling the spec.

  1. Mark every test in test/componentFixtures/playwright/tests/sessionsListHierarchy.spec.ts as fixme via a file-level test.fixme(true, reason).
  2. Add a TODO@benibenj comment linking Flaky test: sessionsListHierarchy fixture spec times out on cold renders #338488, and Fix cold component fixture readiness timeouts #338259 as the fix to wait for.
Root cause
  1. Since sessions: expand hierarchy and compact list fixture coverage #338329 landed, the Playwright Fixture Tests job on main fails intermittently with 20–22 failures per run, all in this spec, all Fixture timed out after 3000ms. Failing runs include 36454226211, 36454170189, 36448265794, 36445498324, 36435544363 and 36429296308.
  2. The underlying bug predates sessions: expand hierarchy and compact list fixture coverage #338329: the shared fixture setup eagerly loads diagnostic source maps (about 4.2s on a cold render), which consumes most of the 3000ms fixture timeout. One failing run reported renderTimeMs.sync = 4353. This spec does many cold renders, so it hits the timeout often.
  3. The Screenshots job renders the same new fixtures and passes on those runs, so the fixtures themselves are fine; only this spec's tests fail.
Session Context
  • Skip, not delete or revert: The fixtures (sessionsList.fixture.ts) and blocks-ci-screenshots.md entries from sessions: expand hierarchy and compact list fixture coverage #338329 are fine and are not touched. Only the spec is disabled, so it can be re-enabled as-is.
  • Does not close Flaky test: sessionsListHierarchy fixture spec times out on cold renders #338488: This PR only unblocks main. The issue stays open until the timeout is fixed and the spec is re-enabled.
  • test.fixme over test.skip: Playwright's fixme means "known broken, intend to fix", while skip means "not applicable". Both skip the tests and are reported as skipped; fixme records the right intent in the report annotations.
  • File-level modifier over test.describe.fixme: The spec has top-level hooks and top-level test(...) calls inside for loops. In Playwright's loader, a static modifier at file scope adds the same suite annotation describe.fixme would, without reindenting the file.
  • Comment style: Follows the repo convention for skipped tests, // TODO@owner <issue URL>.
  • Real fix lives elsewhere: Fix cold component fixture readiness timeouts #338259 (draft, self-reported incomplete) targets the cold-render fixture readiness timeout.
Verification
  • npx tsc -p test/componentFixtures/playwright/tsconfig.json --noEmit: clean.
  • Real run of the spec with a throwaway config that has no webServer: 22/22 skipped with fixme annotations, 0 unexpected, exit 0. beforeEach did not run; it would have thrown because COMPONENT_EXPLORER_PORT was unset.
  • git diff --check: clean.

Cold fixture renders intermittently exceed the 3000ms fixture timeout,
failing the Playwright Fixture Tests job on main. Skip the spec until the
shared fixture readiness fix (#338259) lands. Follow-up to #338329.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings September 28, 2026 17:52

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

The scoped skip correctly matches the stated mitigation with no actionable issues found.

Review effort: Balanced
Findings: None

What changed in this PR

Temporarily disables the flaky sessions hierarchy fixture spec pending the shared readiness fix.

Changes:

  • Adds a file-level skip for all 22 tests.
  • Documents the timeout cause and related pull requests.
File Description
test/​componentFixtures/​playwright/​tests/​sessionsListHierarchy.spec.ts Skips the flaky spec and records re-enable context.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

test.fixme is Playwright's idiom for known-broken tests. Point the TODO at
the tracking issue, matching the repo convention for skipped tests.

Refs #338488

Co-authored-by: Copilot <[email protected]>
@Yoyokrazy
Michael Lively (Yoyokrazy) marked this pull request as ready for review September 28, 2026 18:13
@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: eabba3e8 Current: 38d2c34d

Changed (2)

sessions/sessionsList/SessionsList_NestedChatApprovals_Phone/Dark
Before After
before after
sessions/chatCompositeBar/OverflowingTabs/Light
Before After
before after

7 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

@Yoyokrazy
Michael Lively (Yoyokrazy) merged commit 202befe into main Sep 28, 2026
35 checks passed
@Yoyokrazy
Michael Lively (Yoyokrazy) deleted the agents/skip-flaky-sessions-list-hierarchy-test branch September 28, 2026 18:50
@vs-code-engineering vs-code-engineering Bot added this to the 1.141.0 milestone Sep 28, 2026
Lee Murray (mrleemurray) pushed a commit that referenced this pull request Sep 28, 2026
* test(sessions): skip flaky sessionsListHierarchy fixture spec

Cold fixture renders intermittently exceed the 3000ms fixture timeout,
failing the Playwright Fixture Tests job on main. Skip the spec until the
shared fixture readiness fix (#338259) lands. Follow-up to #338329.

Co-authored-by: Copilot <[email protected]>

* test(sessions): use test.fixme and link tracking issue for skipped spec

test.fixme is Playwright's idiom for known-broken tests. Point the TODO at
the tracking issue, matching the repo convention for skipped tests.

Refs #338488

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Nov 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: sessionsListHierarchy fixture spec times out on cold renders

3 participants