Skip to content

feat(api): add request retries & fix(container): Error on failing to get published apps - #41

Merged
OleWunschmann merged 8 commits into
mainfrom
feat/add-alpaca-api-retries
Mar 23, 2026
Merged

OleWunschmann merged 8 commits into
mainfrom
feat/add-alpaca-api-retries

Conversation

@OleWunschmann

@OleWunschmann OleWunschmann commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

API Retries: (AB#4708)

  • Added $Retries and $NoRetryStatusCodes parameters to Invoke-AlpacaApiRequest, implementing exponential backoff and skipping retries for specific HTTP status codes.
  • Updated all module functions that call Invoke-AlpacaApiRequest (such as Get-AlpacaAppInfo, Get-AlpacaConfigSyncStatus, Get-AlpacaDependencyApps, New-AlpacaContainer, Remove-AlpacaContainer, Sync-AlpacaConfigs, Wait-AlpacaContainerImageReady) to use the new retry functionality, typically with 3 retries. [1] [2] [3] [4] [5] [6] [7]

Retrieving published App: (AB#4656)

  • Removed try/catch for retrieving published apps to throw possible errors and stop the workflow
  • Improved variable initialization for published apps

@OleWunschmann
OleWunschmann requested a review from a team as a code owner March 20, 2026 14:44
Copilot AI review requested due to automatic review settings March 20, 2026 14:44

This comment was marked as outdated.

OleWunschmann and others added 2 commits March 20, 2026 16:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Scripts/Modules/API-Helper.psm1 Resolved
Comment thread Scripts/Modules/API-Helper.psm1 Resolved
OleWunschmann and others added 2 commits March 20, 2026 18:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@OleWunschmann
OleWunschmann enabled auto-merge (squash) March 20, 2026 18:14
@OleWunschmann
OleWunschmann merged commit 45e32ad into main Mar 23, 2026
1 check passed
@OleWunschmann
OleWunschmann deleted the feat/add-alpaca-api-retries branch March 23, 2026 06:42
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.

3 participants