Skip to content

Fix failing CI: schema contract test, calendar menu role, flaky e2e#4

Merged
kevinjylin merged 1 commit into
mainfrom
fix/ci-pipeline-and-e2e
Jun 7, 2026
Merged

Fix failing CI: schema contract test, calendar menu role, flaky e2e#4
kevinjylin merged 1 commit into
mainfrom
fix/ci-pipeline-and-e2e

Conversation

@kevinjylin

Copy link
Copy Markdown
Member

Three independent failures were red on main:

  • Pipeline unit test test_schema_contract expected _to_event_row to return a dict, but it now returns a (row, superseded_id) tuple. Unpack it.

  • E2E "Add to calendar"/"Add reminder" expected role=button, but the

    disclosure toggle exposed neither button nor link (Playwright sees the
    as a group). Give the an explicit role="button" so the accessible role matches a disclosure toggle and the native toggle still works.

  • E2E "calendar shows loading state" failed deterministically on slow CI CPU: the calendar syncs its cursor to the feed's observed day on mount, firing a stray fetch that races the test's Next-month click. Wait for the calendar to settle on May 2026 before exercising the navigation fetch, matching the sibling tests. Drop the racy blockCalendarFetch band-aid.

Verified locally: 83/83 pipeline tests, 12/12 e2e, lint clean. The calendar test now passes under 4x/8x/12x CPU throttle.

Three independent failures were red on main:

- Pipeline unit test test_schema_contract expected _to_event_row to
  return a dict, but it now returns a (row, superseded_id) tuple. Unpack it.

- E2E "Add to calendar"/"Add reminder" expected role=button, but the
  <summary> disclosure toggle exposed neither button nor link (Playwright
  sees the <details> as a group). Give the <summary> an explicit
  role="button" so the accessible role matches a disclosure toggle and
  the native toggle still works.

- E2E "calendar shows loading state" failed deterministically on slow CI
  CPU: the calendar syncs its cursor to the feed's observed day on mount,
  firing a stray fetch that races the test's Next-month click. Wait for
  the calendar to settle on May 2026 before exercising the navigation
  fetch, matching the sibling tests. Drop the racy blockCalendarFetch
  band-aid.

Verified locally: 83/83 pipeline tests, 12/12 e2e, lint clean. The
calendar test now passes under 4x/8x/12x CPU throttle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
highlander-hub Building Building Preview, Comment Jun 7, 2026 12:29am

@kevinjylin kevinjylin merged commit aa42f5c into main Jun 7, 2026
5 of 6 checks passed
@kevinjylin kevinjylin deleted the fix/ci-pipeline-and-e2e branch June 7, 2026 00:29
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