René's URL Explorer Experiment


Title: Add opt-in tracing hooks for JS bridge by kateinoigakukun · Pull Request #548 · swiftwasm/JavaScriptKit · GitHub

Open Graph Title: Add opt-in tracing hooks for JS bridge by kateinoigakukun · Pull Request #548 · swiftwasm/JavaScriptKit

X Title: Add opt-in tracing hooks for JS bridge by kateinoigakukun · Pull Request #548 · swiftwasm/JavaScriptKit

Description: Motivation: Add opt-in tracing hooks so developers can see Swift<->JS bridge crossings without shipping extra overhead. Overview: Gate tracing with the Tracing trait in the Swift 6.2+ manifest; fall back to env-controlled enablement for 6.1 to keep compatibility. Provide JSTracing hooks around Swift->JS calls and JSClosure invocations, including method names and closure creation metadata. Document trait usage, add tracing-focused unit tests, and let CI opt out of passing --traits via an env flag in make unittest.

Open Graph Description: Motivation: Add opt-in tracing hooks so developers can see Swift<->JS bridge crossings without shipping extra overhead. Overview: Gate tracing with the Tracing trait in the Swift 6.2+ mani...

X Description: Motivation: Add opt-in tracing hooks so developers can see Swift&lt;-&gt;JS bridge crossings without shipping extra overhead. Overview: Gate tracing with the Tracing trait in the Swift 6...

Opengraph URL: https://github.com/swiftwasm/JavaScriptKit/pull/548

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f0cc1a9d-9f22-05b7-d146-eb4c119820d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8B0:398A3A:A747B94:D685A21:697EF1DF
html-safe-noncebf240e9825ce877ffd5ec3fc3d138d4e8a667982b34526588db3c04b22a4b6b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEIwOjM5OEEzQTpBNzQ3Qjk0OkQ2ODVBMjE6Njk3RUYxREYiLCJ2aXNpdG9yX2lkIjoiNjQwMjgzMDA4NzIxMjY5MTkzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6d07b27d5f9232fa653b15fa407fc30be8d0d29689631e58e663e3d2262a1226
hovercard-subject-tagpull_request:3222570507
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/swiftwasm/JavaScriptKit/pull/548/files
twitter:imagehttps://avatars.githubusercontent.com/u/11702759?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11702759?s=400&v=4
og:image:altMotivation: Add opt-in tracing hooks so developers can see Swift<->JS bridge crossings without shipping extra overhead. Overview: Gate tracing with the Tracing trait in the Swift 6.2+ mani...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/swiftwasm/JavaScriptKit git https://github.com/swiftwasm/JavaScriptKit.git
octolytics-dimension-user_id49500752
octolytics-dimension-user_loginswiftwasm
octolytics-dimension-repository_id244832006
octolytics-dimension-repository_nwoswiftwasm/JavaScriptKit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id244832006
octolytics-dimension-repository_network_root_nwoswiftwasm/JavaScriptKit
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/swiftwasm/JavaScriptKit/pull/548/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fswiftwasm%2FJavaScriptKit%2Fpull%2F548%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fswiftwasm%2FJavaScriptKit%2Fpull%2F548%2Ffiles
Sign up https://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=swiftwasm%2FJavaScriptKit
Reloadhttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
Reloadhttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
Reloadhttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
swiftwasm https://github.com/swiftwasm
JavaScriptKithttps://github.com/swiftwasm/JavaScriptKit
Please reload this pagehttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
Notifications https://github.com/login?return_to=%2Fswiftwasm%2FJavaScriptKit
Fork 62 https://github.com/login?return_to=%2Fswiftwasm%2FJavaScriptKit
Star 836 https://github.com/login?return_to=%2Fswiftwasm%2FJavaScriptKit
Code https://github.com/swiftwasm/JavaScriptKit
Issues 33 https://github.com/swiftwasm/JavaScriptKit/issues
Pull requests 9 https://github.com/swiftwasm/JavaScriptKit/pulls
Actions https://github.com/swiftwasm/JavaScriptKit/actions
Projects 0 https://github.com/swiftwasm/JavaScriptKit/projects
Security 0 https://github.com/swiftwasm/JavaScriptKit/security
Insights https://github.com/swiftwasm/JavaScriptKit/pulse
Code https://github.com/swiftwasm/JavaScriptKit
Issues https://github.com/swiftwasm/JavaScriptKit/issues
Pull requests https://github.com/swiftwasm/JavaScriptKit/pulls
Actions https://github.com/swiftwasm/JavaScriptKit/actions
Projects https://github.com/swiftwasm/JavaScriptKit/projects
Security https://github.com/swiftwasm/JavaScriptKit/security
Insights https://github.com/swiftwasm/JavaScriptKit/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fswiftwasm%2FJavaScriptKit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fswiftwasm%2FJavaScriptKit%2Fissues%2Fnew%2Fchoose
kateinoigakukunhttps://github.com/kateinoigakukun
mainhttps://github.com/swiftwasm/JavaScriptKit/tree/main
katei/070f-opt-in-call-trachttps://github.com/swiftwasm/JavaScriptKit/tree/katei/070f-opt-in-call-trac
Conversation 0 https://github.com/swiftwasm/JavaScriptKit/pull/548
Commits 9 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits
Checks 9 https://github.com/swiftwasm/JavaScriptKit/pull/548/checks
Files changed 10 https://github.com/swiftwasm/JavaScriptKit/pull/548/files
Add opt-in tracing hooks for JS bridge https://github.com/swiftwasm/JavaScriptKit/pull/548/files#top
Show all changes 9 commits https://github.com/swiftwasm/JavaScriptKit/pull/548/files
afad884 Built an opt-in tracing surface and wired it through the bridge when … kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/afad884a66547d53710a198ac056966246c94042
56a18d7 Applied the review feedback: hooked tracing to the “Tracing” trait an… kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/56a18d72bcd90888a937bd03769ab583d25c9d09
f3448a3 Added tracing unit coverage and wired the trait into the Makefile’s `… kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/f3448a3668653c48fdb1d0e0aa7a482386ede59a
bc73c86 Add Swift 6.2 manifest and trait opt-out kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/bc73c8629d25b592416cf2c09229b4a811b92844
8cb14ee Add Swift 6.2 manifest with tracing trait kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/8cb14ee45c00dd8eb90793b0d0ae321de5cbae47
362af79 Make tracing trait opt-out via env only kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/362af79400c0544f24f1b3d1f137a670b9655cb5
7f29f4c Add option to disable tracing trait in JavaScriptKit tests kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/7f29f4c6144d79328e5cb0a7e1e0c3986e13f3c8
c3825bf Revert changes in Package.swift kateinoigakukun Jan 29, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/c3825bfb36a90dd397b08f9492180f0942af6b44
2804274 Remove metadata fields from non-tracing builds kateinoigakukun Jan 30, 2026 https://github.com/swiftwasm/JavaScriptKit/pull/548/commits/2804274bef5114dbdcc458aec27ea6410ef9677f
Clear filters https://github.com/swiftwasm/JavaScriptKit/pull/548/files
Please reload this pagehttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
Please reload this pagehttps://github.com/swiftwasm/JavaScriptKit/pull/548/files
test.yml https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
Makefile https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
Package@swift-6.2.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-7338ad8c70d3803b56b75c37f2504be1c92b600c28a7e03fb4a29d5a876a4e9f
Debugging.md https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-c4a0c21f2b2dfe05ddc0c6daf108e5399c4dbaa795156a6800669629e571b212
JSClosure.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-b63f88c62e7d73dcd4d951292399da464efec187247de613f4baf66e15376825
JSObject+CallAsFunction.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-36854fb3ee569b7b2730a1d05a657e454ebfd6e2552d1f1eda1c388a40aa20db
JSObject.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-e5259613c35428207e7a4f7e4a7726ac1f6d4a6ef8c979c70040184df36bdb45
JSThrowingFunction.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-e05eb2ae90565be80a4357a193051abd59b79f539d8b7a5b09f899944fb37cd6
JSTracing.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-e2ac2b69b896282cf64fb123fa97dbd27ede4f3570eb174881ca165045d646b9
JSTracingTests.swift https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-3cf2b6f1ca60225aa6e2a4bb9703f9c6bf7d423972728fcf53caf300797d5dfe
.github/workflows/test.ymlhttps://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
View file https://github.com/swiftwasm/JavaScriptKit/blob/2804274bef5114dbdcc458aec27ea6410ef9677f/.github/workflows/test.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/swiftwasm/JavaScriptKit/pull/548/{{ revealButtonHref }}
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88
Makefilehttps://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/swiftwasm/JavaScriptKit/blob/2804274bef5114dbdcc458aec27ea6410ef9677f/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/swiftwasm/JavaScriptKit/pull/548/{{ revealButtonHref }}
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
Package@swift-6.2.swifthttps://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-7338ad8c70d3803b56b75c37f2504be1c92b600c28a7e03fb4a29d5a876a4e9f
View file https://github.com/swiftwasm/JavaScriptKit/blob/2804274bef5114dbdcc458aec27ea6410ef9677f/Package%40swift-6.2.swift
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/swiftwasm/JavaScriptKit/pull/548/{{ revealButtonHref }}
Sources/JavaScriptKit/Documentation.docc/Articles/Debugging.mdhttps://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-c4a0c21f2b2dfe05ddc0c6daf108e5399c4dbaa795156a6800669629e571b212
View file https://github.com/swiftwasm/JavaScriptKit/blob/2804274bef5114dbdcc458aec27ea6410ef9677f/Sources/JavaScriptKit/Documentation.docc/Articles/Debugging.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/swiftwasm/JavaScriptKit/pull/548/{{ revealButtonHref }}
https://github.com/swiftwasm/JavaScriptKit/pull/548/files#diff-c4a0c21f2b2dfe05ddc0c6daf108e5399c4dbaa795156a6800669629e571b212
Please reload this pagehttps://github.com/swiftwasm/JavaScriptKit/pull/548/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

Viewport: width=device-width


URLs of crawlers that visited me.