Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c110113
Upgrade to .NET 11 (preview)
hahn-kev Aug 13, 2026
9007570
remove android-x86 since it's unused and no longer supported
hahn-kev Aug 13, 2026
9953547
Ship Python 3.12 in the FwHeadless image so bundled Mercurial can run.
hahn-kev Aug 13, 2026
70f543d
Merge remote-tracking branch 'origin/develop' into claude/merge-devel…
hahn-kev Aug 31, 2026
9a7d07f
update schema
hahn-kev Sep 1, 2026
5f2f803
Use .NET 11 RC1 SDK and runtime images
hahn-kev Sep 9, 2026
5f5a3fb
Merge branch 'develop' into dotnet-11 (RC1)
hahn-kev Sep 9, 2026
863e3f7
Bump dev.Dockerfile SDK images to 11.0
hahn-kev Sep 9, 2026
ee00848
FwHeadless dev image: run Mercurial on python3.12
hahn-kev Sep 9, 2026
4971e8c
Merge branch 'develop' into dotnet-11
hahn-kev Nov 6, 2026
f11b835
Move to .NET 11 RC3
hahn-kev Nov 6, 2026
cc22230
Build Apple targets on the xcode-27 runner
hahn-kev Nov 7, 2026
637d9da
Don't require Mono's runtime-info symbol when linking iOS
hahn-kev Nov 7, 2026
5019b72
Raise the Mac Catalyst minimum to 17.0 (macOS 14)
hahn-kev Nov 7, 2026
5691cfc
Merge remote-tracking branch 'origin/develop' into dotnet-11
hahn-kev Nov 9, 2026
f7bf1b6
Make the Apple smoke tests fail on a hung app instead of stalling
hahn-kev Nov 9, 2026
5d5d0db
Merge remote-tracking branch 'origin/develop' into dotnet-11
hahn-kev Nov 12, 2026
9000a19
Move to .NET 11 GA
hahn-kev Nov 12, 2026
6313750
Adopt the UIKit scene lifecycle on iOS and Mac Catalyst
hahn-kev Nov 12, 2026
4f19322
Skip FIFOs when the Apple smoke tests search the app's folders
hahn-kev Nov 12, 2026
aa170ba
Point the FwLite README at .NET 11 and the MAUI project
myieye Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup-dotnet-build/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Set up a .NET build
description: Install the .NET 10 SDK, restore the NuGet package cache (keyed on the central package props), optionally install Task.
description: Install the .NET 11 SDK, restore the NuGet package cache (keyed on the central package props), optionally install Task.
inputs:
install-task:
description: 'Also install Task (arduino/setup-task)'
Expand All @@ -11,7 +11,7 @@ runs:
steps:
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- name: Cache NuGet packages
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
Expand Down
15 changes: 13 additions & 2 deletions .github/scripts/smoke-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,25 @@ STDERR="$OUT_DIR/ios-stderr.log"
PID="$(xcrun simctl launch --stdout="$STDOUT" --stderr="$STDERR" "$UDID" "$BUNDLE_ID" | awk '{print $NF}')"
DATA="$(xcrun simctl get_app_container "$UDID" "$BUNDLE_ID" data)"

# -D skip: CoreCLR's debugger transport leaves FIFOs (clr-debug-pipe-*) in the app's tmp dir, which is inside the
# folders searched here; reading one blocks forever.
viewer_loaded() { grep -rqs -D skip 'Viewer loaded' "$@"; }
for _ in $(seq "$TIMEOUT"); do
grep -rqs 'Viewer loaded' "$STDOUT" "$STDERR" "$DATA" && break
viewer_loaded "$STDOUT" "$STDERR" "$DATA" && break
kill -0 "$PID" 2>/dev/null || { echo "The app exited early"; break; }
sleep 1
done
xcrun simctl io "$UDID" screenshot "$OUT_DIR/ios.png" || true
found=false
grep -rqs 'Viewer loaded' "$STDOUT" "$STDERR" "$DATA" && found=true
viewer_loaded "$STDOUT" "$STDERR" "$DATA" && found=true
if [ "$found" = false ] && kill -0 "$PID" 2>/dev/null; then
echo "::group::The app is still running without 'Viewer loaded': native stacks"
sample "$PID" 3 2>&1 || true
echo "::endgroup::"
fi
# A hung .NET app never finishes the graceful shutdown simctl terminate asks for, and terminate then blocks;
# the simulator app is a host process, so SIGKILL it first.
kill -9 "$PID" 2>/dev/null || true
xcrun simctl terminate "$UDID" "$BUNDLE_ID" 2>/dev/null || true
cat "$STDOUT" "$STDERR" 2>/dev/null || true
find "$DATA" -name 'app*.log' -print -exec cat {} \; 2>/dev/null || true
Expand Down
15 changes: 13 additions & 2 deletions .github/scripts/smoke-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ OUT="$RUNNER_TEMP/mac-stdout.log"
# app.log lands in the sandbox container when the app is signed with its entitlements, else in Application Support.
LOG_DIRS=("$HOME/Library/Containers/$BUNDLE_ID" "$HOME/Library/Application Support/$BUNDLE_ID")

# -D skip: CoreCLR's debugger transport leaves FIFOs (clr-debug-pipe-*) in the app's tmp dir, which is inside the
# folders searched here; reading one blocks forever.
viewer_loaded() { grep -rqs -D skip 'Viewer loaded' "$@"; }
"$EXE" > "$OUT" 2>&1 &
PID=$!
for _ in $(seq "$TIMEOUT"); do
grep -rqs 'Viewer loaded' "$OUT" "${LOG_DIRS[@]}" && break
viewer_loaded "$OUT" "${LOG_DIRS[@]}" && break
kill -0 "$PID" 2>/dev/null || break
sleep 1
done
if ! viewer_loaded "$OUT" "${LOG_DIRS[@]}" && kill -0 "$PID" 2>/dev/null; then
echo "::group::The app is still running without 'Viewer loaded': native stacks"
sample "$PID" 3 2>&1 || true
echo "::endgroup::"
fi
# .NET treats SIGTERM as a graceful shutdown, which never finishes if the app is hung, so fall back to SIGKILL.
kill "$PID" 2>/dev/null || true
for _ in $(seq 10); do kill -0 "$PID" 2>/dev/null || break; sleep 1; done
kill -9 "$PID" 2>/dev/null || true
wait "$PID" 2>/dev/null || true
cat "$OUT"
find "${LOG_DIRS[@]}" -name 'app*.log' -print -exec cat {} \; 2>/dev/null || true
grep -rqs 'Viewer loaded' "$OUT" "${LOG_DIRS[@]}" || { echo "::error::The Mac app never logged 'Viewer loaded'"; exit 1; }
viewer_loaded "$OUT" "${LOG_DIRS[@]}" || { echo "::error::The Mac app never logged 'Viewer loaded'"; exit 1; }
echo "The Mac app logged 'Viewer loaded'"
42 changes: 23 additions & 19 deletions .github/workflows/fw-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ permissions:
env:
VIEWER_BUILD_OUTPUT_DIR: backend/FwLite/FwLiteShared/wwwroot/viewer
# Pinned so a new workload set (e.g. a new default Apple SDK pack) cannot silently break the MAUI builds.
MAUI_WORKLOAD_VERSION: 10.0.401
MAUI_WORKLOAD_VERSION: 11.0.100.1
jobs:
build-and-test:
name: Build FW Lite and run tests
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
submodules: true
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json

- name: Dotnet build (Release)
run: dotnet build backend/FwLite/FwLiteProjectSync.Tests/FwLiteProjectSync.Tests.csproj -c Release
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
name: Build FW Lite for iOS simulator; notarize Mac Catalyst
needs: [build-and-test, frontend]
timeout-minutes: 60
runs-on: macos-latest
runs-on: xcode-27
outputs:
signed: ${{ steps.signing.outputs.signed }}
env:
Expand All @@ -286,7 +286,11 @@ jobs:
path: ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
# .NET 11's iOS/Mac Catalyst packs (27.x) need the iOS 27 SDK; macos-latest only has Xcode 26.
# xcode-27 (public preview image) defaults to 27.1, so select the version the packs were built against.
- name: Select Xcode 27.2
run: sudo xcode-select -s /Applications/Xcode_27.2.app
- name: Setup Maui
run: dotnet workload install maui-ios maui-maccatalyst --version ${{ env.MAUI_WORKLOAD_VERSION }}

Expand All @@ -297,7 +301,7 @@ jobs:
- name: Build iOS (simulator)
working-directory: backend/FwLite/FwLiteMaui
run: |
dotnet build -f net10.0-ios -c Release -p:BuildAndroid=false -p:RuntimeIdentifier=iossimulator-arm64 \
dotnet build -f net11.0-ios -c Release -p:BuildAndroid=false -p:RuntimeIdentifier=iossimulator-arm64 \
-p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} \
-p:ApplicationVersion=${{ needs.build-and-test.outputs.app-version }} \
-p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
Expand All @@ -307,7 +311,7 @@ jobs:
if: env.HAS_APPLE_SIGNING != 'true'
working-directory: backend/FwLite/FwLiteMaui
run: |
dotnet build -f net10.0-maccatalyst -c Release -p:BuildAndroid=false -p:RuntimeIdentifier=maccatalyst-arm64 \
dotnet build -f net11.0-maccatalyst -c Release -p:BuildAndroid=false -p:RuntimeIdentifier=maccatalyst-arm64 \
-p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} \
-p:ApplicationVersion=${{ needs.build-and-test.outputs.app-version }} \
-p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
Expand Down Expand Up @@ -351,7 +355,7 @@ jobs:
if: env.HAS_APPLE_SIGNING == 'true'
working-directory: backend/FwLite/FwLiteMaui
run: |
dotnet build -f net10.0-maccatalyst -c Release -p:BuildAndroid=false \
dotnet build -f net11.0-maccatalyst -c Release -p:BuildAndroid=false \
-p:EnableCodeSigning=true -p:UseHardenedRuntime=true \
-p:CodesignKey="$CODESIGN_IDENTITY" \
-p:CodesignEntitlements=Platforms/MacCatalyst/Entitlements.DeveloperId.plist \
Expand All @@ -369,7 +373,7 @@ jobs:
run: |
set -euo pipefail
# The SDK merges and signs the universal bundle here; the maccatalyst-*/ bundles are incomplete intermediates.
APP="bin/Release/net10.0-maccatalyst/FieldWorks Lite.app"
APP="bin/Release/net11.0-maccatalyst/FieldWorks Lite.app"
codesign --verify --deep --strict --verbose=2 "$APP"
for f in index.html _content/FwLiteShared/viewer/main.js; do
[ -f "$APP/Contents/Resources/wwwroot/$f" ] || { echo "Missing wwwroot/$f in $APP" >&2; exit 1; }
Expand Down Expand Up @@ -409,9 +413,9 @@ jobs:
working-directory: backend/FwLite/FwLiteMaui
run: |
mkdir -p ../artifacts/apple
ditto -c -k --keepParent "bin/Release/net10.0-ios/iossimulator-arm64/FwLiteMaui.app" ../artifacts/apple/fw-lite-ios-simulator.zip
ditto -c -k --keepParent "bin/Release/net11.0-ios/iossimulator-arm64/FwLiteMaui.app" ../artifacts/apple/fw-lite-ios-simulator.zip
if [ "$HAS_APPLE_SIGNING" != 'true' ]; then
ditto -c -k --keepParent "bin/Release/net10.0-maccatalyst/maccatalyst-arm64/FieldWorks Lite.app" ../artifacts/apple/fw-lite-maccatalyst.zip
ditto -c -k --keepParent "bin/Release/net11.0-maccatalyst/maccatalyst-arm64/FieldWorks Lite.app" ../artifacts/apple/fw-lite-maccatalyst.zip
fi

- name: Remove temporary signing keychain
Expand Down Expand Up @@ -517,7 +521,7 @@ jobs:
path: ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json

- name: Publish Linux
working-directory: backend/FwLite/FwLiteWeb
Expand Down Expand Up @@ -577,7 +581,7 @@ jobs:
path: ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json

- name: Setup Maui
run: dotnet workload install maui-android --version ${{ env.MAUI_WORKLOAD_VERSION }}
Expand All @@ -598,7 +602,7 @@ jobs:
KEYSTORE_PASS: ${{ secrets.FW_LITE_KEYSTORE_PASS }}
KEYSTORE_ALIAS: ${{ vars.FW_LITE_KEYSTORE_UPLOAD_KEY_ALIAS }}
run: |
dotnet publish -f net10.0-android -p:BuildApple=false --artifacts-path ../artifacts \
dotnet publish -f net11.0-android -p:BuildApple=false --artifacts-path ../artifacts \
-p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} \
-p:ApplicationVersion=${{ needs.build-and-test.outputs.app-version }} \
-p:InformationalVersion=${{ needs.build-and-test.outputs.version }} \
Expand All @@ -615,7 +619,7 @@ jobs:
working-directory: backend/FwLite/FwLiteMaui
run: |
echo "::warning::Signing key unavailable (likely a fork PR); building an unsigned Android APK."
dotnet publish -f net10.0-android -p:BuildApple=false --artifacts-path ../artifacts \
dotnet publish -f net11.0-android -p:BuildApple=false --artifacts-path ../artifacts \
-p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} \
-p:ApplicationVersion=${{ needs.build-and-test.outputs.app-version }} \
-p:InformationalVersion=${{ needs.build-and-test.outputs.version }} \
Expand All @@ -626,8 +630,8 @@ jobs:
with:
name: fw-lite-android
if-no-files-found: error
# path looks like this: backend/FwLite/artifacts/publish/FwLiteMaui/release_net10.0-android/org.sil.fwlitemaui-signed.apk
path: backend/FwLite/artifacts/publish/FwLiteMaui/release_net10.0-android/*
# path looks like this: backend/FwLite/artifacts/publish/FwLiteMaui/release_net11.0-android/org.sil.fwlitemaui-signed.apk
path: backend/FwLite/artifacts/publish/FwLiteMaui/release_net11.0-android/*

# Boots an x86_64 emulator and runs the published APK until it logs "Viewer loaded".
launch-android:
Expand Down Expand Up @@ -690,7 +694,7 @@ jobs:
- name: Publish Windows MAUI portable app
working-directory: backend/FwLite/FwLiteMaui
run: |
dotnet publish -f net10.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:WindowsPackageType=None -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
dotnet publish -f net11.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:WindowsPackageType=None -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
mkdir -p ../artifacts/sign/portable
cp -r ../artifacts/publish/FwLiteMaui/* ../artifacts/sign/portable/

Expand All @@ -700,7 +704,7 @@ jobs:
# AppxPackageDir is the MSIX-targets equivalent of --artifacts-path: without it
# MAUI 10 writes AppPackages to $(MSBuildProjectDirectory)/AppPackages, ignoring
# --artifacts-path. Redirect it under artifacts/ so everything lives in one tree.
dotnet publish -f net10.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:AppxPackageDir=../artifacts/AppPackages/ -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
dotnet publish -f net11.0-windows10.0.19041.0 -p:BuildAndroid=false --artifacts-path ../artifacts -p:AppxPackageDir=../artifacts/AppPackages/ -p:ApplicationDisplayVersion=${{ needs.build-and-test.outputs.semver-version }} -p:InformationalVersion=${{ needs.build-and-test.outputs.version }}
mkdir -p ../artifacts/msix
cp ../artifacts/AppPackages/*/*.msix ../artifacts/msix/

Expand Down Expand Up @@ -1049,7 +1053,7 @@ jobs:
path: ${{ env.VIEWER_BUILD_OUTPUT_DIR }}
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- name: Publish FwLiteWeb (linux-x64)
working-directory: backend/FwLite/FwLiteWeb
run: dotnet publish -r linux-x64 --artifacts-path ../artifacts -p:PublishSingleFile=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hg-client-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- uses: MatteoH2O1999/setup-python@429b7dee8a48c31eb72ce0b420ea938ff51c2f11 # v3.2.1
id: python
if: ${{ runner.os == 'Linux' && !env.act && inputs.hg-version == '3' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test-gha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- uses: ./.github/actions/setup-k8s
with:
lexbox-api-tag: ${{ inputs.lexbox-api-tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- name: Build for tests
run: dotnet build LexBoxOnly.slnf

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lexbox-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- name: Install Task
uses: arduino/setup-task@c0bc642852239c2689f73f4ea6459c29405f3c52 # v3.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lexbox-fw-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.x'
global-json-file: global.json
- name: Dotnet build
run: dotnet build backend/FwHeadless/FwHeadless.csproj
- name: Unit tests
Expand Down
Loading
Loading