diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03f3fec..8970199 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: outputs: version: ${{ steps.version.outputs.version }} tag: ${{ steps.version.outputs.tag }} + prerelease: ${{ steps.version.outputs.prerelease }} steps: - name: Checkout @@ -37,7 +38,7 @@ jobs: shell: pwsh run: | $refName = "${{ github.ref_name }}" - if ($refName -match '^v\d+\.\d+\.\d+$') { + if ($refName -match '^v\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$') { $version = $refName.TrimStart('v') $tag = $refName } @@ -51,6 +52,8 @@ jobs: $tag = "v$version" } + $prerelease = $version.Contains('-').ToString().ToLowerInvariant() + "prerelease=$prerelease" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append "version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append "tag=$tag" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append @@ -204,6 +207,7 @@ jobs: } - name: Generate winget manifests + if: steps.version.outputs.prerelease != 'true' shell: pwsh run: | $ErrorActionPreference = "Stop" @@ -272,6 +276,7 @@ jobs: path: artifacts/release/SHA256SUMS.txt - name: Upload winget manifests + if: steps.version.outputs.prerelease != 'true' uses: actions/upload-artifact@v4 with: name: winget-manifests @@ -341,6 +346,7 @@ jobs: path: release-assets - name: Download winget manifests + if: needs.build.outputs.prerelease != 'true' uses: actions/download-artifact@v4 with: name: winget-manifests @@ -360,7 +366,9 @@ jobs: compgen -G "release-assets/installer/*.exe" > /dev/null || { echo "Missing installer executable in release-assets/installer"; exit 1; } compgen -G "release-assets/packages/*.zip" > /dev/null || { echo "Missing release package zip in release-assets/packages"; exit 1; } test -f "release-assets/SHA256SUMS.txt" || { echo "Missing release checksums file"; exit 1; } - find "winget-manifests" -type f -name "*.yaml" | grep -q . || { echo "Missing winget manifest yaml files"; exit 1; } + if [ "${{ needs.build.outputs.prerelease }}" != "true" ]; then + find "winget-manifests" -type f -name "*.yaml" | grep -q . || { echo "Missing winget manifest yaml files"; exit 1; } + fi test -f "sbom/manifest.spdx.json" || { echo "Missing SBOM manifest"; exit 1; } - name: Stage public GitHub release assets @@ -393,7 +401,11 @@ jobs: shell: bash run: | set -euo pipefail - git-cliff --config cliff.toml --latest > release-notes.md + if [ "${{ needs.build.outputs.prerelease }}" = "true" ]; then + cp "docs/releases/${{ needs.build.outputs.tag }}.md" release-notes.md + else + git-cliff --config cliff.toml --latest > release-notes.md + fi { echo "content< diff --git a/Installer/setup.iss b/Installer/setup.iss index 61a7125..6c28679 100644 --- a/Installer/setup.iss +++ b/Installer/setup.iss @@ -11,7 +11,7 @@ #endif #ifndef MyAppVersion - #define MyAppVersion "1.7.6" + #define MyAppVersion "1.7.7-beta.2" #endif #ifndef MyAppSourceDir diff --git a/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs b/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs index 0159143..472e31d 100644 --- a/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs +++ b/Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs @@ -4,8 +4,8 @@ namespace ThreadPilot.Core.Tests public sealed partial class PackagingMetadataTests { - private const string ReleaseVersion = "1.7.6"; - private const string ReleaseAssemblyVersion = "1.7.6.0"; + private const string ReleaseVersion = "1.7.7-beta.2"; + private const string ReleaseAssemblyVersion = "1.7.7.0"; [Fact] public void InnoInstallers_UseStableDisplayNameAndSeparateVersionMetadata() @@ -97,6 +97,19 @@ namespace ThreadPilot.Core.Tests AssertFileContains(Path.Combine(root, "docs", "release", "RELEASE_NOTES.md"), $"v{ReleaseVersion}"); } + [Fact] + public void PrereleaseWorkflow_KeepsBetaOutOfStableChannelsAndUsesTesterNotes() + { + var root = FindRepositoryRoot(); + var workflow = File.ReadAllText(Path.Combine(root, ".github", "workflows", "release.yml")); + Assert.Contains("^v\\d+\\.\\d+\\.\\d+(-[0-9A-Za-z.-]+)?$", workflow, StringComparison.Ordinal); + Assert.Contains("prerelease: ${{ needs.build.outputs.prerelease == 'true' }}", workflow, StringComparison.Ordinal); + Assert.Contains("make_latest: ${{ needs.build.outputs.prerelease == 'true' && 'false' || 'true' }}", workflow, StringComparison.Ordinal); + Assert.Contains("if: needs.release.result == 'success' && needs.build.outputs.prerelease != 'true'", workflow, StringComparison.Ordinal); + Assert.Contains("cp \"docs/releases/${{ needs.build.outputs.tag }}.md\" release-notes.md", workflow, StringComparison.Ordinal); + Assert.True(File.Exists(Path.Combine(root, "docs", "releases", $"v{ReleaseVersion}.md"))); + } + private static void AssertFileContains(string path, string expected) { var content = File.ReadAllText(path); @@ -120,7 +133,7 @@ namespace ThreadPilot.Core.Tests throw new InvalidOperationException("Repository root could not be located."); } - [GeneratedRegex("#define MyAppVersion \"1\\.7\\.6\"", RegexOptions.CultureInvariant)] + [GeneratedRegex("#define MyAppVersion \"1\\.7\\.7-beta\\.2\"", RegexOptions.CultureInvariant)] private static partial Regex MyAppVersionRegex(); } } diff --git a/ThreadPilot.csproj b/ThreadPilot.csproj index 514220f..1131df3 100644 --- a/ThreadPilot.csproj +++ b/ThreadPilot.csproj @@ -16,10 +16,10 @@ link true CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034 - 1.7.6 - 1.7.6.0 - 1.7.6.0 - 1.7.6 + 1.7.7-beta.2 + 1.7.7.0 + 1.7.7.0 + 1.7.7-beta.2 @@ -43,10 +43,10 @@ - - - - + + + + diff --git a/app.manifest b/app.manifest index 3135866..16e19a7 100644 --- a/app.manifest +++ b/app.manifest @@ -1,6 +1,6 @@ - + diff --git a/build/build-installer.ps1 b/build/build-installer.ps1 index 9a4d78e..81a7308 100644 --- a/build/build-installer.ps1 +++ b/build/build-installer.ps1 @@ -1,5 +1,5 @@ param( - [string]$Version = "1.7.6", + [string]$Version = "1.7.7-beta.2", [string]$Configuration = "Release", [switch]$SkipPublish ) diff --git a/build/build-release.ps1 b/build/build-release.ps1 index b2392ec..d2536c8 100644 --- a/build/build-release.ps1 +++ b/build/build-release.ps1 @@ -1,5 +1,5 @@ param( - [string]$Version = "1.7.6", + [string]$Version = "1.7.7-beta.2", [string]$Configuration = "Release", [string]$Runtime = "win-x64" ) diff --git a/build/package-release-zips.ps1 b/build/package-release-zips.ps1 index 46b9e1a..6376ce6 100644 --- a/build/package-release-zips.ps1 +++ b/build/package-release-zips.ps1 @@ -1,5 +1,5 @@ param( - [string]$Version = "1.7.6" + [string]$Version = "1.7.7-beta.2" ) $ErrorActionPreference = "Stop" diff --git a/chocolatey/threadpilot.nuspec b/chocolatey/threadpilot.nuspec index 197a72e..fef9a74 100644 --- a/chocolatey/threadpilot.nuspec +++ b/chocolatey/threadpilot.nuspec @@ -2,7 +2,7 @@ threadpilot - 1.7.6 + 1.7.7-beta.2 ThreadPilot Prime Build https://github.com/PrimeBuild-pc/ThreadPilot @@ -15,7 +15,7 @@ false Advanced Windows process and power plan manager with rules automation and performance controls. ThreadPilot process and power plan manager. - https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.6 + https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.7-beta.2 threadpilot process powerplan performance windows diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 0c7d4f1..359d8a7 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project are documented in this file. +## v1.7.7-beta.2 - Game Boost hardware-test pre-release + +- Opt-in Game Boost: topology-aware game/background CPU Sets, optional priority, safe restoration, crash recovery and Activity diagnostics. +- Correct Intel P/E classification and derive AMD CCD groups from real L3 topology, including 6+6 CPUs. +- Three-state EcoQoS for live processes and persistent rules, independent of CPU priority. +- Persistent-rule backups, validated/transactional imports, deterministic precedence and conflict reporting. +- Refreshed navigation, process/rule editors, Windows 11 settings rows, layout persistence and scaling fixes. +- Pre-release publication keeps the stable/latest release and package-manager channels unchanged. +- Real Game Boost validation on dual-CCD Ryzen/X3D and Intel hybrid CPUs, gaming benchmarks and anti-cheat testing remain pending. See [test procedure and reporting checklist](releases/v1.7.7-beta.2.md). + ## v1.7.6 - Localized power plans and version-proof process rules ### Fixed diff --git a/docs/release/RELEASE_NOTES.md b/docs/release/RELEASE_NOTES.md index 2c57dcd..136b240 100644 --- a/docs/release/RELEASE_NOTES.md +++ b/docs/release/RELEASE_NOTES.md @@ -1,3 +1,11 @@ +## ThreadPilot v1.7.7-beta.2 + +Pre-release only: Game Boost, EcoQoS, topology fixes, persistent-rule/backup reliability and the complete UI refresh, including all local Game Boost work through 2026-10-16. + +**Game Boost still needs real dual-CCD Ryzen/X3D and Intel hybrid hardware validation, comparative gaming benchmarks and protected-game/anti-cheat testing.** No performance improvement is claimed. + +Full release description, quick test steps and issue-reporting checklist: [v1.7.7-beta.2](../releases/v1.7.7-beta.2.md). Artifacts are unsigned. v1.7.6 remains stable/latest; no beta publication to winget or Chocolatey. + ## ThreadPilot v1.7.6 This release fixes power plan discovery on localized Windows installations and makes executable-path rules survive application updates. diff --git a/docs/releases/v1.7.7-beta.2.md b/docs/releases/v1.7.7-beta.2.md new file mode 100644 index 0000000..f41ac16 --- /dev/null +++ b/docs/releases/v1.7.7-beta.2.md @@ -0,0 +1,54 @@ +# ThreadPilot v1.7.7-beta.2 — Game Boost & efficiency mode + +**Pre-release for testing, not a stable release.** This build includes all changes since v1.7.6, including the latest local Game Boost work. v1.7.6 remains the stable/latest release; this beta is not distributed through winget, Chocolatey or stable automatic updates. + +## What's included + +- **Game Boost (opt-in):** topology-aware CPU Sets for the game and explicitly listed background apps, optional Above Normal priority, persistent-rule precedence, restoration when the game exits or Game Boost is disabled, and crash-recovery journaling. Activity now shows session start/end, what was applied or left unchanged, and restore results. +- **CPU topology fixes:** Intel P/E cores use the highest Windows EfficiencyClass for P-cores; AMD CCD groups come from real L3 groups and sizes, including 6+6 layouts. +- **Efficiency mode / EcoQoS:** Windows decides / On / Off, independently of CPU priority, for live processes and saved rules. A warning explains the global Power Throttling override. +- **Rules and backup reliability:** persistent rules are included in configuration backups; imports are validated and rolled back on failure; overlapping rules have deterministic precedence and conflict reporting. +- **UI refresh:** labelled navigation, clearer Process and Rules editors, priority undo, Windows 11-style Settings/Tweaks, remembered layout and filters, scaling fixes, and seven-language localization. + +## Validation status — hardware testers needed + +**Game Boost is not yet validated on real dual-CCD Ryzen / dual-CCD X3D or Intel hybrid hardware, and comparative gaming benchmarks are still pending. No FPS improvement is claimed.** + +The previous QA covered a single-CCD Ryzen 7 5800X3D and a clean Windows 11 VM: UI/settings, session detection, optional priority, respecting manual changes and rules, and crash recovery. Real Windows CPU Set apply/read/restore calls were tested with a simulated dual-L3 topology; that is not a substitute for real multi-CCD hardware. Anti-cheat/protected-game behavior still needs real-game testing. + +EcoQoS itself (not Game Boost) was independently verified by @SA-Mousavichashmi on an Intel i5-12500H, Windows 11 build 26300.9711: On/Off/system-managed, persistent rules, independent CPU priority and protected-process failures. + +We especially need reports from: + +- **AMD dual-CCD X3D:** 7900X3D / 7950X3D / 9900X3D / 9950X3D. Verify that the game uses the V-Cache CCD and listed background apps use the other CCD; check for interaction with AMD chipset-driver core parking. +- **AMD equal-CCD CPUs:** e.g. 7950X / 9950X. Automatic should leave the game's placement to Windows and move only listed background apps; Isolation also places the game on CCD0. +- **Intel hybrid CPUs:** 12th–14th gen / Core Ultra, where supported. Verify game on P-cores and listed background apps on E-cores, especially in heavily multithreaded games. + +Game Boost conservatively leaves CPU Sets unchanged on unsupported/single-CCD CPUs, incomplete topology, or fewer than six physical cores on the game side. A laptop with fewer than six P-cores can therefore correctly report that Windows decides. Optional priority is separate. + +## Quick test procedure + +1. Export a configuration backup. Record your CPU, Windows build (`winver`), chipset-driver version, and for AMD whether the `amd3dvcache` service is installed. Keep power plan, game settings and background load consistent. +2. In **Tweaks / Ottimizzazioni → Game Boost**, leave **Above Normal off**, choose **Automatic**, add your game manually if it is outside a recognized library, and check the background-app list. Enable Game Boost, then bring the game to the foreground. +3. Read the topology decision on the Game Boost card and session events in **Activity**. Inspect actual process **CPU Sets** in ThreadPilot, System Informer or Process Lasso; Task Manager's classic affinity mask does not show soft CPU Sets. On dual-CCD X3D, expect 16 game logical CPUs for an 8-core V-Cache CCD or 12 for a 6-core CCD when SMT is enabled. On Intel, compare the game selection with the P-core thread count. +4. Alt+Tab: the session should remain active. Close the game or disable Game Boost: only changes owned by Game Boost should be restored. Existing rules and later manual changes should be respected. On equal-CCD AMD systems, repeat with **Isolation** and compare. Do not disable anti-cheat or bypass protected-process restrictions. +5. For performance, use CapFrameX or PresentMon with the same scene and **at least three runs per scenario**: (a) Game Boost off; (b) on, no background load; (c) on with browser video / Steam download; (d) same as (c), with Above Normal on. Compare average FPS, 1% lows, P95/P99 frame times and run-to-run variance. + +## Send us your results + +Open an [issue](https://github.com/PrimeBuild-pc/ThreadPilot/issues) titled **[1.7.7-beta.2][Game Boost] CPU model — result/problem**. Successful tests are useful too. Include: + +- Exact ThreadPilot version, CPU, SMT on/off, Windows build, chipset driver, active power plan, and AMD `amd3dvcache` service status. +- Game name/version, Game Boost mode, Above Normal setting, background apps/load, and any relevant saved rules or pre-existing CPU Sets. +- Expected versus actual result, reproduction steps, whether disabling Game Boost restores normal behavior, and any stutter, crash, anti-cheat refusal or regression. +- Screenshot of the Game Boost topology decision and actual game/background CPU Sets, plus relevant **Activity** entries/export. Attach CapFrameX/PresentMon captures or a small comparison table if available. + +Redact usernames, personal executable paths and unrelated log entries before uploading. + +## Known limits & safety + +- Above Normal only raises a game that starts at Normal; a game at another priority is left unchanged. +- Manual selection of exactly the CPU Sets that Game Boost already applied cannot be distinguished from its own selection and may be cleared at session end unless saved in a rule. +- Detection requires a recognized library plus foreground activity, or a manually listed game. Add Battle.net/other custom-install games explicitly when needed. +- Applications can override their own QoS or CPU Sets. Protected processes can refuse access; ThreadPilot does not bypass protection. +- Artifacts are **unsigned** while code-signing enrollment is pending; Windows SmartScreen may warn. Verify SHA256 before running. Upgrading preserves settings; uninstalling removes ThreadPilot-owned user data. diff --git a/sonar-project.properties b/sonar-project.properties index f1e134c..3256418 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ sonar.projectKey=threadpilot sonar.projectName=ThreadPilot -sonar.projectVersion=1.7.6 +sonar.projectVersion=1.7.7-beta.2 sonar.sourceEncoding=UTF-8 sonar.sources=.