Skip to content

Add MicrobotsLogAnalyzer custom ADO task#145

Open
MadhurAggarwal wants to merge 10 commits into
mainfrom
madagg/log-analyzer-ado-task
Open

Add MicrobotsLogAnalyzer custom ADO task#145
MadhurAggarwal wants to merge 10 commits into
mainfrom
madagg/log-analyzer-ado-task

Conversation

@MadhurAggarwal
Copy link
Copy Markdown
Member

Adds a custom Azure DevOps task, MicrobotsLogAnalyzer@0, for running Microbots LogAnalysisBot against log files using Azure OpenAI models, with authentication through an Azure Resource Manager Service Connection.

Overview

  • Added the MicrobotsLogAnalyzerTask Azure Pipelines task.
  • Added Azure DevOps extension manifest and npm dependencies required by the task for connecting to Service Connection.
  • Added documentation for Packaging, Publishing, and Using the task in a pipeline.
  • Added a sample Azure Pipelines YAML file.

Change Details

  • .gitignore: Ignores generated node_modules folders used while packaging the ADO task.
  • README.md: Added a brief guide for the new MicrobotsLogAnalyzerTask.
  • azure-pipelines/vss-extension.json: Defines the ADO extension that contributes the custom pipeline task. This file is needed for publishing the task.
  • azure-pipelines/MicrobotsLogAnalyzerTask/task.json: Defines the MicrobotsLogAnalyzer@0 task metadata, inputs, Node 20 handler, and task restrictions (restrictions ensure that LLM Outputs don't setup unwanted ENVs in ADO Pipeline, for example printing ##vso[task.setvariable as part of Log RCA)
  • azure-pipelines/MicrobotsLogAnalyzerTask/index.js: Implements Main Workflow: validates inputs, logs into Azure Service Connection, prepares Python venv, runs LogAnalysisBot, and prints the analysis.
  • azure-pipelines/MicrobotsLogAnalyzerTask/package.json: Declares the Node dependencies required by the task.
  • azure-pipelines/MicrobotsLogAnalyzerTask/package-lock.json: Locks task Node dependency versions for reproducible packaging.
  • docs/azure-pipelines-log-analyzer.md: Documents prerequisites, packaging, publishing, usage, inputs, and task behavior.
  • docs/examples/azure-pipelines/microbots-log-analyzer.yml: Provides a sample ADO YAML for using MicrobotsLogAnalyzer@0.
  • mkdocs.yml: Adds the new Azure Pipelines Log Analyzer guide to the docs navigation.

Added 12 Unit tests:
image

@MadhurAggarwal
Copy link
Copy Markdown
Member Author

Moved From Forked Repo PR: #141

@MadhurAggarwal MadhurAggarwal requested a review from 0xba1a May 19, 2026 10:35
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