fix(ci): build relay with optimized profile to fix flaky e2e tests#307
Merged
wesbillman merged 2 commits intomainfrom Apr 13, 2026
Merged
fix(ci): build relay with optimized profile to fix flaky e2e tests#307wesbillman merged 2 commits intomainfrom
wesbillman merged 2 commits intomainfrom
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The integration e2e tests randomly fail because the relay is built in debug mode (`cargo build`), making it 10-30x slower than a release build. Under CI load the unoptimised binary cannot route messages fast enough, causing delivery timeouts and eventual relay unresponsiveness on retries. Add a `[profile.ci]` (inherits `release`, no LTO) and use it for the relay build in the integration job. Also cache the workspace-root target directory so the optimised build is incremental across runs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tellaho
added a commit
that referenced
this pull request
Apr 14, 2026
* origin/main: Replace inline channel creation with dialog (#312) chore: improve chat message layout to left-aligned design (#309) Add edit dialog for managed agents with relay profile sync (#277) fix(ci): build relay with optimized profile to fix flaky e2e tests (#307) Update actions/checkout action to v6 (#305) Update dependency @tanstack/react-query to v5.98.0 (#304) Update dependency @playwright/test to v1.59.1 (#303) Update react monorepo to v19.2.5 (#302) feat(mobile): scaffold Flutter app with Riverpod & Catppuccin theme (#306) Update dependency @tanstack/react-router to v1.168.13 (#301) feat: Markdown-based persona packs (crate + ACP + desktop) (#297) feat(desktop): improve Agents page UX (#298) feat(desktop): add Pulse social notes surface (#296) Fix flaky desktop smoke tests (#294) Add agent lifecycle controls to channel members sidebar (#291) # Conflicts: # desktop/pnpm-lock.yaml
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
stream.spec.ts) randomly fail because the relay is built withcargo build(debug mode), which produces a binary 10-30x slower than release[profile.ci]Cargo profile (inheritsrelease, no LTO) and uses it for the relay build in thedesktop-e2e-integrationjobtarget/directory so the optimized relay build is incremental across CI runsTest plan
--profile ciand binary runs fromtarget/ci/stream.spec.tsfailures over the next few CI runs🤖 Generated with Claude Code