Show / Hide Table of Contents

Interface IBugSearch

Namespace: CrashCABN.BugFiler
Assembly: CrashCABN.BugFiler.Abstractions.dll
Syntax
public interface IBugSearch

Methods

View Source

FindMatchingBugAsync(string, string, IImmutableDictionary<string, MetadataItem>, KeyValuePair<string, IImmutableList<string>>)

Finds a BugItemType item matches the failure bucket ID of the provided crash.

Declaration
Task<BugDetails> FindMatchingBugAsync(string appName, string appVersion, IImmutableDictionary<string, MetadataItem> metadata, KeyValuePair<string, IImmutableList<string>> parentBugFilter)
Parameters
Type Name Description
string appName
string appVersion
IImmutableDictionary<string, MetadataItem> metadata
KeyValuePair<string, IImmutableList<string>> parentBugFilter
Returns
Type Description
Task<BugDetails>

The matching bug instance with room for a new crash and its ID if found, otherwise null. Also the count of matching crashes that were found for the same version. This includes being parented to the same bug as well as any other matching bug.

View Source

FindMatchingBugAsync(string, string, string, CancellationToken)

Finds a BugItemType item matches the failure bucket ID of the provided crash.

Declaration
Task<BugDetails> FindMatchingBugAsync(string bucket, string appName, string appVersion, CancellationToken cancellationToken)
Parameters
Type Name Description
string bucket
string appName
string appVersion
CancellationToken cancellationToken
Returns
Type Description
Task<BugDetails>

The matching bug instance with room for a new crash and its ID if found, otherwise null. Also the count of matching crashes that were found for the same version. This includes being parented to the same bug as well as any other matching bug.

View Source

FindMatchingCrashAsync(string, CancellationToken)

Finds a CrashInstanceItemType item a matching ID of the provided crash.

Declaration
ValueTask<bool> FindMatchingCrashAsync(string crashId, CancellationToken cancellationToken)
Parameters
Type Name Description
string crashId
CancellationToken cancellationToken
Returns
Type Description
ValueTask<bool>

True if a matching crash instance work item was found

View Source

FindMatchingCrashesAsync(string, CancellationToken)

Finds a CrashInstanceItemType item a matching ID of the provided crash.

Declaration
IAsyncEnumerable<int> FindMatchingCrashesAsync(string crashId, CancellationToken cancellationToken)
Parameters
Type Name Description
string crashId
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<int>

IDs of any matching crash instances found

  • View Source
In this article
Back to top Generated by DocFX