Repository navigation
SDK-8048: address #1206 review — forceHttp1 on every Cypress 16 a11y build - #1223
Merged
AakashHotchandani merged 1 commit intoNov 23, 2026
Merged
Conversation
…uild, comments, test env restore) - forceHttp1 keyed on major 16: Rails runs 16.2.0 for any 16.x it doesn't list (CypressFramework#evaluate_users_cypress_version_further), so 16.2.1/16.3.0/16.0.0/16.2 requests also run the affected version. - DEFAULT_CYPRESS_MAJOR_FOR_ACCESSIBILITY / caps() comments give the real reason for 15. - accessibility plugin test restores BROWSERSTACK_LOGS and BROWSERSTACK_ACCESSIBILITY_PLUGIN_LOADED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
AakashHotchandani
merged commit Nov 23, 2026
e64dcc1
into
APS-22894-cypress-16-expose
1 check passed
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.
Follow-up to #1222, addressing the review on #1206 (base:
APS-22894-cypress-16-expose).Changes
forceHttp1keyed on Cypress major 16, not the requested version. Rails resolves any 16.x it doesn't list to the newest 16 it offers (CypressFramework#evaluate_users_cypress_version_further). Right now that's 16.2.0, the affected version. So requests for16.2.1,16.3.0,16.0.0,16.2and16.latest-1were running 16.2.0 withoutforceHttp1.ACCESSIBILITY_FORCE_HTTP1_CYPRESS_RANGEis replaced byACCESSIBILITY_FORCE_HTTP1_CYPRESS_MAJOR = 16.DEFAULT_CYPRESS_MAJOR_FOR_ACCESSIBILITYstays at 15. That's this CLI's choice, not a match with Rails (railsApp#184075 defaults expose-capable CLIs to the newest Cypress). The point is to keep unpinned a11y builds off the Cypress 16forceHttp1path. The stalecaps()comment is fixed too.BROWSERSTACK_LOGSandBROWSERSTACK_ACCESSIBILITY_PLUGIN_LOADED.Follow-up (not in this PR)
The version that actually runs is only known server-side. Once terminalDeploy#8868's Cypress 16
forceHttp1rule also covers "accessibility on and resolved version in [16.1.0, 16.2.1)", this CLI rule can go. Until then, installed CLIs keep addingforceHttp1to 16.x a11y builds even after Rails offers 16.2.1+. Those builds still run, with Cypress's deprecation warning and the HTTP/1.1 proxy.Tests
capabilityHelper.js+ plugin tests: 107 passing.forceHttp1is added for16,16.latest,16.latest-1,16.2,16.0.0,16.1.0,16.1.1,16.2.0,16.2.1and16.3.0. It isn't added for 15, no version (pinned to 15), a11y off,latestor 17.npm test: 764 passing, 16 failing. The same 16 tests fail on the base branch.Ticket: SDK-8048 · Release: APS-22894
🤖 Generated with Claude Code