🔒 Quality: no lint error or warning left (shellcheck, Go CVEs)
- shellcheck: bench-lib.sh is sourced (a `shell=bash` directive, no
shebang), a2a-discussion/stop.sh stops when cd fails, slow.sh quotes its
glob, local-ci-00-common.sh's git_url/assets_dir marked as read by the
scripts that source it
- toolchain go1.27.4 (GO-2026-6859, net/http, fixed in 1.27.4) for mm and
for the Go modules of the demos and fixtures, which declared go 1.22 or
1.24 (104 stdlib CVEs reported once per go.mod); demos/dev.team/workspace's
golang.org/x/{crypto,net,sys,text} upgraded
- every module builds and vets; the wasm modules build with TinyGo 0.44;
the two failing test suites (model-check calc fixture, dev.team
workspace) failed the same way before
qlty check: 1 error, 557 warnings → 0, 0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>a5dd909 parent: 1cfe23f modified
demo.acp.sdk/go/go.mod +3 -1 | @@ -3,6 +3,8 @@ | ||
| 3 | 3 | // build it, and so that it imports nothing from mm — only the ACP SDK mm uses. |
| 4 | 4 | module minime |
| 5 | 5 | |
| 6 | -go 1.24 | |
| 6 | +go 1.27.0 | |
| 7 | + | |
| 8 | +toolchain go1.27.4 | |
| 7 | 9 | |
| 8 | 10 | require github.com/coder/acp-go-sdk v0.13.5 |
| @@ -3,6 +3,8 @@ | |||
| 3 | // build it, and so that it imports nothing from mm — only the ACP SDK mm uses. | 3 | // build it, and so that it imports nothing from mm — only the ACP SDK mm uses. |
| 4 | module minime | 4 | module minime |
| 5 | 5 | ||
| 6 | -go 1.24 | 6 | +go 1.27.0 |
| 7 | + | ||
| 8 | +toolchain go1.27.4 | ||
| 7 | 9 | ||
| 8 | require github.com/coder/acp-go-sdk v0.13.5 | 10 | require github.com/coder/acp-go-sdk v0.13.5 |
modified
demos/a2a-discussion/stop.sh +1 -1 | @@ -1,6 +1,6 @@ | ||
| 1 | 1 | #!/usr/bin/env bash |
| 2 | 2 | # Stop the three agents. The last one to quit stops llama-server. |
| 3 | -cd "$(dirname "$0")" | |
| 3 | +cd "$(dirname "$0")" || exit 1 | |
| 4 | 4 | for agent in alice bob moderator; do |
| 5 | 5 | [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent" |
| 6 | 6 | rm -f "$agent.pid" |
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | # Stop the three agents. The last one to quit stops llama-server. | 2 | # Stop the three agents. The last one to quit stops llama-server. |
| 3 | -cd "$(dirname "$0")" | 3 | +cd "$(dirname "$0")" || exit 1 |
| 4 | for agent in alice bob moderator; do | 4 | for agent in alice bob moderator; do |
| 5 | [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent" | 5 | [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent" |
| 6 | rm -f "$agent.pid" | 6 | rm -f "$agent.pid" |
modified
demos/decision-chat-golang/hooks/ask-decider/go.mod +3 -1 | @@ -2,4 +2,6 @@ | ||
| 2 | 2 | // mini-me does not build it. |
| 3 | 3 | module askdecider |
| 4 | 4 | |
| 5 | -go 1.24 | |
| 5 | +go 1.27.0 | |
| 6 | + | |
| 7 | +toolchain go1.27.4 | |
| @@ -2,4 +2,6 @@ | |||
| 2 | // mini-me does not build it. | 2 | // mini-me does not build it. |
| 3 | module askdecider | 3 | module askdecider |
| 4 | 4 | ||
| 5 | -go 1.24 | 5 | +go 1.27.0 |
| 6 | + | ||
| 7 | +toolchain go1.27.4 | ||
modified
demos/decision-tools/playground/go.mod +3 -1 | @@ -1,3 +1,5 @@ | ||
| 1 | 1 | module playground |
| 2 | 2 | |
| 3 | -go 1.24 | |
| 3 | +go 1.27.0 | |
| 4 | + | |
| 5 | +toolchain go1.27.4 | |
| @@ -1,3 +1,5 @@ | |||
| 1 | module playground | 1 | module playground |
| 2 | 2 | ||
| 3 | -go 1.24 | 3 | +go 1.27.0 |
| 4 | + | ||
| 5 | +toolchain go1.27.4 | ||
modified
demos/declared-tools/scripts/slow.sh +1 -1 | @@ -4,7 +4,7 @@ | ||
| 4 | 4 | set -eu |
| 5 | 5 | cd "$(dirname "$0")/.." |
| 6 | 6 | threshold=$1 |
| 7 | -files=logs/*.log | |
| 7 | +files="logs/*.log" # expanded below, where it is used unquoted | |
| 8 | 8 | [ $# -ge 2 ] && files="logs/$2.log" |
| 9 | 9 | # shellcheck disable=SC2086 # files is a glob or one path, split on purpose |
| 10 | 10 | awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||' |
| @@ -4,7 +4,7 @@ | |||
| 4 | set -eu | 4 | set -eu |
| 5 | cd "$(dirname "$0")/.." | 5 | cd "$(dirname "$0")/.." |
| 6 | threshold=$1 | 6 | threshold=$1 |
| 7 | -files=logs/*.log | 7 | +files="logs/*.log" # expanded below, where it is used unquoted |
| 8 | [ $# -ge 2 ] && files="logs/$2.log" | 8 | [ $# -ge 2 ] && files="logs/$2.log" |
| 9 | # shellcheck disable=SC2086 # files is a glob or one path, split on purpose | 9 | # shellcheck disable=SC2086 # files is a glob or one path, split on purpose |
| 10 | awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||' | 10 | awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||' |
modified
demos/dev.team/workspace/go.mod +7 -5 | @@ -1,6 +1,8 @@ | ||
| 1 | 1 | module issueapp |
| 2 | 2 | |
| 3 | -go 1.27 | |
| 3 | +go 1.27.0 | |
| 4 | + | |
| 5 | +toolchain go1.27.4 | |
| 4 | 6 | |
| 5 | 7 | require ( |
| 6 | 8 | github.com/gin-gonic/gin v1.10.0 |
| @@ -28,10 +30,10 @@ require ( | ||
| 28 | 30 | github.com/twitchyliquid64/golang-asm v0.15.1 // indirect |
| 29 | 31 | github.com/ugorji/go/codec v1.2.12 // indirect |
| 30 | 32 | golang.org/x/arch v0.8.0 // indirect |
| 31 | - golang.org/x/crypto v0.23.0 // indirect | |
| 32 | - golang.org/x/net v0.25.0 // indirect | |
| 33 | - golang.org/x/sys v0.20.0 // indirect | |
| 34 | - golang.org/x/text v0.15.0 // indirect | |
| 33 | + golang.org/x/crypto v0.59.0 // indirect | |
| 34 | + golang.org/x/net v0.63.0 // indirect | |
| 35 | + golang.org/x/sys v0.50.0 // indirect | |
| 36 | + golang.org/x/text v0.44.0 // indirect | |
| 35 | 37 | google.golang.org/protobuf v1.34.1 // indirect |
| 36 | 38 | gopkg.in/yaml.v3 v3.0.1 // indirect |
| 37 | 39 | ) |
| @@ -1,6 +1,8 @@ | |||
| 1 | module issueapp | 1 | module issueapp |
| 2 | 2 | ||
| 3 | -go 1.27 | 3 | +go 1.27.0 |
| 4 | + | ||
| 5 | +toolchain go1.27.4 | ||
| 4 | 6 | ||
| 5 | require ( | 7 | require ( |
| 6 | github.com/gin-gonic/gin v1.10.0 | 8 | github.com/gin-gonic/gin v1.10.0 |
| @@ -28,10 +30,10 @@ require ( | |||
| 28 | github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | 30 | github.com/twitchyliquid64/golang-asm v0.15.1 // indirect |
| 29 | github.com/ugorji/go/codec v1.2.12 // indirect | 31 | github.com/ugorji/go/codec v1.2.12 // indirect |
| 30 | golang.org/x/arch v0.8.0 // indirect | 32 | golang.org/x/arch v0.8.0 // indirect |
| 31 | - golang.org/x/crypto v0.23.0 // indirect | 33 | + golang.org/x/crypto v0.59.0 // indirect |
| 32 | - golang.org/x/net v0.25.0 // indirect | 34 | + golang.org/x/net v0.63.0 // indirect |
| 33 | - golang.org/x/sys v0.20.0 // indirect | 35 | + golang.org/x/sys v0.50.0 // indirect |
| 34 | - golang.org/x/text v0.15.0 // indirect | 36 | + golang.org/x/text v0.44.0 // indirect |
| 35 | google.golang.org/protobuf v1.34.1 // indirect | 37 | google.golang.org/protobuf v1.34.1 // indirect |
| 36 | gopkg.in/yaml.v3 v3.0.1 // indirect | 38 | gopkg.in/yaml.v3 v3.0.1 // indirect |
| 37 | ) | 39 | ) |
modified
demos/dev.team/workspace/go.sum +8 -8 | @@ -68,16 +68,16 @@ github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ | ||
| 68 | 68 | golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= |
| 69 | 69 | golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc= |
| 70 | 70 | golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= |
| 71 | -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= | |
| 72 | -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= | |
| 73 | -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= | |
| 74 | -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= | |
| 71 | +golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c= | |
| 72 | +golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U= | |
| 73 | +golang.org/x/net v0.63.0 h1:HCoTmNh9EpD1PpK8gBNFY4gcTY4N+KQEO8ylfIKqFJ0= | |
| 74 | +golang.org/x/net v0.63.0/go.mod h1:15JLg3IX1bLjHK264EZQEbIpTiR/KVLuo9CTRWd0pig= | |
| 75 | 75 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
| 76 | 76 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
| 77 | -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= | |
| 78 | -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | |
| 79 | -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= | |
| 80 | -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= | |
| 77 | +golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs= | |
| 78 | +golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= | |
| 79 | +golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo= | |
| 80 | +golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY= | |
| 81 | 81 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= |
| 82 | 82 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
| 83 | 83 | google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= |
| @@ -68,16 +68,16 @@ github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ | |||
| 68 | golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= | 68 | golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= |
| 69 | golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc= | 69 | golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc= |
| 70 | golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= | 70 | golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= |
| 71 | -golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= | 71 | +golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c= |
| 72 | -golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= | 72 | +golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U= |
| 73 | -golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= | 73 | +golang.org/x/net v0.63.0 h1:HCoTmNh9EpD1PpK8gBNFY4gcTY4N+KQEO8ylfIKqFJ0= |
| 74 | -golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= | 74 | +golang.org/x/net v0.63.0/go.mod h1:15JLg3IX1bLjHK264EZQEbIpTiR/KVLuo9CTRWd0pig= |
| 75 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | 75 | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
| 76 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | 76 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= |
| 77 | -golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= | 77 | +golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs= |
| 78 | -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | 78 | +golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= |
| 79 | -golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= | 79 | +golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo= |
| 80 | -golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= | 80 | +golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY= |
| 81 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= | 81 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= |
| 82 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= | 82 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= |
| 83 | google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= | 83 | google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= |
modified
demos/little-coder/skills/go-htmx-app/starter/go.mod +3 -1 | @@ -1,3 +1,5 @@ | ||
| 1 | 1 | module htmx-app |
| 2 | 2 | |
| 3 | -go 1.22 | |
| 3 | +go 1.27.0 | |
| 4 | + | |
| 5 | +toolchain go1.27.4 | |
| @@ -1,3 +1,5 @@ | |||
| 1 | module htmx-app | 1 | module htmx-app |
| 2 | 2 | ||
| 3 | -go 1.22 | 3 | +go 1.27.0 |
| 4 | + | ||
| 5 | +toolchain go1.27.4 | ||
modified
demos/team/starter/go.mod +3 -1 | @@ -1,3 +1,5 @@ | ||
| 1 | 1 | module htmx-app |
| 2 | 2 | |
| 3 | -go 1.22 | |
| 3 | +go 1.27.0 | |
| 4 | + | |
| 5 | +toolchain go1.27.4 | |
| @@ -1,3 +1,5 @@ | |||
| 1 | module htmx-app | 1 | module htmx-app |
| 2 | 2 | ||
| 3 | -go 1.22 | 3 | +go 1.27.0 |
| 4 | + | ||
| 5 | +toolchain go1.27.4 | ||
modified
demos/wasm-hooks/hooks-src/go.mod +3 -1 | @@ -3,4 +3,6 @@ | ||
| 3 | 3 | // (../build.sh). |
| 4 | 4 | module wasmhooks |
| 5 | 5 | |
| 6 | -go 1.24 | |
| 6 | +go 1.27.0 | |
| 7 | + | |
| 8 | +toolchain go1.27.4 | |
| @@ -3,4 +3,6 @@ | |||
| 3 | // (../build.sh). | 3 | // (../build.sh). |
| 4 | module wasmhooks | 4 | module wasmhooks |
| 5 | 5 | ||
| 6 | -go 1.24 | 6 | +go 1.27.0 |
| 7 | + | ||
| 8 | +toolchain go1.27.4 | ||
modified
demos/wasm-tools/tools-src/go.mod +3 -1 | @@ -3,4 +3,6 @@ | ||
| 3 | 3 | // (../build.sh). |
| 4 | 4 | module wasmtools |
| 5 | 5 | |
| 6 | -go 1.24 | |
| 6 | +go 1.27.0 | |
| 7 | + | |
| 8 | +toolchain go1.27.4 | |
| @@ -3,4 +3,6 @@ | |||
| 3 | // (../build.sh). | 3 | // (../build.sh). |
| 4 | module wasmtools | 4 | module wasmtools |
| 5 | 5 | ||
| 6 | -go 1.24 | 6 | +go 1.27.0 |
| 7 | + | ||
| 8 | +toolchain go1.27.4 | ||
modified
go.mod +1 -1 | @@ -2,7 +2,7 @@ module mm | ||
| 2 | 2 | |
| 3 | 3 | go 1.27.0 |
| 4 | 4 | |
| 5 | -toolchain go1.27.3 | |
| 5 | +toolchain go1.27.4 | |
| 6 | 6 | |
| 7 | 7 | require ( |
| 8 | 8 | github.com/coder/acp-go-sdk v0.13.5 |
| @@ -2,7 +2,7 @@ module mm | |||
| 2 | 2 | ||
| 3 | go 1.27.0 | 3 | go 1.27.0 |
| 4 | 4 | ||
| 5 | -toolchain go1.27.3 | 5 | +toolchain go1.27.4 |
| 6 | 6 | ||
| 7 | require ( | 7 | require ( |
| 8 | github.com/coder/acp-go-sdk v0.13.5 | 8 | github.com/coder/acp-go-sdk v0.13.5 |
modified
local-ci-00-common.sh +2 -0 | @@ -27,7 +27,9 @@ REPO="${REPO:-mini-me}" | ||
| 27 | 27 | handle="${RICKUB_HANDLE:-k33g}" |
| 28 | 28 | web="https://rickub.com/${OWNER}/${REPO}" |
| 29 | 29 | api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}" |
| 30 | +# shellcheck disable=SC2034 # git_url and assets_dir are read by the local-ci-0N scripts that source this file | |
| 30 | 31 | git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git" |
| 32 | +# shellcheck disable=SC2034 # (same: read by the scripts that source this file) | |
| 31 | 33 | assets_dir="release/${TAG}" |
| 32 | 34 | |
| 33 | 35 | work="$(mktemp -d)" |
| @@ -27,7 +27,9 @@ REPO="${REPO:-mini-me}" | |||
| 27 | handle="${RICKUB_HANDLE:-k33g}" | 27 | handle="${RICKUB_HANDLE:-k33g}" |
| 28 | web="https://rickub.com/${OWNER}/${REPO}" | 28 | web="https://rickub.com/${OWNER}/${REPO}" |
| 29 | api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}" | 29 | api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}" |
| 30 | +# shellcheck disable=SC2034 # git_url and assets_dir are read by the local-ci-0N scripts that source this file | ||
| 30 | git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git" | 31 | git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git" |
| 32 | +# shellcheck disable=SC2034 # (same: read by the scripts that source this file) | ||
| 31 | assets_dir="release/${TAG}" | 33 | assets_dir="release/${TAG}" |
| 32 | 34 | ||
| 33 | work="$(mktemp -d)" | 35 | work="$(mktemp -d)" |
modified
testing/common/bench-lib.sh +2 -0 | @@ -1,3 +1,5 @@ | ||
| 1 | +# shellcheck shell=bash | |
| 2 | +# (Sourced, never run: it has no shebang; this tells shellcheck the shell.) | |
| 1 | 3 | # The part of a bench that every test set shares: the loop over the tests, |
| 2 | 4 | # recording results, the results table and the Markdown report. Sourced by |
| 3 | 5 | # each set's bench.sh, which sets these first: |
| @@ -1,3 +1,5 @@ | |||
| 1 | +# shellcheck shell=bash | ||
| 2 | +# (Sourced, never run: it has no shebang; this tells shellcheck the shell.) | ||
| 1 | # The part of a bench that every test set shares: the loop over the tests, | 3 | # The part of a bench that every test set shares: the loop over the tests, |
| 2 | # recording results, the results table and the Markdown report. Sourced by | 4 | # recording results, the results table and the Markdown report. Sourced by |
| 3 | # each set's bench.sh, which sets these first: | 5 | # each set's bench.sh, which sets these first: |
modified
testing/model-check/skills/model-check/fixtures/calc/go.mod +3 -1 | @@ -1,3 +1,5 @@ | ||
| 1 | 1 | module calc |
| 2 | 2 | |
| 3 | -go 1.22 | |
| 3 | +go 1.27.0 | |
| 4 | + | |
| 5 | +toolchain go1.27.4 | |
| @@ -1,3 +1,5 @@ | |||
| 1 | module calc | 1 | module calc |
| 2 | 2 | ||
| 3 | -go 1.22 | 3 | +go 1.27.0 |
| 4 | + | ||
| 5 | +toolchain go1.27.4 | ||
modified
testing/model-check/skills/model-check/fixtures/go.mod +3 -1 | @@ -2,4 +2,6 @@ | ||
| 2 | 2 | // tested model writes here never become part of mini-me's module. |
| 3 | 3 | module work |
| 4 | 4 | |
| 5 | -go 1.22 | |
| 5 | +go 1.27.0 | |
| 6 | + | |
| 7 | +toolchain go1.27.4 | |
| @@ -2,4 +2,6 @@ | |||
| 2 | // tested model writes here never become part of mini-me's module. | 2 | // tested model writes here never become part of mini-me's module. |
| 3 | module work | 3 | module work |
| 4 | 4 | ||
| 5 | -go 1.22 | 5 | +go 1.27.0 |
| 6 | + | ||
| 7 | +toolchain go1.27.4 | ||