Skip to content

Commit

Permalink
chore: Update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvpat committed Feb 13, 2025
1 parent 81698e0 commit fbd65ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84446,9 +84446,14 @@ function run() {
// Node 20 introduced automatic family selection for dual-stack endpoints. When the runner
// sits far away from the secrets manager endpoint it sometimes timeouts on negotiation between
// A and AAAA records. This behaviour was described in the https://github.com/nodejs/node/issues/54359
// The default value is 250ms, increasing to 1s. The integration tests stops beeing flaky with this
// value.
(0, net_1.setDefaultAutoSelectFamilyAttemptTimeout)(1000);
// The default value is 1s. We allow configuring this timeout through the
// 'auto-select-family-attempt-timeout' parameter to help prevent flaky integration tests
const timeout = Number(core.getInput('auto-select-family-attempt-timeout'));
if (timeout < 10 || Number.isNaN(timeout)) {
core.setFailed(`Invalid value for 'auto-select-family-attempt-timeout': ${timeout}. Must be a number greater than or equal to 10.`);
return;
}
(0, net_1.setDefaultAutoSelectFamilyAttemptTimeout)(timeout);
// Default client region is set by configure-aws-credentials
const client = new client_secrets_manager_1.SecretsManagerClient({ region: process.env.AWS_DEFAULT_REGION, customUserAgent: "github-action" });
const secretConfigInputs = [...new Set(core.getMultilineInput('secret-ids'))];
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit fbd65ea

Please sign in to comment.