Skip to content

Stabilize frontend coverage tests on Zoomies CI runners - #492

Merged
jnnngs merged 2 commits into
mainfrom
copilot/fix-github-actions-frontend-react
Sep 11, 2026
Merged

jnnngs merged 2 commits into
mainfrom
copilot/fix-github-actions-frontend-react

Conversation

Copilot AI commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The Frontend (React) GitHub Actions job was failing in the coverage test step after the runner migration, with otherwise unrelated UI tests timing out or missing async-rendered elements. This change narrows the fix to the frontend test harness so CI gets more headroom without changing application behavior.

  • Root cause

    • Coverage-instrumented Vitest runs on the new runners were slower than local/default expectations.
    • Multiple failures were symptoms of the same issue: default test and async-query timeouts expiring before the DOM settled.
  • What changed

    • Vitest CI timeout
      • Add a CI-only testTimeout override in frontend/vitest.config.ts.
    • Testing Library CI async wait
      • Configure a longer CI-only asyncUtilTimeout in frontend/src/test-setup.ts.
  • Effect

    • Keeps local feedback fast.
    • Reduces CI-only flakes in async-heavy page tests under coverage.
// frontend/vitest.config.ts
test: {
  environment: 'jsdom',
  globals: true,
  setupFiles: ['./src/test-setup.ts'],
  testTimeout: process.env.CI ? 10000 : 5000,
}

// frontend/src/test-setup.ts
configure({
  asyncUtilTimeout: process.env.CI ? 5000 : 1000,
})

Co-authored-by: jnnngs <4107228+jnnngs@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Frontend (React) Stabilize frontend coverage tests on Zoomies CI runners Sep 11, 2026
Copilot AI requested a review from jnnngs September 11, 2026 15:14
@jnnngs
jnnngs marked this pull request as ready for review September 11, 2026 15:23
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@jnnngs
jnnngs merged commit c4083e6 into main Sep 11, 2026
5 checks passed
@jnnngs
jnnngs deleted the copilot/fix-github-actions-frontend-react branch September 11, 2026 15:23
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.

2 participants