Automation targeted improvements

Open
#668 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
cli

Research direction

Start by tracing how internal GitHub exceptions are converted into user messages and how pull request creation handles failures. Define completion as retaining exception details for verbose output and retrying transient failures with backoff before reporting an error, especially in automation scenarios.

Written by the indexing model from the issue text.

Description

Issue-Feature
Description of the new feature / enhancement

Improve error reporting from exceptions: currently the internal GH exceptions are lost so it is difficult to know if they are transient, rate limits, etc. Maybe just a --verbose would be good enough here to log exception stacks when they would otherwise be converted to a user message.

Improve retry logic (with backoff) so that transient errors are less impactful in automation scenarios. For example, when attempting to create the PR, it would be better to try a few times before giving the user an error to have them take over. This is true all of the time, but especially in automation where the only recourse is to run the pipeline again.

Proposed technical implementation details

No response

Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/winget-create

All issues in microsoft/winget-create

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.