fix(build): name the installed-hosts record in the build's host line

'Rendering skills for: claude codex (recorded in <checkout>/.gstack-installed-hosts;
GSTACK_RENDER_HOSTS=all renders every host)' instead of a nested parenthesis.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-08 08:32:50 +00:00
1 parent ecb13a5d5e
commit 4faf399538
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ gstack_render_hosts_select() {
for h in $(gstack_render_hosts_read "$root"); do
[ "$h" = claude ] || GSTACK_RENDER_HOST_LIST="$GSTACK_RENDER_HOST_LIST $h"
done
GSTACK_RENDER_HOST_REASON="the hosts installed from this checkout ($file); GSTACK_RENDER_HOSTS=all renders every host"
GSTACK_RENDER_HOST_REASON="recorded in $file; GSTACK_RENDER_HOSTS=all renders every host"
}
# _gstack_hr_link_abs LINK — absolute target of LINK, its directory part
+2 -2
View File
@@ -67,7 +67,7 @@ describe.skipIf(process.platform === 'win32')('installed-hosts record (bin/gstac
const select = (env: Record<string, string> = {}) => sh(`gstack_render_hosts_select "${root}"; echo "$GSTACK_RENDER_HOST_LIST|$GSTACK_RENDER_HOST_REASON"`, env);
expect(select().stdout).toBe('all|no installed-hosts record, so this is a development checkout\n');
sh(`gstack_render_hosts_add "${root}" codex`);
expect(select().stdout).toStartWith('claude codex|the hosts installed from this checkout');
expect(select().stdout).toStartWith('claude codex|recorded in ');
expect(select({ GSTACK_RENDER_HOSTS: 'all' }).stdout).toBe('all|GSTACK_RENDER_HOSTS=all\n');
const odd = select({ GSTACK_RENDER_HOSTS: 'codex' });
expect(odd.stdout).toStartWith('claude codex|');
@@ -102,7 +102,7 @@ describe.skipIf(process.platform === 'win32')('scripts/build.sh renders the reco
const r = renderCalls(root);
expect(r.status, r.stderr).toBe(0);
expect(r.calls).toEqual(['run gen:skill-docs --host claude', 'run gen:skill-docs --host codex', 'run gen:skill-docs --host factory']);
expect(r.stdout).toContain('Rendering skills for: claude codex factory (the hosts installed from this checkout');
expect(r.stdout).toContain(`Rendering skills for: claude codex factory (recorded in ${root}/.gstack-installed-hosts; GSTACK_RENDER_HOSTS=all renders every host)`);
});
test('GSTACK_RENDER_HOSTS=all renders every host inside an install', () => {