Skip to content

Identify github action logs#2169

Open
aarondr77 wants to merge 2 commits into
devfrom
identify-github-actions-logs
Open

Identify github action logs#2169
aarondr77 wants to merge 2 commits into
devfrom
identify-github-actions-logs

Conversation

@aarondr77

@aarondr77 aarondr77 commented Jan 29, 2026

Copy link
Copy Markdown
Member

Description

Identify GitHub action logs

Testing

Please provide a list of the ways you can "access" or use the functionality. Please try and be exhaustive here, and make sure that you test everything you list.

  • I have tested this on real data that is reasonable and large
  • If I changed the interaction with JupyterLab, I tested that it does not break other programs (like VS Code), and tested that it works "multiple times" in the same notebook.

Documentation

Note if any new documentation needs to addressed or reviewed.


Note

Medium Risk
Changes telemetry gating so analytics events are sent during GitHub Actions runs, which can affect data volume and CI behavior if environment detection is wrong. It’s limited to GitHub Actions via GITHUB_ACTIONS=true, but still touches telemetry/analytics flow.

Overview
Enables telemetry identify and event track calls to be emitted during GitHub Actions workflows (even though CI is treated as a test environment), while continuing to suppress telemetry for local pytest and non-GitHub CI.

Adds is_github_actions() env detection and updates telemetry_utils.identify() and telemetry_utils.log() conditionals accordingly; minor import/comment cleanup in create.py to align CI handling messaging.

Written by Cursor Bugbot for commit ab15100. This will update automatically on new commits. Configure here.

Cursor Bugbot reviewed your changes and found no issues for commit ab15100

@vercel

vercel Bot commented Jan 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
monorepo Ready Ready Preview, Comment Feb 4, 2026 9:36pm

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

UJ_USER_EMAIL, USER_JSON_DEFAULT)
from mito_ai.utils.telemetry_utils import identify
from mito_ai.utils.utils import is_running_test
from mito_ai.utils.utils import is_github_actions, is_running_test

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused import is_github_actions in create.py

Low Severity

The function is_github_actions is imported from mito_ai.utils.utils but never used anywhere in create.py. The code at line 70 still uses is_running_test() to set the GITHUB_ACTION_ID, which applies to all CI environments rather than specifically GitHub Actions. This appears to be either an accidental import or an incomplete change where the condition was intended to be updated but wasn't.

Fix in Cursor Fix in Web

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