mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-12 11:40:51 +01:00
test(host-conformance): delete the named scope.md in the C3 broken-link case
A test repair the remote gate requires, not a review finding. The case
deleted the first .md readdirSync listed under gstack-qa/sections, and
on the remote-gate VM's ext4 that was a file setup --status does not
count, so the case was deterministically red there (#3479) while green
locally and on Actions. The same one-line change ships in #3471
(fd468eb); this copy carries no CHANGELOG line so the two merge cleanly.
Refs #3479
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
8f72d827c8
commit
63c4530ed6
1 file changed
+1
-2
@@ -202,8 +202,7 @@ describe.skipIf(process.platform === 'win32')('host conformance kit', () => {
|
||||
const router = join(f.home, '.codex/skills/gstack/SKILL.md');
|
||||
rmSync(router);
|
||||
symlinkSync(join(src, '.agents/skills/gstack/SKILL.md'), router);
|
||||
const qa = join(src, '.agents/skills/gstack-qa/sections');
|
||||
rmSync(join(qa, readdirSync(qa).find(n => n.endsWith('.md'))!));
|
||||
rmSync(join(src, '.agents/skills/gstack-qa/sections/scope.md'));
|
||||
const status = runSetup(f, join(src, 'setup'), ['--status']);
|
||||
// A1: broken section links make --status exit 1 instead of always 0.
|
||||
expect(status.status).toBe(1);
|
||||
|
||||
Reference in new issue
Block a user