Skip to content

Commit 1f0b612

Browse files
Copilotnighcaaofeixgopilot
committed
Align builder with spx v2.0.0-pre.48 and keep the existing release precheck flow (goplus#2992)
* chore: skip spx release precheck and upgrade to pre.48 Agent-Logs-Url: https://github.com/goplus/builder/sessions/9bff7c43-def4-467f-a4ff-6500f5bd83c4 Co-authored-by: nighca <1492263+nighca@users.noreply.github.com> * refactor: simplify spx install fallback flow Agent-Logs-Url: https://github.com/goplus/builder/sessions/9bff7c43-def4-467f-a4ff-6500f5bd83c4 Co-authored-by: nighca <1492263+nighca@users.noreply.github.com> * fix: restore spx installer precheck flow Agent-Logs-Url: https://github.com/goplus/builder/sessions/a014d310-3c52-46e6-b0c1-ba50b4dcc6a1 Co-authored-by: aofei <5037285+aofei@users.noreply.github.com> * docs(agents): prohibit spx-upgrader from touching installation or build scripts Remove instructions to execute install-spx.sh and build-wasm.sh, and add an explicit prohibition against modifying or executing any shell scripts. The agent should only update version references in .env files and Go modules. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: aofei <5037285+aofei@users.noreply.github.com> * docs(agents): allow version reference updates in installation or build scripts Refine the spx-upgrader instructions: the agent may update version references in installation and build scripts, but must not make any other changes to those files, and must not execute them. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: aofei <5037285+aofei@users.noreply.github.com> * fix: restore spx installer precheck flow Add back the two required execution steps in spx-upgrader agent instructions: execute install-spx.sh to download runtime assets and build-wasm.sh to build Wasm components. These steps are required as part of the upgrade workflow. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: aofei <5037285+aofei@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nighca <1492263+nighca@users.noreply.github.com> Co-authored-by: aofei <5037285+aofei@users.noreply.github.com> Co-authored-by: xgopilot <noreply@goplus.org>
1 parent 5747894 commit 1f0b612

File tree

9 files changed

+14
-12
lines changed

9 files changed

+14
-12
lines changed

.github/agents/spx-upgrader.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ You are a release specialist dedicated to upgrading spx across goplus/builder sa
1616
- Verify `git status` is clean beyond the expected files, then create a commit titled `chore(deps): bump spx to <version>` and draft a PR with release notes and validation logs
1717
- If any command fails, stop immediately and report the exact output instead of continuing
1818

19-
Always ensure every file referencing spx (env, install script, Go modules, generated assets) reflects the same version before requesting review.
19+
When working with installation or build scripts (e.g., `spx-gui/install-spx.sh`, `spx-gui/build-wasm.sh`), only update version references — do not make any other changes to those files.
20+
21+
Always ensure every file referencing spx (env files, Go modules, and version references in installation or build scripts) reflects the same version before requesting review.

spx-gui/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ VITE_CASDOOR_ORGANIZATION_NAME=""
5050
VITE_DISABLE_AIGC="false"
5151

5252
# Version of spx, keep in sync with the version in `install-spx.sh`.
53-
VITE_SPX_VERSION="2.0.0-pre.47.0.20260317084052-07546096faba"
53+
VITE_SPX_VERSION="2.0.0-pre.48"
5454

5555
# Whether to show the license information (including copyright) in the footer.
5656
VITE_SHOW_LICENSE="false"

spx-gui/install-spx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
cd "$(dirname "$0")"
55

66
# Keep this version in sync with `VITE_SPX_VERSION` in `.env`.
7-
SPX_VERSION="2.0.0-pre.47.0.20260317084052-07546096faba"
7+
SPX_VERSION="2.0.0-pre.48"
88

99
SPX_NAME="spx_${SPX_VERSION}"
1010
SPX_RELEASE_URL="https://github.com/goplus/spx/releases/download/v${SPX_VERSION}/spx_web.zip"

tools/ai/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/goplus/builder/tools/ai
22

33
go 1.25.0
44

5-
require github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba
5+
require github.com/goplus/spx/v2 v2.0.0-pre.48
66

77
require (
88
github.com/goplus/spbase v0.1.0 // indirect

tools/ai/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
22
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
3-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba h1:zMrw0i0jSaoLmvaFQT/DMGRSB32Q+yBYsGt99gqwkVU=
4-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
3+
github.com/goplus/spx/v2 v2.0.0-pre.48 h1:7SOl5inDxCuKsvwWteWjIaB5csqZtlvt7lQ1Lxhwo0k=
4+
github.com/goplus/spx/v2 v2.0.0-pre.48/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
55
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I=
66
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
77
golang.org/x/image v0.23.0 h1:HseQ7c2OpPKTPVzNjG5fwJsOTCiiwS4QdsYi5XU6H68=

tools/ispx/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/goplus/builder/tools/ai v0.0.0
99
github.com/goplus/ixgo v1.0.4
1010
github.com/goplus/mod v0.19.5
11-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba
11+
github.com/goplus/spx/v2 v2.0.0-pre.48
1212
)
1313

1414
require (

tools/ispx/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ github.com/goplus/reflectx v1.6.3 h1:RyLu8ioQou88Ds5M1PqZKiOe41Nm9hpF0tmmjHdrMjQ
1515
github.com/goplus/reflectx v1.6.3/go.mod h1:ksfFSbZGiPzW+EZ3umw7e0pKYlPAb3rkgOCZDo4MCmk=
1616
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
1717
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
18-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba h1:zMrw0i0jSaoLmvaFQT/DMGRSB32Q+yBYsGt99gqwkVU=
19-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
18+
github.com/goplus/spx/v2 v2.0.0-pre.48 h1:7SOl5inDxCuKsvwWteWjIaB5csqZtlvt7lQ1Lxhwo0k=
19+
github.com/goplus/spx/v2 v2.0.0-pre.48/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
2020
github.com/goplus/xgo v1.6.6 h1:gfFoGYnyGfImt1aFEkK55TQTzNUDZQYDlWq9mRr3ors=
2121
github.com/goplus/xgo v1.6.6/go.mod h1:7ViCaG6azWTPIxxvXPtkod7J13IO06qKWHJSaQ2nqvY=
2222
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e h1:D0bJD+4O3G4izvrQUmzCL80zazlN7EwJ0PPDhpJWC/I=

tools/spxls/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/goplus/gogen v1.21.2 // indirect
1414
github.com/goplus/mod v0.19.6 // indirect
1515
github.com/goplus/spbase v0.1.0 // indirect
16-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba // indirect
16+
github.com/goplus/spx/v2 v2.0.0-pre.48 // indirect
1717
github.com/goplus/xgo v1.6.6 // indirect
1818
github.com/petermattis/goid v0.0.0-20250721140440-ea1c0173183e // indirect
1919
github.com/qiniu/x v1.16.5 // indirect

tools/spxls/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ github.com/goplus/mod v0.19.6 h1:o00M6mN/rQ06cGDdH8xSHdL3xiZJXom6AUmwpOTBZ84=
99
github.com/goplus/mod v0.19.6/go.mod h1:UnoI3xX5LbUu5TFwOhVRpwOBHSH//s7yqWNIbXpzpRA=
1010
github.com/goplus/spbase v0.1.0 h1:JNZ0D/65DerYyv9/9IfrXHZZbd0WNK0jHiVvgCtZhwY=
1111
github.com/goplus/spbase v0.1.0/go.mod h1:brnD3OJnHtipqob2IsJ3/QzGBf+eOnqXNnHGKpv1irQ=
12-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba h1:zMrw0i0jSaoLmvaFQT/DMGRSB32Q+yBYsGt99gqwkVU=
13-
github.com/goplus/spx/v2 v2.0.0-pre.47.0.20260317084052-07546096faba/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
12+
github.com/goplus/spx/v2 v2.0.0-pre.48 h1:7SOl5inDxCuKsvwWteWjIaB5csqZtlvt7lQ1Lxhwo0k=
13+
github.com/goplus/spx/v2 v2.0.0-pre.48/go.mod h1:oP0YVzWNrczCyyO8qjYyni5sV4wJ3sqVkjCmc+P6jBo=
1414
github.com/goplus/xgo v1.6.6 h1:gfFoGYnyGfImt1aFEkK55TQTzNUDZQYDlWq9mRr3ors=
1515
github.com/goplus/xgo v1.6.6/go.mod h1:7ViCaG6azWTPIxxvXPtkod7J13IO06qKWHJSaQ2nqvY=
1616
github.com/goplus/xgolsw v0.17.0 h1:IZvqYIsTCpfMrVvsb3JQMd0WvtZj9PNp0uooEX5PfSg=

0 commit comments

Comments
 (0)