The GitHub Actions job "Link Validator" on pekko-connectors.git/main has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
ae7c53315a8b2faf9b4908cff836b24573813847 / PJ Fanning 
<[email protected]>
Google: close the credentials file when parsing it fails (#1928)

* Google: close the credentials file when parsing it fails

Neither ServiceAccountCredentials nor UserAccessCredentials closed the file in
a finally, so a parse failure leaked the descriptor. That is the routine path:
the application-default provider tries the service account parser first, and on
a machine set up with `gcloud auth application-default login` the well-known
file is an authorized user file, so the first parse always throws before
falling through to the parser that can read it.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Update 
google-common/src/test/scala/org/apache/pekko/stream/connectors/google/auth/CredentialsSpec.scala

Co-authored-by: Philippus Baalman <[email protected]>

* Update 
google-common/src/test/scala/org/apache/pekko/stream/connectors/google/auth/CredentialsSpec.scala

Co-authored-by: Philippus Baalman <[email protected]>

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Philippus Baalman <[email protected]>

Report URL: https://github.com/apache/pekko-connectors/actions/runs/34089270292

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to