-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(telemetry): Capture bundler flag #7536
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Check out the schema.sql file in the root of the telemetry.redwoodjs.com repo, that's a snapshot of the DB schema, and should contain that new webBundler
field. I don't apply that schema to the database or anything, but it lets us know what it should be if we ever need to re-deploy.
I can add that field to the production DB at any time, and then if you create a test project from your repo any commands you run should send telemetry, including your new field. Then we can verify by just checking the database for the new field. (For such a small change it's actually easier to just do it for real than try to run everything locally.)
Yeah I tested it with the verbose flag, even without the DB change the request seems to be accepted.
I'll merge this in, and when you migrate the DB (I tried running SQL file locally on Postgres, but it syntax errors out) - we can pull it into the RC branch? |
@dac09 @cannikin cc @jtoar @Josh-Walker-GM For features that are preview and/or experimental (both Vite and Redwood Record), I suggest we create a specific TOML section, e.g.
What say you all? Is this a change we can make for 4.1:
|
Hey yooo DP! I’d like to suggest not making this change at this time:
But… should we have a way of seeing what experimental things people are using? Absolutely! |
Not swayed by these but I also don’t want to add friction to this getting shipped. I definitely don’t want us to follow this current pattern for future experimental features (instead favoring the separate TOML section), both for the reasons I stated above but also because it feels like it unintentionally communicates these features are “locked into the roadmap”; e.g. we are going to have a bundler config option for web ongoing. Understood about Redwood Record and how this would feel artificial, which comes back to my primary point — I want us to standardize how we structure experimental features both to make it easier for discovery and setup as well as for us to understand usage and performance. Your call, but the following content does need to be updated with this release: |
Captures the bundler being used in the project.