diff --git a/.github/workflows/ogl-assetservice-addon-modules.yml b/.github/workflows/ogl-assetservice-addon-modules.yml index b1b3cfe9..1125c370 100644 --- a/.github/workflows/ogl-assetservice-addon-modules.yml +++ b/.github/workflows/ogl-assetservice-addon-modules.yml @@ -40,7 +40,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Generate OpenSim solution and actual operator build script run: | chmod +x runprebuild.sh diff --git a/.github/workflows/ogl-assetservice-addon.yml b/.github/workflows/ogl-assetservice-addon.yml index b3015cd1..08664525 100644 --- a/.github/workflows/ogl-assetservice-addon.yml +++ b/.github/workflows/ogl-assetservice-addon.yml @@ -20,6 +20,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Run independent cache tests run: dotnet run --project addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj -c Release diff --git a/.github/workflows/ogl-assetservice-atomic-integration.yml b/.github/workflows/ogl-assetservice-atomic-integration.yml index 5c9c31af..67714767 100644 --- a/.github/workflows/ogl-assetservice-atomic-integration.yml +++ b/.github/workflows/ogl-assetservice-atomic-integration.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Generate OpenSimulator projects run: | chmod +x runprebuild.sh diff --git a/.github/workflows/ogl-assetservice-tests.yml b/.github/workflows/ogl-assetservice-tests.yml index 3294f871..09f80b62 100644 --- a/.github/workflows/ogl-assetservice-tests.yml +++ b/.github/workflows/ogl-assetservice-tests.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Build isolated cache and migration tests run: dotnet build addons/OGLAssetService.Tests/OGLAssetService.Tests.csproj --configuration Release - name: Build standalone migration CLI diff --git a/.github/workflows/ogl-wolfvoice-compatibility.yml b/.github/workflows/ogl-wolfvoice-compatibility.yml index 07b878d5..1b865098 100644 --- a/.github/workflows/ogl-wolfvoice-compatibility.yml +++ b/.github/workflows/ogl-wolfvoice-compatibility.yml @@ -23,7 +23,7 @@ jobs: - name: Setup .NET 8 uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Install native dependencies run: | diff --git a/.github/workflows/publish-0.9.3.10-stable.yml b/.github/workflows/publish-0.9.3.10-stable.yml index 0ca3a660..d8fd04f3 100644 --- a/.github/workflows/publish-0.9.3.10-stable.yml +++ b/.github/workflows/publish-0.9.3.10-stable.yml @@ -15,7 +15,8 @@ jobs: publish: name: Publish immutable 0.9.3.10 stable release if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} diff --git a/.github/workflows/publish-0.9.3.12-stable.yml b/.github/workflows/publish-0.9.3.12-stable.yml index 8bb18591..2ff6fee7 100644 --- a/.github/workflows/publish-0.9.3.12-stable.yml +++ b/.github/workflows/publish-0.9.3.12-stable.yml @@ -16,7 +16,8 @@ jobs: publish: name: Publish immutable 0.9.3.12 release if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} diff --git a/.github/workflows/publish-0.9.3.13-dev.yml b/.github/workflows/publish-0.9.3.13-dev.yml index 39f3e0a1..e7f9f010 100644 --- a/.github/workflows/publish-0.9.3.13-dev.yml +++ b/.github/workflows/publish-0.9.3.13-dev.yml @@ -14,7 +14,8 @@ jobs: publish: name: Publish immutable 0.9.3.13 Dev pre-release if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} diff --git a/.github/workflows/publish-0.9.3.13-stable.yml b/.github/workflows/publish-0.9.3.13-stable.yml index cb449a1b..840c0e87 100644 --- a/.github/workflows/publish-0.9.3.13-stable.yml +++ b/.github/workflows/publish-0.9.3.13-stable.yml @@ -14,7 +14,8 @@ jobs: publish: name: Publish immutable 0.9.3.13 Stable if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} diff --git a/.github/workflows/publish-0.9.3.8-stable.yml b/.github/workflows/publish-0.9.3.8-stable.yml index 760a044e..5ebd55ae 100644 --- a/.github/workflows/publish-0.9.3.8-stable.yml +++ b/.github/workflows/publish-0.9.3.8-stable.yml @@ -14,7 +14,8 @@ jobs: publish: name: Publish verified 0.9.3.8 stable release if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} diff --git a/.github/workflows/publish-gen1-main-snapshot.yml b/.github/workflows/publish-gen1-main-snapshot.yml index 58232dfc..3f7230af 100644 --- a/.github/workflows/publish-gen1-main-snapshot.yml +++ b/.github/workflows/publish-gen1-main-snapshot.yml @@ -17,7 +17,8 @@ concurrency: jobs: publish: if: >- - ${{ github.event.workflow_run.conclusion == 'success' && + ${{ vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true' && + github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository }} @@ -46,11 +47,11 @@ jobs: grep -Fq 'VERSION_FLAVOUR = Flavour.Dev;' OpenSim/Framework/VersionInfo.cs echo 'eligible=true' >> "$GITHUB_OUTPUT" - - name: Setup .NET 8 + - name: Setup .NET 10 if: steps.check.outputs.eligible == 'true' uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' - name: Install native libraries if: steps.check.outputs.eligible == 'true' diff --git a/tools/ci/verify_gen1_snapshot_release.py b/tools/ci/verify_gen1_snapshot_release.py index 33a5545d..be013b81 100644 --- a/tools/ci/verify_gen1_snapshot_release.py +++ b/tools/ci/verify_gen1_snapshot_release.py @@ -20,3 +20,5 @@ assert "gh release create" in flow and "gh release upload" in flow for marker in ("--self-test", "BUILD-MANIFEST.json", "SKIP_SUFFIXES", "source_commit", "testzip()", "stable_release"): assert marker in script, marker print("Generation 1 current-main ZIP publisher contracts PASS") + +assert "vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true'" in flow, "NET10 release freeze must remain fail-closed" diff --git a/tools/ci/verify_stable_release_gate.py b/tools/ci/verify_stable_release_gate.py index 1b736661..173c21e7 100644 --- a/tools/ci/verify_stable_release_gate.py +++ b/tools/ci/verify_stable_release_gate.py @@ -76,3 +76,7 @@ assert "v0.9.3.8" in decision assert "einmalige" in decision assert Path("doc/NexVerse/FUTURE_VIEWER_NAVIGATION.md").is_file() print("0.9.3.8 immutable; 0.9.3.10 stabilization gates, XP disabled, Viewer 2.0 deferred.") + +# Migrations in main must not start an automatic release or alter immutable tags. +for publisher in Path('.github/workflows').glob('publish-*.yml'): + assert "vars.OGL_GEN1_NET10_RELEASE_APPROVED == 'true'" in publisher.read_text(), f"NET10 approval missing: {publisher}" diff --git a/tools/release/ogl_gen1_snapshot_zip.py b/tools/release/ogl_gen1_snapshot_zip.py index af4895ab..e5366c6b 100644 --- a/tools/release/ogl_gen1_snapshot_zip.py +++ b/tools/release/ogl_gen1_snapshot_zip.py @@ -55,7 +55,7 @@ def create_zip(bin_dir, out, sha, repo): z.writestr(f"{PREFIX}/BUILD-MANIFEST.json", json.dumps({ "product": "OpenGenesisLINK Generation 1", "channel": "development-main-snapshot", "stable_release": False, - "source_commit": sha, "runtime": ".NET 8", + "source_commit": sha, "runtime": ".NET 10", "platform": "linux-x64", "built_files": count }, indent=2) + "\n") z.writestr(f"{PREFIX}/INSTALL.txt",