René's URL Explorer Experiment


Title: SDK-7389: send per-test tags to Test Observability by rounak610 · Pull Request #1224 · browserstack/browserstack-cypress-cli · GitHub

Open Graph Title: SDK-7389: send per-test tags to Test Observability by rounak610 · Pull Request #1224 · browserstack/browserstack-cypress-cli

X Title: SDK-7389: send per-test tags to Test Observability by rounak610 · Pull Request #1224 · browserstack/browserstack-cypress-cli

Description: Summary Jira: SDK-7389 Tags set on a test through its Cypress config, e.g. it('…', { tags: ['@test_tag'] }, …) or describe('…', { tags: [...] }, …), never reach Test Observability: details.tags is always [] for Cypress tests, while build-level tags (buildTag) work. The Test Observability reporter builds the TestRun* events without a tags field. Cypress already hands each test's config to the Node-side reporter as test._testConfig (_testConfig is in RUNNABLE_PROPS and is merged into the reporter's runnable on every test event), so no browser-side change is needed. Change bin/testObservability/reporter/index.js: new tags(test) reads the tags from test._testConfig. Current Cypress sends it resolved as { testConfigList: [{ overrides }, ...] } (one entry per describe/it level), older versions send the raw overrides object; both are handled. Suite and test tags are combined, trimmed and de-duplicated; a single string tag is accepted. Any error returns [], so a malformed config can't break reporting. tags is added to TestRunStarted / TestRunFinished / TestRunSkipped events only; hook events are unchanged. Verification On BrowserStack, with the BStackAutomation Cypress sample (SDK/api/automate/cypress, spec sample_before_spec.js, which tags its test @test_tag), Chrome on OS X Big Sur and Edge on Windows 10: this branch (packed and installed through npm_dependencies), Cypress latest: O11y build 69z0q6vj55k5zttjzfggbklwju5tlgtxx0nq7qfq — both tests have details.tags = ["@test_tag"]. this branch, Cypress 13.15.0 pinned in npm_dependencies: O11y build fsiscepazz3g1qwnnsvqjg2qebxtg8fd3mjo0ts2 — both tests have details.tags = ["@test_tag"]. published 1.37.5, Cypress latest, same setup: O11y build 1ec9r1q5zfxidpjzdydegxsm5sxoxtfwpoxdxe8z — both tests have details.tags = []. Unit tests: new test/unit/bin/testObservability/testTags.js (5 cases). Full suite: 750 passing, 2 pending, 16 failing; the same 16 fail on master (745 passing there). That is the check BStackAutomation's test_cypress_wrapper_before_sample.py::test_o11y_test_tag makes (some test in the build must carry @test_tag). 🤖 Generated with Claude Code Summary by CodeRabbit New Features Test run events now include tags configured at both suite and test levels, making run metadata more descriptive. Tags are trimmed and deduplicated, and support both newer configuration formats and legacy overrides. Events remain available when tag configuration is missing or cannot be read; in those cases, no tags are included.

Open Graph Description: Summary Jira: SDK-7389 Tags set on a test through its Cypress config, e.g. it('…', { tags: ['@test_tag'] }, …) or describe('…', { tags: [...] }, …), never reach Test Observa...

X Description: Summary Jira: SDK-7389 Tags set on a test through its Cypress config, e.g. it('…', { tags: ['@test_tag'] }, …) or describe('…', { tags: [...] }, …), ...

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

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:9a1e3abd-1dbc-b679-ef90-034002537ba6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB24C:E4EF6:89F71C:BC743A:6B044AEB
html-safe-nonce5a667260455116a5dfd8076ae90d77df91cda1bdeab7c731df941d9113be1524
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjRDOkU0RUY2Ojg5RjcxQzpCQzc0M0E6NkIwNDRBRUIiLCJ2aXNpdG9yX2lkIjoiODIwMzEzMDAxOTUwNjMwOTg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2685b6e8fdbe9647cabf1e467947f40e043ddf75eec0268038c5f7fae7d9c274
hovercard-subject-tagpull_request:5451768292
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/1224/files
twitter:imagehttps://avatars.githubusercontent.com/u/81288115?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/81288115?s=400&v=4
og:image:altSummary Jira: SDK-7389 Tags set on a test through its Cypress config, e.g. it('…', { tags: ['@test_tag'] }, …) or describe('…', { tags: [...] }, …), never reach Test Observa...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730
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
release059f24c781e3a0d7df3f27a97da0e93fab06ae39
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1224%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%2F1224%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/1224/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/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
rounak610https://github.com/rounak610
masterhttps://github.com/browserstack/browserstack-cypress-cli/tree/master
fix/SDK-7389-cypress-o11y-test-tagshttps://github.com/browserstack/browserstack-cypress-cli/tree/fix/SDK-7389-cypress-o11y-test-tags
Conversation 3 https://github.com/browserstack/browserstack-cypress-cli/pull/1224
Commits 1 https://github.com/browserstack/browserstack-cypress-cli/pull/1224/commits
Checks 6 https://github.com/browserstack/browserstack-cypress-cli/pull/1224/checks
Files changed https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
SDK-7389: send per-test tags to Test Observability https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#top
Show all changes 1 commit https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
fa89263 SDK-7389: send per-test tags to Test Observability rounak610 Nov 23, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1224/commits/fa89263ac06135d3f1b24cd1fb543375695d1e04
Clear filters https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
index.js https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
testTags.js https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-6561e8db7a6e7b26c10ecd73b1ee59c328f19429f2470b7ad1cb19482044a1e8
https://github.com/browserstack/browserstack-cypress-cli/blob/master/CODEOWNERS#L10
bin/testObservability/reporter/index.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
View file https://github.com/browserstack/browserstack-cypress-cli/blob/fa89263ac06135d3f1b24cd1fb543375695d1e04/bin/testObservability/reporter/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
coderabbitaihttps://github.com/apps/coderabbitai
Nov 23, 2026https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#r4665012346
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-4798b5b56abaf7e213859baef6ab90f8a654b138bb5d89c470a0384febf91d66
test/unit/bin/testObservability/testTags.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files#diff-6561e8db7a6e7b26c10ecd73b1ee59c328f19429f2470b7ad1cb19482044a1e8
View file https://github.com/browserstack/browserstack-cypress-cli/blob/fa89263ac06135d3f1b24cd1fb543375695d1e04/test/unit/bin/testObservability/testTags.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1224/{{ revealButtonHref }}
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1224/files
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.