Skip to content

Commit 1d6311a

Browse files
committed
chore: Update dist
1 parent f0b83b2 commit 1d6311a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dist/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84436,12 +84436,19 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8443684436
Object.defineProperty(exports, "__esModule", ({ value: true }));
8443784437
exports.run = void 0;
8443884438
const core = __importStar(__nccwpck_require__(42186));
84439+
const net_1 = __nccwpck_require__(41808);
8443984440
const client_secrets_manager_1 = __nccwpck_require__(39600);
8444084441
const utils_1 = __nccwpck_require__(71314);
8444184442
const constants_1 = __nccwpck_require__(69042);
8444284443
function run() {
8444384444
return __awaiter(this, void 0, void 0, function* () {
8444484445
try {
84446+
// Node 20 introduced automatic family selection for dual-stack endpoints. When the runner
84447+
// sits far away from the secrets manager endpoint it sometimes timeouts on negotiation between
84448+
// 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);
8444584452
// Default client region is set by configure-aws-credentials
8444684453
const client = new client_secrets_manager_1.SecretsManagerClient({ region: process.env.AWS_DEFAULT_REGION, customUserAgent: "github-action" });
8444784454
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)