Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow hosted VM report job telemetry via .setup_info file.#4186

Merged
TingluoHuang merged 1 commit intomainfrom
users/tihuang/setuptelemtry
Jan 7, 2026
Merged

Allow hosted VM report job telemetry via .setup_info file.#4186
TingluoHuang merged 1 commit intomainfrom
users/tihuang/setuptelemtry

Conversation

@TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang requested a review from a team as a code owner January 7, 2026 18:14
Copilot AI review requested due to automatic review settings January 7, 2026 18:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables hosted VMs to report job telemetry by filtering internal setup information groups. Internal groups (prefixed with "internal") are now captured as telemetry data instead of being displayed in job output, allowing hosted infrastructure to report telemetry without exposing internal details to end users.

  • Adds filtering logic to detect internal groups in the .setup_info file
  • Routes internal group information to JobTelemetry for backend processing
  • Maintains existing behavior for non-internal groups

Comment on lines +115 to +120
// not output internal groups
if (groupName.StartsWith("_internal_", StringComparison.OrdinalIgnoreCase))
{
jobContext.Global.JobTelemetry.Add(new JobTelemetry() { Type = JobTelemetryType.General, Message = info.Detail });
continue;
}
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

This new behavior of filtering internal groups and sending them as telemetry should be protected by a feature flag. According to the custom coding guidelines, all changes should be safeguarded by feature flags wherever possible. Feature flags should be declared in Constants.cs under the Features class. Consider adding a feature flag check before implementing this new filtering logic to allow for controlled rollout and easy rollback if issues are discovered.

Copilot generated this review using guidance from repository custom instructions.
@TingluoHuang TingluoHuang merged commit bdceac4 into main Jan 7, 2026
18 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/setuptelemtry branch January 7, 2026 18:27
github-actions bot pushed a commit to johngeorgewright/actions-runner that referenced this pull request Jan 19, 2026
alinetskyi pushed a commit to CoreumFoundation/runner that referenced this pull request Jan 26, 2026
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.

3 participants