google-github-actions / google-github-actions/auth

Add resilience for ECONNRESET

Open
#537 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
304
PR merge metrics
No merged PRs in 30d

Description

I've just seen ECONNRESET when using google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093:

Tue, 25 Aug 2026 00:11:38 GMT
Run google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
Tue, 25 Aug 2026 00:11:39 GMT
      Created credentials file at "/home/runner/work/observability-github-settings/observability-github-settings/gha-creds-f38d1bc1b68fa459.json"
Tue, 25 Aug 2026 00:11:39 GMT
      Error: google-github-actions/auth failed with: failed to generate Google Cloud federated token for //iam.googleapis.com/projects/**************/locations/global/workloadIdentityPools/github/providers/repo-45c19c0a60baaa5b281cf5c7690: read ECONNRESET

Wonder if it's possible to add some retry+backoff if ECONNRESET

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.

Research direction

Start at the google-github-actions/auth entry point and trace the Google Cloud federated-token generation path that reports ECONNRESET. Define the retry and backoff behavior for this transient failure, then verify that the action succeeds after a retry and still reports permanent failures clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, google-cloud, typescript
Domain
authentication, ci-cd, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.