Skip to content

[Feature Request] Scope timeline to errors only #448

@dinoilic

Description

@dinoilic

This is in reference to #443

Summary

Currently the tool that fetches the timeline of a given build is being worked on, which will be super helpful. However, some builds can yield a huge JSON response in the timeline API.

Tools

I would love to have a tool that can get the timeline, but filter it down to only those events that yielded errors. This would help developers ask questions like:

"In this PR: <PR link>, get the latest build errors and summarize what needs to be done to fix them".

build_get_timeline_with_errors_only: Fetch a build timeline and scope it down to errors only. There's a property called errorCount that can potentially be filtered on.

I'm open to any suggestions here though, if there's a better way to scope down to the errors a certain build produced, that would also be great.

Endpoint: POST https://almsearch.dev.azure.com/{organization}/{project}/_apis/search/wikisearchresults?api-version=7.2-preview.1

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions