Skip to content
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: add tracing support for forge API #3362

Merged
merged 4 commits into from
Nov 3, 2023
Merged

feat: add tracing support for forge API #3362

merged 4 commits into from
Nov 3, 2023

Conversation

MarshallOfSound
Copy link
Member

@MarshallOfSound MarshallOfSound commented Sep 25, 2023

Please review this diff with whitespace disabled 🙇

This is kinda ready but also kinda a WIP, this adds all the tracing but no flags for actually getting the trace output. Just want folks thoughts on the approach

image

The idea here is the sub ecosystem modules + makers + publishers + plugins will also call into @electron-forge/tracer

@MarshallOfSound MarshallOfSound requested a review from a team as a code owner September 25, 2023 20:59
@dsanders11
Copy link
Member

dsanders11 commented Nov 2, 2023

Thought I commented on this in the past but guess I never sent it. Overall LGTM and seems like a dope thing to support.

Would there be any benefit to making @electron-forge/tracer more generic and a standalone package which we could then integrate into upstream packages to get even more fine-grained tracing? Not sure what the balance of reusability versus overhead would be. Would love to see tracing across our ecosystem packages, though.

@MarshallOfSound MarshallOfSound merged commit eb2f9d7 into main Nov 3, 2023
7 checks passed
@MarshallOfSound MarshallOfSound deleted the tracing branch November 3, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants