akamai / akamai/PowerShell

Enhance the retry functionality

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
10
Forks
7
Avg merge
2m
Merged PRs (30d)
4

Description

Are there are plans to enhance the retry functionality in the next release? I am seeing retries not occurring in multiple scenarios. In one case, I am running Get-CpsEnrollment and it fails with an inner exception of 'Unable to connect to the remote server'. I have the global option -EnableErrorRetries set to true and this does not retry.

Also, why are retries limited to GET and HEAD methods?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with Get-CpsEnrollment and the global -EnableErrorRetries option, then trace how the remote-server inner exception and HTTP method are handled. Reproduce the reported failure and compare behavior for GET, HEAD, and other methods. Done means the intended retry scenarios and method policy are documented or covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.