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

IS_IN_RERUN_WORKSPACE env-var isn't working properly #1418

Closed
emilk opened this issue Feb 27, 2023 · 0 comments · Fixed by #1437
Closed

IS_IN_RERUN_WORKSPACE env-var isn't working properly #1418

emilk opened this issue Feb 27, 2023 · 0 comments · Fixed by #1437
Assignees
Labels
📊 analytics telemetry analytics 🪳 bug Something isn't working

Comments

@emilk
Copy link
Member

emilk commented Feb 27, 2023

We use this for analytics:

.with_prop("rerun_workspace", std::env::var("IS_IN_RERUN_WORKSPACE").is_ok())

It is set in .cargo/config.toml but when I run examples/python/minimal/main.py I see in PostHog rerun_workspace: false

EDIT: this is specifically for when you run via Python using e.g. just py-build && examples/python/dicom/main.py

@emilk emilk added 🪳 bug Something isn't working 📊 analytics telemetry analytics labels Feb 27, 2023
@emilk emilk changed the title IS_IN_RERUN_WORKSPACE env-var isn't working properly IS_IN_RERUN_WORKSPACE env-var isn't working properly Feb 27, 2023
@emilk emilk self-assigned this Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📊 analytics telemetry analytics 🪳 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant