Attach only logs produced by the current Auto mission #434
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/434"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T15:04:35Z.
Auto picks the newest three run logs for its report on v26.12.3. An interrupted mission can include an earlier run, and a concurrent run can displace the first A log. The launcher now passes the log names back from its own benchmark children. If none of them started, Auto skips the report. Same-second starts reserve separate files. Screenshot selection still uses the existing time windows.
Verified locally with PowerShell 7.4.19 on Linux. All 130 mission checks passed. The new regression covers complete, interrupted, concurrent and unstarted missions and same-second log creation. Two runs through the real play.ps1 A/B/A path returned three owned logs on completion and two when B stopped. These checks used synthetic data and sent no reports. Windows report packaging still needs verification.
Targeting v26123 because it includes the released Auto feature. #383 handles the separate benchmark-card selection.
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T16:31:43Z.
At
d42a6bdthe regression now creates and decrypts actual reports with a disposable test key, then reads every archived run log back. On Linux PowerShell 7.4.19 the complete, interrupted and concurrent cases contained exactly 3, 2 and 3 owned logs with the expected marker text. The no-start case created no archive. Nothing was uploaded.I also checked the SHA-256 of the published v26.12.3 Windows ZIP and all 16 entries in its checksum manifest. Its three launcher scripts match the tag after newline normalization. Using those packaged files with the two changed scripts, the real A/B/A launcher and a synthetic child returned all three owned logs on completion and only the two started logs on interruption.
On v26124 (
25a8ce9) this PR and #438 apply together. The four archive cases, same-second log collision, 131 mission checks and crash-dump round trip passed locally. The Windows run for this head passed both Clippy steps and stopped in Rust at the existing #27 and #174 assertions. Windows PowerShell report creation still awaits a native run.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.