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

Add binaries to JSON reporter #287

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

Codex-
Copy link
Contributor

@Codex- Codex- commented Oct 10, 2023

I'm currently working on a simple github action that will comment on a PR with the report outputs from the JSON report and noticed that the binaries field was missing in the json blob.

Also noticed a small mistake in the documentation around the report keys

@webpro
Copy link
Collaborator

webpro commented Oct 10, 2023

Thanks @Codex-!

Please undo that devDependencies change (I've just tried to clarify in 50b5aa3).

@Codex-
Copy link
Contributor Author

Codex- commented Oct 10, 2023

No problem, done :)

@webpro
Copy link
Collaborator

webpro commented Oct 10, 2023

Thanks!

Looking forward to see what you're building!

Feel free to suggest more improvements, haven't used this output myself a lot yet.

@webpro webpro merged commit 5113e50 into webpro-nl:main Oct 10, 2023
@webpro
Copy link
Collaborator

webpro commented Oct 10, 2023

🚀 This pull request is included in v2.33.1. See Release 2.33.1 for release notes.

@Codex- Codex- deleted the json_reporter_fix branch October 10, 2023 19:14
@Codex-
Copy link
Contributor Author

Codex- commented Oct 10, 2023

Oh one thing that I'd love to get into the output would be the line number where relevant, my phase 2 for the action would be to use the output to annotate the sources on the pr, guessing we'd have to adapt the node position from the ts ast steps to relevant lines though

@webpro
Copy link
Collaborator

webpro commented Oct 10, 2023

Yes. The file position is easy to expose, the AST visitors already have pos. Only need to calc line + line pos from that. Will pick this up soon. Or maybe you are up to it?

@Codex-
Copy link
Contributor Author

Codex- commented Oct 10, 2023

I don't think I'd get to it for quite a while if you'd be happy with having a look? 🙏

@webpro
Copy link
Collaborator

webpro commented Oct 11, 2023

Of course, no worries!

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

2 participants