Repository navigation
test: pin cross-version browser placement test to explicit baseline - #16554
Conversation
Pin to v1.4.184 to ensure consistent testing against the release predating client placement. This avoids coupling the legacy-baseline bump to unrelated schema refactors in newer versions.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe cross-version browser placement test pins its legacy baseline to release Merge Risk: ⚪ Minimal · up to This test-only change pins the compatibility baseline to a known legacy release and introduces no actionable merge-blocking risk; it is merge-ready after normal checks and review. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the problem, solution, scope, testing, visual proof, and platform impact. It omits the required ELI5 section and does not provide the mandatory linked issue under “Linked Issue”; the “Review” section is also absent.
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. Comment |
When checking process state on Windows, EPERM (permission denied) indicates an inaccessible but live process. Only ESRCH (process not found) proves exit. Correct isAlive() to distinguish these cases. Also add windowsHide:true to child process spawns and use explicit SIGKILL when force-killing the host process.
…tablyai#16554) * test: use explicit baseline for cross-version browser placement test Pin to v1.4.184 to ensure consistent testing against the release predating client placement. This avoids coupling the legacy-baseline bump to unrelated schema refactors in newer versions. * fix(windows): treat inaccessible processes as alive in tests When checking process state on Windows, EPERM (permission denied) indicates an inaccessible but live process. Only ESRCH (process not found) proves exit. Correct isAlive() to distinguish these cases. Also add windowsHide:true to child process spawns and use explicit SIGKILL when force-killing the host process.
…tablyai#16554) * test: use explicit baseline for cross-version browser placement test Pin to v1.4.184 to ensure consistent testing against the release predating client placement. This avoids coupling the legacy-baseline bump to unrelated schema refactors in newer versions. * fix(windows): treat inaccessible processes as alive in tests When checking process state on Windows, EPERM (permission denied) indicates an inaccessible but live process. Only ESRCH (process not found) proves exit. Correct isAlive() to distinguish these cases. Also add windowsHide:true to child process spawns and use explicit SIGKILL when force-killing the host process. (cherry picked from commit 4d2dc0f)
…tablyai#16554) * test: use explicit baseline for cross-version browser placement test Pin to v1.4.184 to ensure consistent testing against the release predating client placement. This avoids coupling the legacy-baseline bump to unrelated schema refactors in newer versions. * fix(windows): treat inaccessible processes as alive in tests When checking process state on Windows, EPERM (permission denied) indicates an inaccessible but live process. Only ESRCH (process not found) proves exit. Correct isAlive() to distinguish these cases. Also add windowsHide:true to child process spawns and use explicit SIGKILL when force-killing the host process.
Problem
The cross-version browser placement test used a rolling baseline via
resolveBaselineReleaseRef(), which could pick up newer stable releases. When the baseline eventually includes the client placement feature, the test fails because it's meant to validate backwards compatibility against older versions.Solution
Pin the test to an explicit baseline
v1.4.184that predates client placement. This ensures consistent wire-compatibility verification against a known legacy version, independent of future stable releases.What Changed
Replaced the dynamic
resolveBaselineReleaseRef()call with explicit constantLEGACY_BROWSER_PLACEMENT_RELEASE_REF = 'v1.4.184'. Updated comments to clarify: v1.4.185 moved the tab-create schema and renamed it, so an explicit pin avoids coupling the baseline choice to that unrelated refactor.Why
A rolling stable baseline eventually contains every additive feature. For cross-version wire compatibility, the baseline must remain on an old version to validate the contract. An explicit version pin ensures this stability.
Visual Proof
N/A — test-only change with no UI or behavioral impact.
Testing
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Test-only change with no impact on security, cross-platform support, SSH/remote execution, or backwards compatibility.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)