{ "base": "c3d88840c", "stage": "pre-implementation; not the passing final static check", "occurrences": [ { "file": "scripts/case2-unit.sh", "line": 25, "text": "# optional --tester-port N (1024..65535, never --port). Only factory takes" }, { "file": "scripts/case2-unit.sh", "line": 163, "text": " --tester-port) [ \"$PROFILE\" = factory ] || die \"the library profile refuses --tester-port: the tester listener takes writes from loopback with no sign-in\" ;;" }, { "file": "scripts/case2-unit.sh", "line": 193, "text": " --tester-port) tester_port=\"$value\"" }, { "file": "scripts/case2-unit.sh", "line": 194, "text": " [[ \"$value\" =~ ^[1-9][0-9]{3,4}$ ]] && [ \"$value\" -ge 1024 ] && [ \"$value\" -le 65535 ] || die \"--tester-port must be 1024..65535: $value\" ;;" }, { "file": "scripts/case2-unit.sh", "line": 204, "text": " [ -z \"$tester_port\" ] || [ \"$tester_port\" -ne \"$port\" ] || die \"--tester-port must differ from --port\"" }, { "file": "scripts/instance.sh", "line": 114, "text": "# this instance's, whose ExecStart takes PORT as --port or --tester-port." }, { "file": "scripts/instance.sh", "line": 132, "text": " --tester-port) [[ \"$tok\" =~ ^[0-9]{1,5}$ ]] && ports+=(\"$((10#$tok))\") ;;" }, { "file": "scripts/case1-accept.sh", "line": 65, "text": " case \"$a\" in --port) PORT=\"$v\"; i=$((i + 1)) ;; --tester-port) TESTER_PORT=\"$v\"; i=$((i + 1)) ;; esac" }, { "file": "scripts/case1-accept.sh", "line": 88, "text": " refuse \"$ARGS_FILE lacks a numeric --port or --tester-port after --\"" }, { "file": "scripts/webui-service.sh", "line": 43, "text": "# Console), --tester-socket (private Unix tester), or legacy --tester-port N" }, { "file": "scripts/webui-service.sh", "line": 74, "text": "# --tester-port that another installed Console unit in the unit directory" }, { "file": "scripts/webui-service.sh", "line": 96, "text": " FLAGS: [--port N] [--business ID] [--board URL] [--sso [--send] | --public-host NAME --auth-header HEADER --allow-user ID [--send]] [--tester-socket | --tester-port N (legacy copies)] [--proof-header NAME --proof-file PATH]" }, { "file": "scripts/webui-service.sh", "line": 97, "text": " --tester-port: legacy copies only; 1024..65535, different from --port and never 7332; loopback tester listener." }, { "file": "scripts/webui-service.sh", "line": 137, "text": " --tester-port) [ $# -ge 2 ] || usage; TESTER_PORT=\"$2\"; TESTER_SET=1; SERVE_SET=1; shift 2 ;;" }, { "file": "scripts/webui-service.sh", "line": 182, "text": " echo \"webui-service: --tester-port must be 1024..65535, different from --port and never 7332: $TESTER_PORT\" >&2" }, { "file": "scripts/webui-service.sh", "line": 266, "text": " [ \"$TESTER_SET\" = 0 ] || flags=\"$flags --tester-port $TESTER_PORT\"" }, { "file": "scripts/webui-service.sh", "line": 462, "text": " if grep -Eq '^ExecStart=.*( --allow-user [^ ][^ ]*( --proof-header [^ ]+ --proof-file /[^ ]+)?| --sso) --send( --tester-port [0-9]+| --tester-socket)?$' \"$target\"; then" }, { "file": "scripts/webui-service.sh", "line": 467, "text": " if grep -Eq '^ExecStart=.* --sso( --send)?( --tester-port [0-9]+)?$' \"$target\"; then" }, { "file": "scripts/webui-service.sh", "line": 471, "text": " tester_port=\"$(sed -n 's/^ExecStart=.* --tester-port \\([0-9][0-9]*\\)$/\\1/p' \"$target\")\"" }, { "file": "scripts/stack-release.sh", "line": 47, "text": " stack-release.sh activate ID BUSINESS [--pm | --pm-after-harness] [--migrate] [--tester-socket | --tester-port N (legacy copies)]" }, { "file": "scripts/stack-release.sh", "line": 63, "text": "activate and rollback --plan take --expect-from OLD. --pm, --pm-after-harness, --tester-port, the" }, { "file": "scripts/stack-release.sh", "line": 126, "text": " --tester-port) [ \"$OP\" = activate ] && [ $# -ge 2 ] && [ -n \"$2\" ] || usage; TESTER_PORT=\"$2\"; shift 2 ;;" }, { "file": "scripts/stack-release.sh", "line": 797, "text": " elif grep -q -- '--tester-port' \"$cli\"; then supported=1; fi" }, { "file": "scripts/stack-release.sh", "line": 800, "text": " --tester-port) i=$((i + 1)); inherited=\"${BASE_CONSOLE[i]:-}\" ;;" }, { "file": "scripts/stack-release.sh", "line": 814, "text": " [ -z \"$inherited\" ] || DROP_TESTER=\"--tester-port $inherited (replaced by private Unix socket)\"" }, { "file": "scripts/stack-release.sh", "line": 830, "text": " check_refuse tester-port-invalid \"--tester-port $TESTER_PORT is not a whole port from 1024 to 65535 other than 7332$other\"" }, { "file": "scripts/stack-release.sh", "line": 832, "text": " [ \"$supported\" = 1 ] || check_refuse tester-port-target \"$TO's Console does not support --tester-port\"" }, { "file": "scripts/stack-release.sh", "line": 833, "text": " RUN_CONSOLE=(\"${without_tester[@]}\" --tester-port \"$TESTER_PORT\")" }, { "file": "scripts/stack-release.sh", "line": 837, "text": " RUN_CONSOLE=(\"${without_tester[@]}\") DROP_TESTER=\"--tester-port $inherited\"" }, { "file": "scripts/stack-release.sh", "line": 878, "text": " # --send and --tester-port follow the pointer, so a --no-send or a tester port set after that" }, { "file": "scripts/stack-release.sh", "line": 885, "text": " --tester-port) i=$((i + 1)) ;;" }, { "file": "scripts/stack-release.sh", "line": 893, "text": " --tester-port) i=$((i + 1)); BASE_CONSOLE+=(--tester-port \"${P_CONSOLE[i]:-}\") ;;" }, { "file": "scripts/stack-release.sh", "line": 897, "text": " SSO_PLAN=\"sso: dropped; $TO's Console does not support --sso, so the rollback takes the Console flags from $set/$f, with --send and --tester-port as the pointer has them\"" }, { "file": "scripts/stack-release.sh", "line": 903, "text": "# --tester-port. Sets SSO_DROP (the plan's dropped preview flags), PROOF_PLAN and PROOF_STEP." }, { "file": "scripts/stack-release.sh", "line": 919, "text": " case \"${kept[i]}\" in --send | --tester-port | --tester-socket) break ;; esac" }, { "file": "scripts/stack-release.sh", "line": 1076, "text": " case \"${without_proof[i]}\" in --send | --tester-port | --tester-socket) break ;; esac" }, { "file": "scripts/stack-release.sh", "line": 1134, "text": "# Row 190: the target Console's --port (7332 when absent) and --tester-port against every other" }, { "file": "scripts/stack-release.sh", "line": 1142, "text": " --tester-port) ports+=(\"${RUN_CONSOLE[i + 1]:-}\") ;;" }, { "file": "scripts/stack-release.sh", "line": 2106, "text": " for ((i = 0; i < ${#P_CONSOLE[@]}; i++)); do [ \"${P_CONSOLE[i]}\" != --tester-port ] || reserved+=(\"${P_CONSOLE[i + 1]:-}\"); done" }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 80, "text": "const factoryFlags = () => [\"--port\", \"443\", \"--business\", \"acme\", \"--tester-port\", \"7333\"];" }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 328, "text": " [\"--tester-port\", \"7333\", /the library profile refuses --tester-port/]," }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 364, "text": " refuses(unit(h, { profile: \"factory\", flags: [\"--port\", \"443\", \"--business\", \"acme\", \"--tester-port\", \"443\"] }), /--tester-port must be 1024\\.\\.65535|--tester-port must differ from --port/);" }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 365, "text": " refuses(unit(h, { profile: \"factory\", flags: [\"--port\", \"443\", \"--business\", \"acme\", \"--tester-port\", \"1443\", \"--port\", \"1443\"] }), /given twice/);" }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 378, "text": " refuses(unit(h, { profile: \"factory\", flags: [\"--port\", \"443\", \"--business\", \"acme\", \"--tester-port\", \"443\"] }), /--tester-port must be 1024\\.\\.65535/);" }, { "file": "packages/cli/tests/case2-unit.test.mjs", "line": 380, "text": " assert.match(read(UNIT), /--tester-port must differ from --port/);" }, { "file": "packages/cli/tests/stack-release-fixture.mjs", "line": 306, "text": " for(const [f,text,mode] of [['scripts/mosaic',script(mosaicStub),0o755],['packages/webui/src/cli.mjs',[B,C1,C].includes(id)?`// fixture Console, never run\\n// serve accepts '--tester-port'\\n// serve accepts '--proof-header' (row 178)\\n${[C1,C].includes(id)?\"// serve accepts '--sso' (row 192)\\n\":''}`:'// fixture Console before tester listener, never run\\n',0o644],['packages/bus/src/store.mjs',store,0o644],['packages/bus/src/migrate-schema.mjs',`(${migrateStub})();\\n`,0o644],['packages/plugins/src/kinds.mjs',[C1,C].includes(id)?KINDS_NEW:KINDS_OLD,0o644],...ssoFiles(id).map(([f,text])=>[f,text,0o644])]){" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 681, "text": "const testerFlags=(e,port='7333')=>['--port',e.port,'--business','acme','--tester-port',port];" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 687, "text": " let r=await run(e,'activate',C1,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 688, "text": " assert.deepEqual(pointer(e).console,testerFlags(e));assert.match(consoleText(e),/--tester-port 7333(?:\\n|$)/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 690, "text": " r=await run(e,'activate',B,'acme','--tester-port','7334');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 692, "text": " assert.match(consoleText(e),/--tester-port 7334(?:\\n|$)/);assert.doesNotMatch(consoleText(e),/--tester-port 7333/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 693, "text": " assert.equal((consoleText(e).match(/--tester-port/g)||[]).length,1);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 694, "text": " r=await run(e,'activate',C1,'acme','--plan');assert.equal(r.code,0,r.out+r.err);assert.match(r.out,/Console: .*--tester-port 7334/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 697, "text": " assert.deepEqual(pointer(e).console,testerFlags(e,'7334'));assert.match(consoleText(e),/--tester-port 7334(?:\\n|$)/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 702, "text": " let r=await run(e,'activate',B,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 705, "text": " assert.match(r.out,/drop[^\\n]*--tester-port 7333/i);assert.doesNotMatch(r.out.split('\\n').find((l)=>l.startsWith('Console: ')),/--tester-port/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 708, "text": " assert.deepEqual(pointer(e).console,['--port',e.port,'--business','acme']);assert.doesNotMatch(consoleText(e),/--tester-port/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 709, "text": " assert.match(stepText(e),/drop[^\\n]*--tester-port 7333/i);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 714, "text": " const r=await run(e,'activate',A,'acme','--tester-port','7333');assert.equal(r.code,3,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 718, "text": " assert.match(readFileSync(join(repo,'packages/webui/src/cli.mjs'),'utf8'),/--tester-port/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 724, "text": " const r=await run(e,'activate',C1,'acme','--tester-port',value);assert.equal(r.code,4,`${value}: ${r.out}${r.err}`);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 731, "text": " let r=await run(e,'activate',C1,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 732, "text": " r=await run(e,'activate',A,'acme','--plan');assert.equal(r.code,0,r.out+r.err);assert.match(r.out,/drop[^\\n]*--tester-port 7333/i);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 736, "text": " edit(join(e.units,CON),'--tester-port 7333','--tester-port 7334');const n=calls(e).length;" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 738, "text": " edit(join(e.units,CON),'--tester-port 7334','--tester-port 7333');" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 740, "text": " assert.deepEqual(pointer(e).console,['--port',e.port,'--business','acme']);assert.doesNotMatch(consoleText(e),/--tester-port/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 741, "text": " assert.match(stepText(e),/drop[^\\n]*--tester-port 7333/i);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 746, "text": " let r=await run(e,'activate',C1,'acme','--pm-after-harness','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 749, "text": " assert.deepEqual(pointer(e).console,testerFlags(e));assert.match(consoleText(e),/--tester-port 7333(?:\\n|$)/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 821, "text": " const rule=(port,main)=>`--tester-port ${port} is not a whole port from 1024 to 65535 other than 7332${main?` and the Console's --port ${main}`:''}`;" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 827, "text": " const r=await run(e,'activate',C1,'acme','--pm-after-harness','--plan','--tester-port',port);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 830, "text": " const u=await run(e,'activate',C1,'acme','--pm-after-harness','--tester-port',port);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 839, "text": " const n=calls(e).length,u=await run(e,'activate',C1,'acme','--tester-port','80');" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 843, "text": " await t.test('a target Console without --tester-port',async(t)=>{" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 846, "text": " const r=await run(e,'activate',A,'acme','--tester-port','7333','--plan');" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 848, "text": " assert.deepEqual(r.out.split('\\n').filter((l)=>l.startsWith('refuses ')),[`refuses tester-port-target: ${A}'s Console does not support --tester-port`,`refuses unknown-kind-for-target: the business file names plug-in kind(s) harness, which ${A} does not know`]);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 850, "text": " await refused(e,['activate',A,'acme','--tester-port','7333'],'tester-port-target',`${A}'s Console does not support --tester-port`);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1056, "text": " const r=await run(e,'activate',C1,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1057, "text": " assert.deepEqual(pointer(e).console,[...expected,'--tester-port','7333']);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1058, "text": " assert.ok(consoleText(e).includes([...expected,'--tester-port','7333'].join(' ')));" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1129, "text": " await t.test('tests 1 and 9: the pair goes after the preview flags, before --send and the kept --tester-port, as the unit renders it; a new pair replaces it',async(t)=>{" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1132, "text": " let r=await prun(e,'activate',C1,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1135, "text": " assert.ok(out.find((l)=>l.startsWith('Console: ')).endsWith(` ${PREVIEW.join(' ')} ${pair(f).join(' ')} --send --tester-port 7333`));" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1137, "text": " assert.deepEqual(pointer(e).console,[...pre,...pair(f),'--send','--tester-port','7333']);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1138, "text": " assert.ok(conExec(e).endsWith(` --checkout ${repo} ${[...pre,...pair(f),'--send','--tester-port','7333'].join(' ')}`),conExec(e));" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1141, "text": " assert.deepEqual(pointer(e).console,[...pre,...pair(g,'X-Proof-Two'),'--send','--tester-port','7333']);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1162, "text": " await refused(e,['activate',B,'acme','--tester-port','7333'],'already-active',`${B} is the pointer's copy`);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1351, "text": " const e=await mk(t),base=await seedPreview(e,undefined,['--send','--tester-port','7333']),want=noSend(base);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1352, "text": " assert.deepEqual(want.slice(-2),['--tester-port','7333']);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1367, "text": " await refused(e,['activate',B,'acme','--tester-port','7333'],'already-active',`${B} is the pointer's copy`);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1468, "text": "const ROLLBACK_PLAN=(set)=>`sso: dropped; ${B}'s Console does not support --sso, so the rollback takes the Console flags from ${set}/${SHOW}, with --send and --tester-port as the pointer has them`;" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1480, "text": " let r=await prun(e,'activate',B,'acme','--tester-port','7333',...pair(f));assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1481, "text": " assert.deepEqual(pointer(e).console,[...pre,...pair(f),'--send','--tester-port','7333']);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1483, "text": " const want=['--port',e.port,'--business','acme','--sso','--send','--tester-port','7333'];" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1486, "text": " `sso: on; drops ${DROPS}; carries --port ${e.port} --business acme --send --tester-port 7333`]);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1563, "text": " const out=await planOnly(e,3,'activate',C,'acme','--sso','--tester-port','80');" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1564, "text": " assert.deepEqual(out.filter((l)=>l.startsWith('refuses ')),[`refuses tester-port-invalid: --tester-port 80 is not a whole port from 1024 to 65535 other than 7332 and the Console's --port ${e.port}`,`refuses sso-slot: ${bad('is inside the repository or the copies')}`]);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1584, "text": " const e=await mk(t),base=await seedPreview(e,undefined,['--send','--tester-port','7333']);await ssoConfig(e);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1594, "text": " const want=[...noSend(base.slice(0,-2)),'--tester-port','7333'];" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1682, "text": " assert.deepEqual(ssoLines(await planOnly(a,0,'rollback','acme')),[`sso: dropped; ${B}'s Console does not support --sso, so the rollback takes the Console flags from ${set}/${show}, with --send and --tester-port as the pointer has them`]);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 1811, "text": " writeFileSync(e.pointer,JSON.stringify({copy,business:'acme',pm:true,claude:e.claude,console:['--port',e.port,'--business','acme','--tester-port',TESTER],schema:store,activation:'manual',at:'2026-10-20T00:00:00Z'})+'\\n');" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2198, "text": " ['beta\\'s tester port on alpha\\'s port',b,['--port',free,'--tester-port',a.port],1,`webui-service: refusing port-claimed: ${held}; nothing was changed\\n`]," }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2202, "text": " ['beta\\'s tester port on 7333',b,['--port',free,'--tester-port','7333'],4,'webui-service: port-reserved: 7333 is reserved for the default instance (7330 7332 7333)\\n']," }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2217, "text": " await refused('--tester-port','--tester-port',a.port);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2280, "text": " let r=await run(e,'activate',B,'acme','--tester-port','7333');assert.equal(r.code,0,r.out+r.err);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2290, "text": " r=await run(e,'activate',C1,'acme','--tester-socket','--plan');assert.equal(r.code,0,r.out+r.err);assert.match(r.out,/--tester-socket/);assert.match(r.out,/drop.*--tester-port 7333/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2292, "text": " assert.deepEqual(pointer(e).console,[...base,...pair(proof),'--tester-socket']);assert.match(consoleText(e),/--tester-socket/);assert.doesNotMatch(consoleText(e),/--tester-port/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2319, "text": " assert.doesNotMatch(conExec(e),/ --send(?: |$)|--tester-port|--public-host|--proof-header/);" }, { "file": "packages/cli/tests/stack-release.test.mjs", "line": 2388, "text": " assert.equal(context.argv.includes('--tester-socket'),marked);assert.equal(context.argv.includes('--tester-port'),false);" }, { "file": "packages/cli/tests/case1-accept.test.mjs", "line": 28, "text": " \"--node\", NODE, \"--claude\", CLAUDE, \"--pm\", \"--\", \"--port\", \"732\", \"--business\", \"mosaic-stack\", \"--tester-port\", \"7333\"];" }, { "file": "packages/cli/tests/case1-accept.test.mjs", "line": 477, "text": " \"no tester port\": [(h) => put(h.args, ARGS.slice(0, -2).join(\"\\n\") + \"\\n\", 0o644), /lacks a numeric --port or --tester-port after --$/]," }, { "file": "packages/cli/tests/case1-hostcheck.test.mjs", "line": 68, "text": " \"[Service]\\nExecStart=/opt/mosaic-stack/node/bin/node /srv/mosaic/copies/x/packages/webui/src/cli.mjs serve --port 732 --business mosaic-stack --tester-port 7333\\n\");" }, { "file": "packages/cli/tests/case1-hostcheck.test.mjs", "line": 215, "text": " put(join(h.root, \"etc\", \"systemd\", \"system\", \"mosaic-webui.service\"), \"[Service]\\nExecStart=/x serve --business mosaic-stack --tester-port 7333\\n\");" }, { "file": "packages/cli/tests/stack-release-external.test.mjs", "line": 75, "text": " for(const a of [['activate',C1,'acme','--pm'],['activate',C1,'acme','--tester-port','7444'],['activate',C1,'acme','--no-proof'],['activate',C1,'acme','--no-send'],['activate',C1,'acme','--sso'],['activate',C1,'acme','--proof-header','X','--proof-file','/p'],['rollback','acme'],['gate',B,'acme'],['activate',C1,'acme','--expect-from',B],['confirm',C1,'acme','--rollback',B],['confirm',C1,'acme','--cause','A5']]){" }, { "file": "packages/webui/README.md", "line": 128, "text": "need `--port`, and 7330, 7332 or 7333 as `--port` or `--tester-port` exits 4" }, { "file": "packages/webui/README.md", "line": 130, "text": "`--tester-port` that another installed Console unit in the unit directory" }, { "file": "packages/webui/README.md", "line": 144, "text": "`serve --sso [--send] [--tester-port N]` makes the Console an OpenID Connect" }, { "file": "packages/webui/README.md", "line": 176, "text": "- With `--tester-port`, the tester listener refuses any request carrying an" }, { "file": "packages/webui/README.md", "line": 1001, "text": "There is no tester TCP listener. `--tester-port` is retired for this copy." }, { "file": "packages/webui/tests/tester-cli.test.mjs", "line": 25, "text": " for (const flags of [['--tester-port', '7332'], ['--port', '7444', '--tester-port', '7444'], ['--tester-port', '7444', '--port', '7444'], ...['1023', '65536', '1.5', '-1', 'nope'].map(p => ['--tester-port', p])]) {" }, { "file": "packages/webui/tests/service.test.mjs", "line": 125, "text": " const r = await run(dir, ['render', '--tester-port', port, ...PREVIEW, '--send']);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 127, "text": " assert.match(execStart(r.stdout), new RegExp(` --tester-port ${port}( |$)`));" }, { "file": "packages/webui/tests/service.test.mjs", "line": 129, "text": " assert.ok(execStart(r.stdout).endsWith(` ${PREVIEW_FLAGS} --send --tester-port ${port}`));" }, { "file": "packages/webui/tests/service.test.mjs", "line": 136, "text": " const r = await run(dir, ['render', '--port', main, '--tester-port', '7332']);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 150, "text": " ['--tester-port', ''], ['--tester-port', '1023'], ['--tester-port', '65536']," }, { "file": "packages/webui/tests/service.test.mjs", "line": 151, "text": " ['--tester-port', '-1'], ['--tester-port', '3.5'], ['--tester-port', '1e4']," }, { "file": "packages/webui/tests/service.test.mjs", "line": 152, "text": " ['--tester-port', 'abc'], ['--tester-port', '7333 '], ['--tester-port', '7333\\n']," }, { "file": "packages/webui/tests/service.test.mjs", "line": 153, "text": " ['--port', '7444', '--tester-port', '7444']," }, { "file": "packages/webui/tests/service.test.mjs", "line": 154, "text": " ['--tester-port', '7444', '--port', '7444']," }, { "file": "packages/webui/tests/service.test.mjs", "line": 164, "text": " assert.equal((await run(dir, ['render', '--tester-port'])).status, 4);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 172, "text": " const six = await run(dir, ['render', '--tester-port', '007333']);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 175, "text": " assert.equal(six.stderr, 'webui-service: --tester-port must be 1024..65535, different from --port and never 7332: 007333\\n');" }, { "file": "packages/webui/tests/service.test.mjs", "line": 176, "text": " const five = await run(dir, ['render', '--tester-port', '07333']);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 178, "text": " assert.ok(execStart(five.stdout).endsWith(' --tester-port 07333'), execStart(five.stdout));" }, { "file": "packages/webui/tests/service.test.mjs", "line": 186, "text": " const installed = await run(dir, ['install', ...INSTALL, '--dir', unitDir, '--no-reload', '--port', String(port), '--tester-port', '1024', ...PREVIEW, '--send'], bin);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 188, "text": " assert.match(installed.stdout, /^serve: .* --tester-port 1024( |$)/m);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 189, "text": " assert.match(execStart(readFileSync(join(unitDir, 'mosaic-webui.service'), 'utf8')), / --tester-port 1024( |$)/);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 199, "text": " const refused = await run(dir, [verb, '--dir', unitDir, '--tester-port', '7333'], bin);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 799, "text": " const r = await run(dir, ['install', ...INSTALL, '--dir', unitDir, '--no-reload', '--port', String(port), ...PREVIEW, '--send', '--tester-port', '1024', '--proof-header', 'x-console-proof', '--proof-file', file], bin);" }, { "file": "packages/webui/tests/service.test.mjs", "line": 813, "text": " const both=await run(dir,['render','--tester-socket','--tester-port','7333']);" }, { "file": "packages/webui/src/cli.mjs", "line": 30, "text": " if (flag === '--tester-port') throw new Error('--tester-port retired; activate explicitly with --tester-socket');" } ] }