Skip to content

Commit 2b12c2e

Browse files
tonyfettesclaude
andcommitted
ci: follow main onto the pre-release channel
Main moved CI from nightly to pre-release, which now carries the `process.allow` policy field this branch needs. The Copilot agent environment and the release build still installed nightly to match the CI this branch had set; both follow. The seed pin came back to main's `0.10.10+f8a486b6f` in the rebase, so the signing list drops `lib/libLLVM.dylib` again — that entry existed because the nightly archive shipped a 100MB LLVM library the pinned build did not. Checked against the installed toolchain, which IS that version: the other 37 listed paths are present and only this one is absent, so it would have named a file that does not exist. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 896cf31 commit 2b12c2e

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
- name: Checkout code
3030
uses: actions/checkout@v5
3131

32-
# Nightly, to match CI: `run_moonbit`'s policy states its spawn allowlist
33-
# with `process.allow`, which stable's moonrun rejects outright, so an
34-
# agent working here on stable would find every snippet refused.
32+
# Pre-release, to match CI: `run_moonbit`'s policy states its spawn
33+
# allowlist with `process.allow`, which stable's moonrun rejects outright,
34+
# so an agent working here on stable would find every snippet refused.
3535
- name: Set up MoonBit
3636
run: |
37-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s nightly
37+
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s pre-release
3838
echo "$HOME/.moon/bin" >> $GITHUB_PATH
3939
4040
- name: Update MoonBit dependencies

.github/workflows/desktop-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ jobs:
159159
expected="version = \"$RELEASE_VERSION\""
160160
grep -Fx "$expected" desktop/moon.mod
161161
162-
# Nightly, matching CI. This is the toolchain that BUILDS the app, not the
163-
# seed it ships (that one is pinned by `desktop/.moonbit-version`), but if
164-
# the two channels differed then a change compiling on the channel CI runs
165-
# could still break the release build, and nothing would catch it until a
166-
# release ran.
162+
# Pre-release, matching CI. This is the toolchain that BUILDS the app, not
163+
# the seed it ships (that one is pinned by `desktop/.moonbit-version`), but
164+
# if the two channels differed then a change compiling on the channel CI
165+
# runs could still break the release build, and nothing would catch it
166+
# until a release ran.
167167
- name: Set up MoonBit
168168
run: |
169-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s nightly
169+
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s pre-release
170170
echo "$HOME/.moon/bin" >> "$GITHUB_PATH"
171171
172172
- name: Show MoonBit version

desktop/proton.project.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"target/proton-package-input/toolchains/moonbit/macos-arm64/bin/moonfmt",
3939
"target/proton-package-input/toolchains/moonbit/macos-arm64/bin/mooninfo",
4040
"target/proton-package-input/toolchains/moonbit/macos-arm64/bin/moonrun",
41-
"target/proton-package-input/toolchains/moonbit/macos-arm64/lib/libLLVM.dylib",
4241
"target/proton-package-input/toolchains/moonbit/macos-arm64/lib/libbinaryen.dylib",
4342
"target/proton-package-input/toolchains/moonbit/macos-arm64/lib/why3/commands/why3bench.cmxs",
4443
"target/proton-package-input/toolchains/moonbit/macos-arm64/lib/why3/commands/why3config.cmxs",

0 commit comments

Comments
 (0)