chore: release 1.7.8-beta.2

This commit is contained in:
PrimeBuild-pc
2026-10-22 07:38:44 +02:00
committed by Prime Build
parent a7f41a62de
commit 940d83ca64
12 changed files with 93 additions and 14 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#define MyAppPublisher "ThreadPilot"
#define MyAppURL "https://github.com/"
#define MyAppExeName "ThreadPilot.exe"
#define MyAppVersion "1.7.8-beta.1"
#define MyAppVersion "1.7.8-beta.2"
#ifndef MyWizardStyle
#define MyWizardStyle "modern dynamic windows11"
+1 -1
View File
@@ -11,7 +11,7 @@
#endif
#ifndef MyAppVersion
#define MyAppVersion "1.7.8-beta.1"
#define MyAppVersion "1.7.8-beta.2"
#endif
#ifndef MyAppSourceDir
+2 -2
View File
@@ -89,9 +89,9 @@ choco upgrade threadpilot
### Download from GitHub Releases
[![Download Latest Stable](https://img.shields.io/badge/Download-Latest%20Stable-2ea44f?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest)
[![Download Pre-release — Game Boost Preview](https://img.shields.io/badge/Download-Pre--release%20%28Game%20Boost%29-f59e0b?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.1)
[![Download Pre-release — Game Boost Preview](https://img.shields.io/badge/Download-Pre--release%20%28Game%20Boost%29-f59e0b?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.2)
**Stable v1.7.7 does not include Game Boost.** The **v1.7.8-beta.1 pre-release** includes it for volunteers and early adopters; see its [test steps and issue-reporting checklist](docs/releases/v1.7.8-beta.1.md). Preview downloads are manual and do not replace the stable update channel.
**Stable v1.7.7 does not include Game Boost.** The **v1.7.8-beta.2 pre-release** includes it for volunteers and early adopters; see its [test steps and issue-reporting checklist](docs/releases/v1.7.8-beta.2.md). Preview downloads are manual and do not replace the stable update channel.
Both channels use the same application/settings location. Export a configuration backup before switching; they are not separate side-by-side installations.
@@ -4,7 +4,7 @@ namespace ThreadPilot.Core.Tests
public sealed partial class PackagingMetadataTests
{
private const string ReleaseVersion = "1.7.8-beta.1";
private const string ReleaseVersion = "1.7.8-beta.2";
private const string ReleaseAssemblyVersion = "1.7.8.0";
[Fact]
@@ -160,7 +160,7 @@ namespace ThreadPilot.Core.Tests
throw new InvalidOperationException("Repository root could not be located.");
}
[GeneratedRegex("#define MyAppVersion \"1\\.7\\.8-beta\\.1\"", RegexOptions.CultureInvariant)]
[GeneratedRegex("#define MyAppVersion \"1\\.7\\.8-beta\\.2\"", RegexOptions.CultureInvariant)]
private static partial Regex MyAppVersionRegex();
}
}
+2 -2
View File
@@ -23,10 +23,10 @@
copies text, and an elevated process should not deserialize data another program can put there. -->
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
<NoWarn>CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034</NoWarn>
<Version>1.7.8-beta.1</Version>
<Version>1.7.8-beta.2</Version>
<AssemblyVersion>1.7.8.0</AssemblyVersion>
<FileVersion>1.7.8.0</FileVersion>
<InformationalVersion>1.7.8-beta.1</InformationalVersion>
<InformationalVersion>1.7.8-beta.2</InformationalVersion>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.8-beta.1",
[string]$Version = "1.7.8-beta.2",
[string]$Configuration = "Release",
[switch]$SkipPublish
)
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.8-beta.1",
[string]$Version = "1.7.8-beta.2",
[string]$Configuration = "Release",
[string]$Runtime = "win-x64"
)
+1 -1
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.7.8-beta.1"
[string]$Version = "1.7.8-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.8-beta.1</version>
<version>1.7.8-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.8-beta.1</releaseNotes>
<releaseNotes>https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.7.8-beta.2</releaseNotes>
<tags>threadpilot process powerplan performance windows</tags>
</metadata>
<files>
+6
View File
@@ -1,3 +1,9 @@
## ThreadPilot v1.7.8-beta.2
Pre-release on top of v1.7.8-beta.1: a full security and performance audit (window-open CPU ~25–30% → ~2.3% of a core, near-zero in the tray), Game Boost orchestration with a minimal-rights game handle, an installer that always installs in Program Files, and portable copies that can install themselves for autostart. Dual-CCD Ryzen and Intel hybrid testers wanted.
[Full notes, performance table and tester checklist](../releases/v1.7.8-beta.2.md). v1.7.7 remains stable/latest. No winget/Chocolatey beta publication; artifacts unsigned.
## ThreadPilot v1.7.8-beta.1
Pre-release with the complete local Game Boost implementation, Activity diagnostics and CPU topology fixes, on top of stable v1.7.7. Real dual-CCD Ryzen/X3D, Intel hybrid, benchmark and anti-cheat validation remain pending.
+73
View File
@@ -0,0 +1,73 @@
# ThreadPilot v1.7.8-beta.2 — Game Boost orchestration, security hardening and a much lighter app
**Pre-release, not stable.** This preview contains everything in v1.7.8-beta.1 plus a full security and performance audit, smarter Game Boost and installer changes. The stable/latest release remains **v1.7.7**; this beta is not published to winget, Chocolatey or the stable automatic-update channel. Export a configuration backup before switching channels.
## Performance: before and after
Measured on the Release build, Ryzen 7 5800X3D, Processes page open, ~200 running processes. "% of a core" = CPU time of ThreadPilot divided by wall time.
| | before | after |
|---|---|---|
| window open, idle | ~25–30% of a core | ~2.3% of a core |
| minimized to tray | ~2% of a core | 0 ms of CPU in 90 s (0–0.03%) |
| wake-ups in tray (context switches/s) | ~275 | 0–10 |
| startup CPU (first 15–20 s) | ~8.4–9.9 s | ~6.0 s |
| main window appears | ~1.3 s | ~1.3 s |
| during a game, Game Boost in Isolation (tray) | ~0.42–0.62% of a core | ~0.10–0.15% of a core |
| restore after the game closes | ~1.4–3 s | ~0.05–0.1 s |
| private memory, steady state | ~225 MB | ~220–230 MB (unchanged: ~145 MB is WPF and native drivers) |
Where it came from: the startup spinner no longer animates forever behind the hidden overlay, the process list is updated in place instead of rebuilt every 5 s, startup does less work and no fixed waits, dynamic PGO is off (it recompiled hot code in the background for seconds after launch), and Game Boost only runs a timer while it is on.
## Security
- **Elevated tasks only for Program Files installs.** The no-UAC scheduled tasks are registered only when ThreadPilot runs from Program Files, where a normal program cannot replace the exe. Tasks that point anywhere else are deleted at every elevated start.
- **No native DLLs extracted to %TEMP%.** The WPF native libraries now ship next to `ThreadPilot.exe` instead of being unpacked into a user-writable folder and loaded by the admin process.
- **Admin-only temp folders** for the scheduled-task definition and the downloaded update installer (random name under `%SystemRoot%\Temp`, Administrators and SYSTEM only). Leftover update folders are cleaned at startup.
- **Updates require a trusted `SHA256SUMS.txt`.** The updater refuses a release whose checksum file is missing or not hosted on GitHub, before downloading anything.
- **Saved rules respect protected processes** for every action (CPU Sets, memory/I/O priority, EcoQoS), not only affinity. Driver-tweak restores accept only the tweak's own on/off values.
- **Installer hardening:** when it moves an old install out of another folder it deletes nothing if that folder (or any folder above it) is a junction or symbolic link.
- Smaller fixes: `explorer.exe` launched by full path, DLL search limited to System32, BinaryFormatter disabled, registry CPU priority now writes the correct `PerfOptions` key.
- Release pipeline: GitHub Actions pinned to commit SHAs, write access only for the release job, publishing behind a protected environment with a required reviewer.
## Game Boost
- **Orchestration (beyond CPU Sets):** the game gets high QoS (Windows does not throttle it when it is not in front), on any CPU. In **Isolation**, listed background apps get EcoQoS (on Intel hybrid Windows moves them to E-cores by itself). If the game uses ≥ 80% of its confined cores for ~12 s, its CPU Set is lifted and Windows may use every core; after ~60 s of low load it is confined again (at most twice per session). User rules and an app's own QoS choice always win.
- **The game handle:** ThreadPilot now keeps the game open for the session with a minimal-rights handle (`SYNCHRONIZE | PROCESS_QUERY_LIMITED_INFORMATION`, not full access, which is what anti-cheats look for). The session ends the moment the game exits, so restoring takes ~0.05–0.1 s instead of up to 3 s, and a reused process ID can never be mistaken for the game. If a game refuses even that handle, ThreadPilot falls back to polling.
- The 15-second background rescan only builds process details for names in your lists.
- Fixed: changing a Game Boost setting during a session no longer drops the game's Above Normal priority.
- Fixed: EcoQoS changes no longer wipe other power-throttling flags a process set for itself (e.g. timer resolution).
## Installer and portable
- **The installer always installs in Program Files.** It no longer asks for a folder. An existing install in another folder (e.g. `D:\Apps\ThreadPilot`) is moved: the new version goes to Program Files and only ThreadPilot's own program files are removed from the old folder. Settings, rules and your other files there are kept; the old uninstaller is not run (it would delete your settings).
- **A portable copy can install itself for autostart.** Turning on "Start with Windows" in a portable copy offers to download, verify (SHA256) and install the official version in Program Files; ThreadPilot then restarts from there with autostart on. It never installs an older version. On a preview build, turn on **Include prerelease updates** first, otherwise only the older stable release is found (the app now tells you).
- **Update a portable copy by replacing the whole folder,** not only `ThreadPilot.exe`: the native DLLs now live next to the exe.
## Other fixes
- Processes page: the table is as wide as its columns and the details panel takes the free space (Priority and CPU cores side by side on wide windows); the narrow layout is unchanged.
- The main window reopens maximized if it was closed maximized.
- "Reset process changes on exit" works again: it ran after the process monitor had already forgotten what it changed.
- In-app updates close ThreadPilot through the normal shutdown, so Game Boost and power-plan changes are restored before the installer runs.
- A leftover autostart entry from very old versions no longer hides that autostart is off.
- Update checks order prereleases correctly (beta.10 is newer than beta.9).
## Testers wanted: dual-CCD Ryzen and Intel hybrid
Game Boost's core split and the new dynamic release only act where the game is confined: **AMD dual-CCD** (7900X3D / 7950X3D / 9900X3D / 9950X3D, and 7950X / 9950X in Isolation) and **Intel hybrid** (12th–14th gen, Core Ultra). We have tested them only with unit tests and a simulated topology, so reports from real hardware are the most useful thing you can send.
Please use the [quick test from beta.1](https://github.com/PrimeBuild-pc/ThreadPilot/blob/main/docs/releases/v1.7.8-beta.1.md#quick-test) and also note:
- whether the CPU Set is lifted during heavy scenes (Activity shows it) and whether that helps or hurts frame times;
- Isolation with and without a browser video or Steam download in the background;
- on Intel, a heavily multithreaded game;
- any anti-cheat refusal (ThreadPilot never bypasses process protection).
Open an [issue](https://github.com/PrimeBuild-pc/ThreadPilot/issues) titled **[1.7.8-beta.2][Game Boost] CPU model — result/problem** with CPU, SMT state, Windows build, chipset driver, game, mode, Activity entries and, if you can, CapFrameX/PresentMon captures (at least three runs per scenario).
## Known limits
- An old install in another folder that is still running from the tray during the upgrade keeps its exe there; close it and delete the old folder by hand. The new version removes any elevated task that points to it.
- Artifacts are **unsigned** while code-signing enrollment is pending. SmartScreen may warn; verify the SHA256 checksums.
- Upgrades preserve 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.8-beta.1
sonar.projectVersion=1.7.8-beta.2
sonar.sourceEncoding=UTF-8
sonar.sources=.