test(ci): select component suites by affected dependencies - #45338
Open
opencode-agent[bot] wants to merge 11 commits into
Open
test(ci): select component suites by affected dependencies#45338opencode-agent[bot] wants to merge 11 commits into
opencode-agent[bot] wants to merge 11 commits into
Conversation
opencode-agent
Bot
force-pushed
the
app-component-tests
branch
from
August 26, 2026 18:28
cbbfd34 to
ed48277
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Schedule the app and session-ui component browser suites independently in the test workflow, using Turbo's affected workspace graph plus explicit shared-harness exceptions.
This is a stacked follow-up to #45142, targeting
app-component-testsat08e60630fe. The predecessor is still open and owns the component suite infrastructure. This PR adds only the CI filtering and concurrent-server isolation; it does not modify or merge the predecessor. Retarget/rebase this follow-up ontov2after that infrastructure lands.Selection
PR comparisons use the tested merge ref's first parent; pushes use the event's previous SHA. Both use a merge base. Deleted files and both paths of a rename are included. Missing/zero refs fail safe.
Each component package gets its own Linux job and artifact upload. Existing unit jobs, Linux/Windows E2E check names, and the existing E2E exclusion for refs named
v2are unchanged. That exclusion still applies to manual dispatch. No performance or unrelated browser suites are enabled.Local concurrent Turbo tasks use separate ports (session-ui 6006, app 6007) and separate Vite optimization caches. Running both suites exposed a shared-cache race despite separate ports; isolating both resources resolves the module-fetch failures.
Validation
bun test --root . browser-suites.test.tsfromscript/github: 39 passing tests using real synthetic Git commits and Turbo 2.10.2 with the repository's actual workspace manifests.bun turbo test:components --filter=@opencode-ai/app --filter=@opencode-ai/session-ui: final run passed all 45 tests without retries (44 session-ui, 1 app). A prior cold-cache run passed with two session lifecycle retries; assertions and retry settings are unchanged.bun typecheckin app and session-ui passed.git diff --checkpassed.Requested by: @Brendonovich (Brendan via Slack)