Skip to content

[Sync] Update project files from source repository (ac305ad)#98

Merged
mrz1836 merged 2 commits into
masterfrom
chore/sync-files-bsv-blockchain-sdks-20260219-192248-ac305ad
Feb 20, 2026
Merged

[Sync] Update project files from source repository (ac305ad)#98
mrz1836 merged 2 commits into
masterfrom
chore/sync-files-bsv-blockchain-sdks-20260219-192248-ac305ad

Conversation

@mrz1836
Copy link
Copy Markdown
Collaborator

@mrz1836 mrz1836 commented Feb 20, 2026

What Changed

  • Added new composite action .github/actions/upload-artifact-resilient/action.yml that provides step-level retry logic (3 attempts with escalating delays of 10s, 30s) for artifact uploads to handle transient GitHub infrastructure failures including non-retryable 403 errors
  • Modified 12 workflow files to use the new upload-artifact-resilient composite action instead of direct actions/upload-artifact calls
  • Added configurable inputs to the composite action including artifact-name, artifact-path, retention-days, if-no-files-found, compression-level, and continue-on-error
  • Configured all upload attempts with overwrite: true and ACTIONS_UPLOAD_RETRY_COUNT=3 for defense-in-depth against infrastructure failures

Why It Was Necessary

  • Transient GitHub infrastructure failures (including CDN/proxy 403 errors during artifact finalization) were causing workflow failures that required manual reruns
  • The native actions/upload-artifact retry mechanism doesn't handle certain non-retryable errors at the step level, requiring a wrapper with explicit retry logic
  • Centralizing artifact upload resilience logic in a composite action provides consistent error handling across all workflows and reduces maintenance burden

Testing Performed

  • Verified the composite action syntax follows GitHub Actions composite action schema with proper input definitions and step configurations
  • Confirmed retry logic uses escalating delays (10s, 30s) between attempts to handle transient infrastructure issues
  • Validated that all 12 workflow files correctly reference the new composite action with appropriate input parameters

Impact / Risk

  • Risk Level: Low - The change wraps existing actions/upload-artifact@v4 functionality with additional retry logic, maintaining backward compatibility
  • Failure Handling: Non-critical artifacts have continue-on-error: true by default, preventing workflow failures while still logging upload issues
  • Performance: Introduces up to 40 seconds of additional delay per artifact upload in worst-case scenarios (3 attempts with escalating delays), but only when uploads fail

@mrz1836 mrz1836 self-assigned this Feb 20, 2026
@mrz1836 mrz1836 added automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps labels Feb 20, 2026
@github-actions github-actions Bot added size/L Large change (201–500 lines) update General updates labels Feb 20, 2026
@sonarqubecloud
Copy link
Copy Markdown

@mrz1836 mrz1836 merged commit 6ce7a52 into master Feb 20, 2026
44 checks passed
@github-actions github-actions Bot deleted the chore/sync-files-bsv-blockchain-sdks-20260219-192248-ac305ad branch February 20, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps size/L Large change (201–500 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant