Skip to content

revert: undo CI split approach (#2092)#2093

Merged
nick-inkeep merged 1 commit intomainfrom
revert/ci-split-approach
Feb 17, 2026
Merged

revert: undo CI split approach (#2092)#2093
nick-inkeep merged 1 commit intomainfrom
revert/ci-split-approach

Conversation

@nick-inkeep
Copy link
Collaborator

Summary

Reverts #2092 (splitting build and test phases in CI) based on Andrew's feedback to instead use Turborepo's built-in dependency system + concurrency constraints, which will properly respond to cache hits/misses rather than hard-coding a two-step pipeline.

A replacement PR with the proper Turborepo-native approach will follow.

@vercel
Copy link

vercel bot commented Feb 17, 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 17, 2026 10:12pm
agents-docs Ready Ready Preview, Comment Feb 17, 2026 10:12pm
agents-manage-ui Ready Ready Preview, Comment Feb 17, 2026 10:12pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2026

⚠️ No Changeset found

Latest commit: e07e85b

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

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

(1) Total Issues | Risk: Low

🟡 Minor (1) 🟡

Inline Comments:

  • 🟡 Minor: ci.yml:108-114 Comment slightly overstates parallelism behavior

💡 APPROVE WITH SUGGESTIONS

Summary: This is a clean revert that consolidates the CI workflow back to relying on Turborepo's dependency graph rather than manually splitting build and test phases. The approach is sound — Turborepo's dependsOn declarations in turbo.json already ensure proper ordering (builds complete before tests), and the Remote Cache should prevent redundant rebuilds on cache-hit runs.

The one minor suggestion is to clarify the inline comments to accurately reflect task dependency behavior (lint runs immediately, typecheck and test wait for build). This prevents future confusion when debugging CI timing.

Looking forward to the follow-up PR with Turborepo-native concurrency constraints! 🚀

Discarded (2)
Location Issue Reason Discarded
ci.yml CPU contention may resurface on cold cache Informational/advisory only — PR description already acknowledges follow-up PR is planned with proper fix.
ci.yml Actions pinned to mutable tags Pre-existing issue not introduced by this PR — out of scope.
Reviewers (1)
Reviewer Returned Main Findings Consider While You're Here Inline Comments Pending Recs Discarded
pr-review-devops 4 0 0 0 1 0 2
Total 4 0 0 0 1 0 2

Note: 1 finding was positive validation (revert safety), not included in counts.

Comment on lines +108 to +114
# Run all CI checks in parallel with Turborepo
- name: Run CI checks
id: ci-check
run: pnpm check
run: |
# Run all checks in parallel using Turborepo's dependency graph
# This will build once and cache, then run lint, typecheck, and test in parallel
pnpm check
Copy link
Contributor

Choose a reason for hiding this comment

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

🟡 Minor: Comment slightly overstates parallelism

Issue: The comment states Turborepo will "run lint, typecheck, and test in parallel" after building. However, per turbo.json, lint (line 92) has no build dependency, typecheck (line 102) depends on ^build, and test (line 55) depends on build. On cache-miss runs, lint runs immediately while typecheck and test wait for their dependencies.

Why: The current comment could mislead someone debugging CI timing issues into thinking all checks run concurrently from the start.

Fix: (1-click apply)

Suggested change
# Run all CI checks in parallel with Turborepo
- name: Run CI checks
id: ci-check
run: pnpm check
run: |
# Run all checks in parallel using Turborepo's dependency graph
# This will build once and cache, then run lint, typecheck, and test in parallel
pnpm check
# Run all CI checks via Turborepo
- name: Run CI checks
id: ci-check
run: |
# Turborepo handles task dependencies: lint runs immediately,
# while typecheck and test wait for build to complete (cached when unchanged).
pnpm check

Refs:

@github-actions github-actions bot deleted a comment from claude bot Feb 17, 2026
@nick-inkeep nick-inkeep merged commit 32cf017 into main Feb 17, 2026
13 checks passed
@nick-inkeep nick-inkeep deleted the revert/ci-split-approach branch February 17, 2026 22:17
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

Comments