Skip to content

fix(docs): raise sdk-reference suite timeouts for slower CI runners - #2747

Open
miguelg719 wants to merge 1 commit into
mainfrom
fix/docs-test-timeout
Open

fix(docs): raise sdk-reference suite timeouts for slower CI runners#2747
miguelg719 wants to merge 1 commit into
mainfrom
fix/docs-test-timeout

Conversation

@miguelg719

@miguelg719 miguelg719 commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

TypeScript unit is failing on every PR since #2698 merged: packages/docs/tests/sdk-reference.test.ts scans all v4 MDX files, #2698 grew the scan set, and CI runners now exceed the 5s vitest default (locally ~3.9s on M-series — right at the edge). Two consecutive CI runs failed identically on #2743.

One-line-per-suite fix: 30s suite timeout on both describes. Verified: 27/27 pass locally in 4.15s.


Summary by cubic

Raises vitest suite timeouts in the docs SDK reference tests to 30s to stabilize CI on slower runners. Previously both suites used the 5s default and timed out after #2698 expanded the MDX scan set.

  • Touches only packages/docs/tests/sdk-reference.test.ts: adds { timeout: 30_000 } to the "SDK reference surface" and "Mintlify customization boundary" describe blocks.
  • Unblocks the TypeScript unit job that was failing in CI; local runs remain ~4.15s.
  • No changes to test logic or assertions; only timeout configuration in vitest.

Written for commit d85f6ce. Summary will update on new commits.

Review in cubic

The suites scan every v4 MDX file; #2698 grew the scan set enough that
CI runners exceed vitest's 5s default per test (locally ~3.9s). Set a
30s suite timeout on both describes. Blocks every PR's TypeScript unit
job until fixed.
@miguelg719
miguelg719 requested a review from a team as a code owner August 16, 2026 16:46
@mintlify

mintlify Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
stagehand 🟢 Ready View Preview Aug 16, 2026, 4:47 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@changeset-bot

changeset-bot Bot commented Aug 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d85f6ce

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

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