[bug] Global axios-retry side-effect in wxccRoutes.js #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/routes/wxccRoutes.js:10callsaxiosRetry(axios, { retries: 3, ... })on the global axios instance, in addition to the per-instance retry applied tojiraClient. This causes any bareaxios.get(...)— including the S3 download insideattachFileToJira— to double-retry with exponential backoff, which is at best wasteful and at worst causes stampedes on transient failures.Fix:
axiosRetry(axios, ...)call.jiraClient.Fixed in commit
c4a0a69.wxccRoutes.jsno longer importsaxios/axios-retryand no longer callsaxiosRetry(axios, ...). That global mutation was the whole side-effect.downloadClientinservices/jira/client.js(own timeout, own retry policy) used byattachFileToJiraandfetchAndConvertTranscriptfor pre-signed S3 URLs.axios.get/axios.postcalls inservices/jira/assets.js(AQL,runAssetsGet) are intentional — they're one-shot diagnostic calls that should not auto-retry.Commits on
cursor/hardening-4-5-6-7:c4a0a69Fix #4312448fFix #5b8f2eabRefactor #6Branch: cursor/hardening-4-5-6-7
Compare: init-repo-and-jira-lifecycle...hardening-4-5-6-7