Skip to content

Commit fbd65ea

Browse files
committed
chore: Update dist
1 parent 81698e0 commit fbd65ea

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

dist/index.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84446,9 +84446,14 @@ function run() {
8444684446
// Node 20 introduced automatic family selection for dual-stack endpoints. When the runner
8444784447
// sits far away from the secrets manager endpoint it sometimes timeouts on negotiation between
8444884448
// A and AAAA records. This behaviour was described in the https://github.com/nodejs/node/issues/54359
84449-
// The default value is 250ms, increasing to 1s. The integration tests stops beeing flaky with this
84450-
// value.
84451-
(0, net_1.setDefaultAutoSelectFamilyAttemptTimeout)(1000);
84449+
// The default value is 1s. We allow configuring this timeout through the
84450+
// 'auto-select-family-attempt-timeout' parameter to help prevent flaky integration tests
84451+
const timeout = Number(core.getInput('auto-select-family-attempt-timeout'));
84452+
if (timeout < 10 || Number.isNaN(timeout)) {
84453+
core.setFailed(`Invalid value for 'auto-select-family-attempt-timeout': ${timeout}. Must be a number greater than or equal to 10.`);
84454+
return;
84455+
}
84456+
(0, net_1.setDefaultAutoSelectFamilyAttemptTimeout)(timeout);
8445284457
// Default client region is set by configure-aws-credentials
8445384458
const client = new client_secrets_manager_1.SecretsManagerClient({ region: process.env.AWS_DEFAULT_REGION, customUserAgent: "github-action" });
8445484459
const secretConfigInputs = [...new Set(core.getMultilineInput('secret-ids'))];

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)