@arjunkhera/atlas 0.4.32 → 0.4.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/door/lib/approve.mjs
CHANGED
|
@@ -180,7 +180,11 @@ export async function approvePulls({ prs, repo, root, key, provider, yes = false
|
|
|
180
180
|
const bad = prs.find((pr) => !/^[1-9][0-9]{0,8}$/.test(String(pr)));
|
|
181
181
|
if (bad !== undefined) throw new ApproveError(`"${bad}" is not a pull request number.`);
|
|
182
182
|
const name = repoOf({ repo, root });
|
|
183
|
-
|
|
183
|
+
// Each read takes some seconds, so say what is read: a silent screen looks
|
|
184
|
+
// like a hang (owner, 27 October 2026).
|
|
185
|
+
const numbers = [...new Set(prs.map(Number))];
|
|
186
|
+
line(`atlas approve: reading the gate of ${numbers.length} pull request(s) in ${name}. Each one can take about 15 seconds.`);
|
|
187
|
+
const results = numbers.map((pr, index) => { line(` reading #${pr} (${index + 1} of ${numbers.length}) ...`); return gateResult(deps, name, pr); });
|
|
184
188
|
line(`atlas approve: ${name}, ${results.length} pull request(s). The gate's own words for each:`);
|
|
185
189
|
for (const one of results) {
|
|
186
190
|
line(` #${one.pr}${one.head ? ` at ${one.head.slice(0, 7)}` : ''}${one.base_ref ? ` into ${plainText(one.base_ref)}` : ''} ${one.state.toUpperCase()} ${one.title ?? ''}`.trimEnd());
|
package/package.json
CHANGED