You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces the fixed 8-second sleep in e2e/tests/ide/browser_returns.go with an 8-second gomega.Consistently check that the helper PID remains alive, then retains the TCP probe proving the port-forward still accepts connections.
The idle interval still has no client connections, so the existing idle-survival assertion is preserved.
Why
A fixed sleep only checks the listener once after the interval. Checking helper liveness throughout the same idle period gives a direct failure signal while preserving the spec's intent and duration.
Validation
mise run cli:format, mise run cli:lint:ci, go vet ./e2e/..., go test ./e2e/framework/...: pass.
IDE Ginkgo dry run selected the target; the focused spec passed locally.
Local full IDE run: 10 passed, 7 failed in the separate VS Code Settings JSONC specs.
On this PR head, Test ide on ubuntu-latest passed. All 110 current-head checks are terminal: 94 success, 3 path-conditional skipped, 3 Netlify neutral.
CodeRabbit CLI
coderabbit review --agent --committed --fresh: 0 findings on 08a456b.
Auto-merge
Eligible: yes. This PR changes one e2e spec file only; non-test source lines changed: 0. The e2e spec diff is 8 raw lines (4 under the half-weight rule). Final merge still requires current-head reviewer gates.
Next
None.
Summary by CodeRabbit
Tests
Updated browser-tunnel testing to verify that the supporting process remains active throughout the full idle period, rather than checking only after the wait has ended.
Kept the existing listener-acceptance check unchanged, preserving coverage of the subsequent connection behavior.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 3a54cc06-d26c-4a8c-856e-4122f8a3c7bd
📥 Commits
Reviewing files that changed from the base of the PR and between e3a530e and 08a456b.
📒 Files selected for processing: 1
e2e/tests/ide/browser_returns.go
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
📝 Walkthrough
The browser-tunnel idle-timeout test now checks that the helper process remains alive at 500 ms intervals during an 8-second idle period. The listener-acceptance check remains unchanged.
The focused test change is mergeable with no actionable risk identified.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description clearly explains the change, motivation, and validation results. However, it omits several template sections, including Type of change, AI assistance, Checklist, and Notes for reviewer…
Update the description to follow the repository template. Add the Type of change selection, AI assistance disclosure, issue reference such as "Fixes #N", checklist results, and any applicable Notes for reviewers. Keep the existing summary a…
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title is concise, specific, and accurately describes the main change: replacing the browser tunnel idle sleep with an assertion of helper-process survival.
Docstring Coverage
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.
Full details: Description check
Explanation
The description clearly explains the change, motivation, and validation results. However, it omits several template sections, including Type of change, AI assistance, Checklist, and Notes for reviewers, and it does not provide the required issue reference or explicit checklist status.
Resolution
Update the description to follow the repository template. Add the Type of change selection, AI assistance disclosure, issue reference such as "Fixes #N", checklist results, and any applicable Notes for reviewers. Keep the existing summary and validation details.
✨ Finishing Touches
✨ Simplify code
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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
e2e/tests/ide/browser_returns.gowith an 8-secondgomega.Consistentlycheck that the helper PID remains alive, then retains the TCP probe proving the port-forward still accepts connections.Why
A fixed sleep only checks the listener once after the interval. Checking helper liveness throughout the same idle period gives a direct failure signal while preserving the spec's intent and duration.
Validation
mise run cli:format,mise run cli:lint:ci,go vet ./e2e/...,go test ./e2e/framework/...: pass.Test ide on ubuntu-latestpassed. All 110 current-head checks are terminal: 94 success, 3 path-conditional skipped, 3 Netlify neutral.CodeRabbit CLI
coderabbit review --agent --committed --fresh: 0 findings on08a456b.Auto-merge
Eligible: yes. This PR changes one e2e spec file only; non-test source lines changed: 0. The e2e spec diff is 8 raw lines (4 under the half-weight rule). Final merge still requires current-head reviewer gates.
Next
None.
Summary by CodeRabbit