-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Remove all optional positions from the checker #144
Remove all optional positions from the checker #144
Conversation
Nice! This should help prevent against future cases that use this. With regards to testing positions of diagnostics (errors, warnings etc), there isn't any testing to where they are emitted. I could add something to
As long as tests in the CI are green then it should be good. I have looked at the position logic and there isn't too much that can go wrong. This looks good to merge. However: I don't know if you want to have a look at whether They might be hard to add positions to. For example: I know that every Alternatively if there really isn't a possible you could as last resort |
cf9c2cc
to
d3d6823
Compare
I ended up using the function position and it seems to have worked well. The one piece of weirdness I found was here, which felt super un-ergonomic, but given we couldn't open the file, there isn't really much else we could do. In the end I figure that is an extreme corner case where an entry point is defined in the js configs but the file doesn't exist or the user doesn't have permissions to read it. |
8b0293f
to
eab2d57
Compare
Awesome, I will have at look at that edge case later. Except from that looks ready to merge |
remove last vestiges of Option<SpanWithSource> from the checker update cache fix validity check failure clippy fixes
eab2d57
to
a2a192a
Compare
Thanks for the changes that should help with things I want to do with events in the future. I have reverted back to |
As mentioned here, we want to remove all optional
SpanWithSource
references and make positional data required across the checker. This PR attempts to accomplish this.@kaleidawave - still getting comfortable with the codebase and test framework. Might need a bit of help verifying this change doesn't have any unintended side-effects.