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

--web leads to an empty page #205

Closed
timgl opened this issue Jul 27, 2024 · 3 comments
Closed

--web leads to an empty page #205

timgl opened this issue Jul 27, 2024 · 3 comments

Comments

@timgl
Copy link

timgl commented Jul 27, 2024

I was trying Gauge on https://github.com/posthog/posthog, and ran gauge show --web, but the page it leads to is empty. https://show.gauge.sh/?uid=6eb4ed80-76cc-43fc-941e-f0238848a221

@emdoyle
Copy link
Member

emdoyle commented Jul 27, 2024

Hi @timgl ! Thanks for raising the issue, and trying out Tach.

This usually means that there are no dependencies listed in your tach.yml, which could mean the source root isn't where Tach expects, or you just need to run tach sync.

I pulled down the Posthog repo, left the source root as-is, and marked ./posthog and all its children as modules:
image
then ran tach sync, and tach show --web to generate this: https://show.gauge.sh/?uid=b908bdbb-0cea-453d-b414-191c823dbc64

Unfortunately it's pretty tough to read the resulting graph, we'll have to improve that for larger repos!
In the meantime, tach show (without --web) will give you the underlying graphviz DOT files if you have another viewer you can use.

The tach.yml content itself might be more legible, and can give you a feel for your dependencies. Also check out tach report!

@caelean
Copy link
Member

caelean commented Jul 28, 2024

This is a good call out as well - if all of your modules are isolated right now we don't show anything, whereas we should show those modules that are fully isolated. Just updated show --web to do this! Example below -
image

In general there's definitely a lot we can do to make tach more ergonomic on larger repos - @timgl would love to pick your brain if you're open to it! Was awesome to hear from you at the YC OSS meetup on Friday 😄
If you're still in SF, ☕/🍺 on us!

@emdoyle
Copy link
Member

emdoyle commented Aug 26, 2024

Closing this due to inactivity. Taking it as feedback that show could use some love.

@emdoyle emdoyle closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
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

No branches or pull requests

3 participants