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

Build insight UI #339

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Build insight UI #339

wants to merge 2 commits into from

Conversation

gregsexton
Copy link
Contributor

This renders a debug trace given a static JSON file that is generated
by SKStore.

This renders a debug trace given a static JSON file that is generated
by SKStore.
@gregsexton
Copy link
Contributor Author

Carved out a PR for just the rendering while I continue working on the backend.

'Insight' is what I've been calling the debugger. It's more of a trace than a 'debugger', but in my experimentation this is much more useful - and it will work across machines, platforms, languages, etc.

I'll attach some screenshots.

@gregsexton
Copy link
Contributor Author

Here I ask for a trace of a key produced by a left outer join.

Screenshot 2024-09-25 at 12 10 22

You can zoom, pan around, adjust the positions of nodes, etc.

Screenshot 2024-09-25 at 12 10 38

As you hover over files, the upstream dependencies - including reads performed by the mapper - are highlighted.

Screenshot 2024-09-25 at 12 10 55

You can click in to the detail of how any file was produced. These are the collapsed sections.

Screenshot 2024-09-25 at 12 11 27

Here we see the logic for the computation, with the full transitive closure. Using this we can understand exactly how the logic operated and why it produced this value.

Screenshot 2024-09-25 at 12 13 11

Here are the out of band reads made compared to the input files the DAG fed the mapping function.

Screenshot 2024-09-25 at 12 14 12

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.

1 participant