Merge v3-alpha into fix/security-issues-bundle and address review comments

Resolve merge conflicts:
- build-and-test-v3.yml: take v3-alpha step names (non-experimental GTK4)
- linux_cgo_gtk4.h: remove WailsScreen struct (deleted in v3-alpha)

Address PR review comments:
- screen/main.go: use path.Clean for HTTP paths instead of filepath.Clean,
  fix Windows drive-letter check (was dead code), add filepath.FromSlash
- UNRELEASED_CHANGELOG.md: remove duplicate changelog entry
- build-and-test-v3.yml: add actions:write permission to cleanup job

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lea Anthony 2026-02-28 15:38:47 +11:00
commit d15d35a25e
39 changed files with 880 additions and 144 deletions

View file

@ -159,7 +159,7 @@ jobs:
task test:examples
echo "Example compilation tests (GTK3) completed successfully"
- name: Build Examples (GTK4 experimental)
- name: Build Examples (GTK4)
if: matrix.os == 'ubuntu-latest'
working-directory: v3
run: |
@ -189,11 +189,10 @@ jobs:
go test -v ./...
'
- name: Run tests (ubuntu) - GTK4 experimental
- name: Run tests (ubuntu) - GTK4
if: matrix.os == 'ubuntu-latest'
working-directory: v3
# Skip all service tests that hang in CI due to GTK4 display requirements
# The services tests require a fully functional GTK4 display which xvfb cannot provide
# Skip service tests that hang in CI due to GTK4 display requirements
run: >
xvfb-run --auto-servernum
sh -c '
@ -210,7 +209,8 @@ jobs:
if: always()
needs: [test_js, test_go, test_templates]
runs-on: ubuntu-latest
permissions: {}
permissions:
actions: write
steps:
- uses: geekyeggo/delete-artifact@v5
with:
@ -304,8 +304,7 @@ jobs:
cd ..
wails3 build
# Note: GTK4 template builds are not tested here as wails build doesn't
# support -tags flag yet. GTK4 compilation is verified by Go tests.
# GTK4 template builds are covered by the Go example compilation tests above.
build_results:
if: ${{ always() }}