chore: prepare 1.7.7-beta.2 and keep prereleases out of stable channels

This commit is contained in:
PrimeBuild-pc
2026-10-16 11:32:44 +02:00
parent 6c36ea6ed7
commit aec5c45ae2
15 changed files with 124 additions and 25 deletions
+18 -4
View File
@@ -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<<EOF"
@@ -420,6 +432,8 @@ jobs:
public-release-assets/ThreadPilot_${{ needs.build.outputs.tag }}_Setup.exe
public-release-assets/ThreadPilot_${{ needs.build.outputs.tag }}_Portable.zip
public-release-assets/SHA256SUMS.txt
prerelease: ${{ needs.build.outputs.prerelease == 'true' }}
make_latest: ${{ needs.build.outputs.prerelease == 'true' && 'false' || 'true' }}
generate_release_notes: true
publish-winget:
@@ -427,7 +441,7 @@ jobs:
needs:
- build
- release
if: needs.release.result == 'success'
if: needs.release.result == 'success' && needs.build.outputs.prerelease != 'true'
steps:
- name: Resolve winget publish policy
+1 -1
View File
@@ -5,7 +5,7 @@
#define MyAppPublisher "ThreadPilot"
#define MyAppURL "https://github.com/"
#define MyAppExeName "ThreadPilot.exe"
#define MyAppVersion "1.7.6"
#define MyAppVersion "1.7.7-beta.2"
#ifndef MyWizardStyle
#define MyWizardStyle "modern dynamic windows11"
+1 -1
View File
@@ -7,7 +7,7 @@
<Package
Name="ThreadPilot"
Manufacturer="Prime Build"
Version="1.7.6.0"
Version="1.7.7.0"
UpgradeCode="PUT-GENERATED-UPGRADE-CODE-HERE"
Language="1033">
<SummaryInformation Description="ThreadPilot MSI template" />
+1 -1
View File
@@ -11,7 +11,7 @@
#endif
#ifndef MyAppVersion
#define MyAppVersion "1.7.6"
#define MyAppVersion "1.7.7-beta.2"
#endif
#ifndef MyAppSourceDir
@@ -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();
}
}
+8 -8
View File
@@ -16,10 +16,10 @@
<TrimMode>link</TrimMode>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034</NoWarn>
<Version>1.7.6</Version>
<AssemblyVersion>1.7.6.0</AssemblyVersion>
<FileVersion>1.7.6.0</FileVersion>
<InformationalVersion>1.7.6</InformationalVersion>
<Version>1.7.7-beta.2</Version>
<AssemblyVersion>1.7.7.0</AssemblyVersion>
<FileVersion>1.7.7.0</FileVersion>
<InformationalVersion>1.7.7-beta.2</InformationalVersion>
</PropertyGroup>
<ItemGroup>
@@ -43,10 +43,10 @@
</Page>
</ItemGroup>
<ItemGroup>
<Compile Remove="Tests\ThreadPilot.Core.Tests\**\*.cs" />
<EmbeddedResource Remove="Tests\ThreadPilot.Core.Tests\**\*.*" />
<None Remove="Tests\ThreadPilot.Core.Tests\**\*.*" />
<ItemGroup>
<Compile Remove="Tests\ThreadPilot.Core.Tests\**\*.cs" />
<EmbeddedResource Remove="Tests\ThreadPilot.Core.Tests\**\*.*" />
<None Remove="Tests\ThreadPilot.Core.Tests\**\*.*" />
</ItemGroup>
<Import Project="Directory.Publish.props" Condition="Exists('Directory.Publish.props')" />
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.7.6.0" name="ThreadPilot.app"/>
<assemblyIdentity version="1.7.7.0" name="ThreadPilot.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.6",
[string]$Version = "1.7.7-beta.2",
[string]$Configuration = "Release",
[switch]$SkipPublish
)
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.6",
[string]$Version = "1.7.7-beta.2",
[string]$Configuration = "Release",
[string]$Runtime = "win-x64"
)
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.6"
[string]$Version = "1.7.7-beta.2"
)
$ErrorActionPreference = "Stop"
+2 -2
View File
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>threadpilot</id>
<version>1.7.6</version>
<version>1.7.7-beta.2</version>
<title>ThreadPilot</title>
<authors>Prime Build</authors>
<projectUrl>https://github.com/PrimeBuild-pc/ThreadPilot</projectUrl>
@@ -15,7 +15,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Advanced Windows process and power plan manager with rules automation and performance controls.</description>
<summary>ThreadPilot process and power plan manager.</summary>
<releaseNotes>https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.6</releaseNotes>
<releaseNotes>https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.7-beta.2</releaseNotes>
<tags>threadpilot process powerplan performance windows</tags>
</metadata>
<files>
+10
View File
@@ -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
+8
View File
@@ -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.
+54
View File
@@ -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.
+1 -1
View File
@@ -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=.