Comments (2)
@joshuay03 Thanks for sharing! My spelunking was leaving me stumped.
from rack-mini-profiler.
I dug into this a bit cause it's affecting our app as well.
From what I can tell, Turbo 8 references and uses the native window.fetch
function for its requests (added in hotwired/turbo#1019). As a result, this override is never utilised by Turbo Drive because the Turbo scripts are preloaded before the profiler script is executed:
![Screenshot 2024-04-28 at 9 51 55 PM](https://private-user-images.githubusercontent.com/54629302/326255189-c184ade4-31dc-42bb-9f42-07583068d278.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MjY5MTUsIm5iZiI6MTcxOTYyNjYxNSwicGF0aCI6Ii81NDYyOTMwMi8zMjYyNTUxODktYzE4NGFkZTQtMzFkYy00MmJiLTlmNDItMDc1ODMwNjhkMjc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDAyMDMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwNjk2NWM5MDZiMjQwZDdiZTMxYjA1MDI3ODBhNmVlMjZjZjdmMzRiMTY2MzQ4YWQ0ZTQ0M2Y2MzVlYWNlODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.uUT5o-wA7IdwLuPtmOUNOS0p9tIn6V9JZR2nwCfr7sk)
![Screenshot 2024-04-28 at 9 48 32 PM](https://private-user-images.githubusercontent.com/54629302/326254933-3e6d53b3-7456-401a-b466-8fb1c033fee0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MjY5MTUsIm5iZiI6MTcxOTYyNjYxNSwicGF0aCI6Ii81NDYyOTMwMi8zMjYyNTQ5MzMtM2U2ZDUzYjMtNzQ1Ni00MDFhLWI0NjYtOGZiMWMwMzNmZWUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDAyMDMzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4YTViMmM5MDNkOWViMGE4MzMyODNlMjgxMWUyZWIzNDRhMmNjYThlNTk5MjA0ODJkZjhhYjEwNTBiODYzM2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xFOd4pxSMX_e4czuWmPGlZWUmsUEsPgczRfsSY9Ic44)
from rack-mini-profiler.
Related Issues (20)
- Clicking "more" in speed badge causes an HTTP request, which doesn't work for HTTPS-only servers
- View previously captured flamegraphs
- Optionally (via config? keyboard shortcut?) show URL or controller action name in the badge itself
- "No snapshots exist" with snapshots enabled
- When `data-vertical-position` is `bottom`, then the popup is not positioned correctly
- always-async-flamegraph mode HOT 1
- Question: Support for tracing forked processes HOT 2
- Display row counts in the UI
- Latest release has an issue ...undefined local variable or method `query_string' HOT 2
- Deprecation warning with Rack >= 3.0.0 - Rack::File is deprecated and will be removed in Rack 3.1
- PRs for dotnet not being handled HOT 1
- "Display name in badge" commit accidentally affects SQL table number alignment
- Compliance with Rack : Spec 3. Lower-case HTTP Headers
- `alias_method': undefined method HOT 8
- MiniProfiler storage failure: can't modify frozen HOT 2
- Assets served from Rails deauthorizing client-side profiler
- SQL queries are not profiled for Non-Rails Applications if rails patch is not enabled HOT 1
- Incompabtibility with rack 3/warden/devise HOT 1
- Don't touch HTTP headers where possible HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rack-mini-profiler.