[grade=pending] QA sprint: commit 103 at-risk files from multi-agent sprint work

Committed by Hermes autonomous QA sprint 2026-08-13.
These files were modified during the Aug 12 sprint but never committed.
This commit is contained in:
Krystie
2026-08-12 17:34:10 -07:00
parent 0bf4406253
commit 503de258b8
105 changed files with 14057 additions and 2632 deletions
@@ -16,7 +16,7 @@ class DNSProviderRegistry {
const instance = new adapterClass({}, {});
const id = instance.providerId;
if (this.providers.has(id)) {
console.warn(`DNS provider "${id}" already registered, overwriting`);
process.stderr.write(`[DNS Registry] Provider "${id}" already registered, overwriting\n`);
}
this.providers.set(id, adapterClass);
}
@@ -88,7 +88,7 @@ class DNSProviderRegistry {
}
}
} catch (err) {
console.error(`Failed to load DNS provider from ${file}:`, err.message);
process.stderr.write(`[DNS Registry] Failed to load DNS provider from ${file}: ${err.message}\n`);
}
}
}
@@ -10,6 +10,7 @@
const { execFile } = require('child_process');
const { promisify } = require('util');
const crypto = require('crypto');
const dns = require('dns');
const os = require('os');
const path = require('path');
@@ -117,7 +118,7 @@ class RFC2136Provider extends BaseDNSProvider {
*/
async _runNsupdate(commands) {
const script = commands.join('\n') + '\n';
const tmpFile = path.join(os.tmpdir(), `nsupdate-${Date.now()}-${Math.random().toString(36).slice(2, 8)}.cmd`);
const tmpFile = path.join(os.tmpdir(), `nsupdate-${crypto.randomBytes(4).toString('hex')}.cmd`);
try {
await fs.promises.writeFile(tmpFile, script, { mode: 0o600 });