Skip to content

Comments

Revert "fix(ci): limit Turbo concurrency to prevent browser test CPU starvation"#2116

Merged
nick-inkeep merged 1 commit intomainfrom
revert-2095-fix/ci-turbo-concurrency
Feb 18, 2026
Merged

Revert "fix(ci): limit Turbo concurrency to prevent browser test CPU starvation"#2116
nick-inkeep merged 1 commit intomainfrom
revert-2095-fix/ci-turbo-concurrency

Conversation

@nick-inkeep
Copy link
Collaborator

Reverts #2095

@vercel
Copy link

vercel bot commented Feb 18, 2026

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

Project Deployment Actions Updated (UTC)
agents-api Ready Ready Preview, Comment Feb 18, 2026 9:11am
agents-docs Ready Ready Preview, Comment Feb 18, 2026 9:11am
agents-manage-ui Ready Ready Preview, Comment Feb 18, 2026 9:11am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 18, 2026

⚠️ No Changeset found

Latest commit: 622c174

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

@nick-inkeep nick-inkeep merged commit 4a77a81 into main Feb 18, 2026
6 of 9 checks passed
@nick-inkeep nick-inkeep deleted the revert-2095-fix/ci-turbo-concurrency branch February 18, 2026 09:08
Copy link
Contributor

@claude claude bot left a comment

Choose a reason for hiding this comment

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

PR Review Summary

(2) Total Issues | Risk: Medium

ℹ️ Note: This PR has already been merged. The feedback below is provided for awareness and future reference.

🟠⚠️ Major (1) 🟠⚠️

🟠 1) .github/workflows/ci.yml:114 Revert reintroduces CPU starvation risk for Playwright tests

Issue: This revert removes the --concurrency=8 flag that was added in PR #2095 to prevent Playwright browser test timeouts. The original fix addressed CPU starvation on the ubuntu-16gb runner (4 vCPUs) when Turbo's default concurrency of 15 runs during cache-miss scenarios.

Why: Without the concurrency limit, 15 concurrent tasks can starve Playwright tests (Monaco editor initialization) of CPU time, causing timeouts on cache-miss CI runs. The original PR provided well-documented reasoning (2x vCPUs = 8 as standard oversubscription for mixed I/O + CPU workloads). Reverting without explanation or alternative mitigation creates a risk of CI flakiness returning.

Fix: If Playwright test timeouts recur, consider:

  • Re-applying a concurrency limit (possibly with a different value if 8 caused issues)
  • Upgrading to a larger runner
  • Documenting why the limit is no longer needed if the underlying issue was resolved differently

Refs:

🟡 Minor (1) 🟡

🟡 1) PR description Missing justification for reverting CI stability fix

Issue: The PR description ("Reverts #2095") does not explain why the original fix needed to be reverted.
Why: The original PR was merged with detailed reasoning about the CPU starvation issue. A quick revert without explanation makes it difficult for future maintainers to understand whether the original issue was resolved differently, the fix caused a regression, or other factors.
Fix: For future reference, consider adding a comment explaining the rationale for this revert.


💡 APPROVE WITH SUGGESTIONS

Summary: This revert removes a CI stability fix without documented justification. While the change itself is straightforward, it may reintroduce Playwright test timeouts on cache-miss runs. Since the PR is already merged, monitor CI for flakiness and consider re-applying concurrency limits if timeouts recur. The feedback above is provided for awareness and future reference.

Discarded (0)

No findings were discarded.

Reviewers (1)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-devops 2 2 0 0 0 0 0
Total 2 2 0 0 0 0 0

@github-actions github-actions bot deleted a comment from claude bot Feb 18, 2026
nick-inkeep added a commit that referenced this pull request Feb 18, 2026
The ubuntu-16gb runner (4 vCPUs, 16GB RAM) gets OOM-killed when turbo
concurrency=15 triggers multiple Next.js builds concurrently during
cache-miss runs (e.g., any PR touching agents-core). This limits CI
concurrency to 8 via CLI flag (turbo.json stays at 15 for local dev).

Re-applies the fix from #2095 which was reverted in #2116.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dimaMachina pushed a commit that referenced this pull request Feb 19, 2026
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