René's URL Explorer Experiment


Title: SDK-8048: run accessibility on Cypress 16.1.0-16.2.0 with forceHttp1 (stacked on #1206) by AakashHotchandani · Pull Request #1222 · browserstack/browserstack-cypress-cli · GitHub

Open Graph Title: SDK-8048: run accessibility on Cypress 16.1.0-16.2.0 with forceHttp1 (stacked on #1206) by AakashHotchandani · Pull Request #1222 · browserstack/browserstack-cypress-cli

X Title: SDK-8048: run accessibility on Cypress 16.1.0-16.2.0 with forceHttp1 (stacked on #1206) by AakashHotchandani · Pull Request #1222 · browserstack/browserstack-cypress-cli

Description: Stacked on #1206 (APS-22894-cypress-16-expose). Lets accessibility run on Cypress 16.2.0 instead of refusing it, by turning on forceHttp1 for the Cypress versions that have the bug (16.1.0 to 16.2.0). Why From Cypress 16.1.0 to 16.2.0 the a11y extension's service worker never starts. It's a regression from cypress-io/cypress#34762 (16.1.0), reported as #35127 on 16.2.0, and fixed by #34958 in 16.2.1 (released 28 Oct). Every scan waits out the 25s timeout and the build still passes, so customers lose a11y results without any error. forceHttp1 avoids the bug. Same-day A/B on preprod (Ventura, Chrome 148, same account and CLI build), 20 Nov: Build Cypress forceHttp1 extension marker click scan step 388951c4 16.2.0 no 55.7s 25.58s (scan timeout) d09f0ba9 16.2.0 yes, set by hand 8.36s 4.21s 352f0b15 16.2.0 yes, added by this PR 8.23s 5.11s cd7ca3fc 15.21.1 n/a 8.84s 5.03s 352f0b15 had no config in browserstack.json. The CLI added forceHttp1 by itself (that run used the first commit, faff373, whose log line said "Cypress 16"; 0cafced narrows it to 16.1.0-16.2.0 and the message now says so). Review follow-up: #1223 keys forceHttp1 on Cypress major 16 instead of the range below, because Rails runs 16.2.0 for every 16.x request today. What changes Accessibility on affected Cypress versions: when accessibility is on and cypress_version is 16.1.0, 16.1.1 or 16.2.0 (range [16.1.0, 16.2.1) in ACCESSIBILITY_FORCE_HTTP1_CYPRESS_RANGE), forceHttp1=true is appended to run_settings.config. Other config keys are kept. If the user already set forceHttp1 (true or false), it's left alone. 16 and 16.latest: these name no minor version and Rails resolves them. They get forceHttp1 while 16.2.0 is the only Cypress 16 Rails offers. Once Rails offers 16.2.1+, that branch should be removed. 16.0.x and 16.2.1+: no forceHttp1. Limit: MAX_CYPRESS_MAJOR_FOR_ACCESSIBILITY 15 → 16. Cypress 16 is allowed and 17+ is still refused. No version given: accessibility builds still ask for 15 (new DEFAULT_CYPRESS_MAJOR_FOR_ACCESSIBILITY), which is this CLI's choice (Rails defaults expose-capable CLIs to its newest Cypress): unpinned accessibility builds stay off the Cypress 16 forceHttp1 path. This PR doesn't move anyone to 16 who didn't ask for it. Messages: the refusal message says "up to version 16", and there's a new info message when forceHttp1 is added. Not covered cypress_version: "latest": the CLI can't tell which major Rails will resolve it to, so forceHttp1 isn't added. If Rails resolves latest to 16 for a11y builds, this needs a backend/terminal fallback. Terminals already set forceHttp1 for Cypress 16 with network logs or Local (terminalDeploy #8868), and extending that condition to accessibility would cover it. CLIs without this change get no forceHttp1. Trade-off: forceHttp1 sends traffic through Cypress's HTTP/1.1 proxy (no HTTP/2, some cy.intercept differences) and Cypress prints a deprecation warning. It only applies to the affected versions, so customers on 16.2.1+ get the normal network mode. Tests test/unit/bin/helpers/capabilityHelper.js: forceHttp1 added for 16 / 16.latest / 16.1.0 / 16.1.1 / 16.2.0; other keys kept; a user-set forceHttp1=false respected; not added for 16.0.0, 16.2.1, 16.3.0, 15, no version (pinned to 15), a11y off, or latest. Refusal now covers 17+; 16 is accepted. capabilityHelper.js: 99 passing. The 5 utils.js failures are the same on the base branch without this change. E2E: preprod build 352f0b15 (above), installed from a test drop branch, SDK-8048-cypress16-preprod-drop. Ticket: SDK-8048 · Release: APS-22894 🤖 Generated with Claude Code

Open Graph Description: Stacked on #1206 (APS-22894-cypress-16-expose). Lets accessibility run on Cypress 16.2.0 instead of refusing it, by turning on forceHttp1 for the Cypress versions that have the bug (16.1.0 to 16.2....

X Description: Stacked on #1206 (APS-22894-cypress-16-expose). Lets accessibility run on Cypress 16.2.0 instead of refusing it, by turning on forceHttp1 for the Cypress versions that have the bug (16.1.0 to 16.2....

Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/pull/1222

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a801cb2c-983e-74f9-5ea5-e60ccc336f51
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96C4:1C9304:1D8AB:2773A:6B044870
html-safe-nonce5c319673e9cfc1055ac7a2e0c590b7a35fe88eea9c150bb83830d0ff8f92ebfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkM0OjFDOTMwNDoxRDhBQjoyNzczQTo2QjA0NDg3MCIsInZpc2l0b3JfaWQiOiI0ODE4MzI4MDg1MjIzMTk2Nzg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacac92cdbc572343694fb6c43e480629d3e76ae346bd30ed9b39d1cf2c0f03a396
hovercard-subject-tagpull_request:5413466732
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
twitter:imagehttps://avatars.githubusercontent.com/u/187596484?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/187596484?s=400&v=4
og:image:altStacked on #1206 (APS-22894-cypress-16-expose). Lets accessibility run on Cypress 16.2.0 instead of refusing it, by turning on forceHttp1 for the Cypress versions that have the bug (16.1.0 to 16.2....
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id242935045
octolytics-dimension-repository_nwobrowserstack/browserstack-cypress-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242935045
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-cypress-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1222%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1222%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=browserstack%2Fbrowserstack-cypress-cli
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
browserstackhttps://github.com/browserstack
browserstack-cypress-clihttps://github.com/browserstack/browserstack-cypress-cli
Codehttps://github.com/browserstack/browserstack-cypress-cli
Issues28 (28)https://github.com/browserstack/browserstack-cypress-cli/issues
Pull requests47 (47)https://github.com/browserstack/browserstack-cypress-cli/pulls
Actionshttps://github.com/browserstack/browserstack-cypress-cli/actions
Projectshttps://github.com/browserstack/browserstack-cypress-cli/projects
Security and quality1 (1)https://github.com/browserstack/browserstack-cypress-cli/security
Insightshttps://github.com/browserstack/browserstack-cypress-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
AakashHotchandanihttps://github.com/AakashHotchandani
APS-22894-cypress-16-exposehttps://github.com/browserstack/browserstack-cypress-cli/tree/APS-22894-cypress-16-expose
SDK-8048-a11y-cypress16-forcehttp1https://github.com/browserstack/browserstack-cypress-cli/tree/SDK-8048-a11y-cypress16-forcehttp1
Conversation 1 https://github.com/browserstack/browserstack-cypress-cli/pull/1222
Commits 2 https://github.com/browserstack/browserstack-cypress-cli/pull/1222/commits
Checks 1 https://github.com/browserstack/browserstack-cypress-cli/pull/1222/checks
Files changed https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
SDK-8048: run accessibility on Cypress 16.1.0-16.2.0 with forceHttp1 (stacked on #1206) https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#top
Show all changes 2 commits https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
faff373 SDK-8048: run accessibility on Cypress 16 with forceHttp1 AakashHotchandani Nov 20, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1222/commits/faff37372e2d1770c721f16f9b0e00ed734005e6
0cafced SDK-8048: add forceHttp1 only for the affected Cypress versions (16.1… AakashHotchandani Nov 20, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1222/commits/0cafced281b90c6226e1729b5cb33faed68719ea
Clear filters https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files
capabilityHelper.js https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
constants.js https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
capabilityHelper.js https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
bin/helpers/capabilityHelper.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
View file https://github.com/browserstack/browserstack-cypress-cli/blob/0cafced281b90c6226e1729b5cb33faed68719ea/bin/helpers/capabilityHelper.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26dee8fe62c5e891965d2de49dd74bd0fad786ae2544889d5519d222a6145256
bin/helpers/constants.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
View file https://github.com/browserstack/browserstack-cypress-cli/blob/0cafced281b90c6226e1729b5cb33faed68719ea/bin/helpers/constants.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-b9662bda6e70593ec8278cc2afff2e7738dd24b93c9267e4e58bfdc6fbaf4d93
test/unit/bin/helpers/capabilityHelper.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
View file https://github.com/browserstack/browserstack-cypress-cli/blob/0cafced281b90c6226e1729b5cb33faed68719ea/test/unit/bin/helpers/capabilityHelper.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
https://github.com/browserstack/browserstack-cypress-cli/pull/1222/files#diff-26f52919ba28c83d05cb83d9ef9f6d782184b7d64fcaeafab647e10b4956db75
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.