Attach only logs produced by the current Auto mission #434

Open
HandshakeHackin wants to merge 2 commits from upstream-pr/434 into v26123
HandshakeHackin commented 2026-12-01 15:04:35 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:5588411156 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/434). Originally posted by [HandshakeHackin](https://github.com/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.
HandshakeHackin commented 2026-12-01 16:31:43 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-12-01T16:31:43Z.


At d42a6bd the 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.

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7317755634 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/434#issuecomment-7317755634). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-12-01T16:31:43Z. --- At d42a6bd the 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](https://github.com/PastiiJay/klbf-lab/actions/runs/46686710053/job/142782560977) passed both Clippy steps and stopped in Rust at the existing #27 and #174 assertions. Windows PowerShell report creation still awaits a native run.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/434:upstream-pr/434'
git switch 'upstream-pr/434'

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.

git switch 'v26123'
git merge --no-ff 'upstream-pr/434'
git switch 'upstream-pr/434'
git rebase 'v26123'
git switch 'v26123'
git merge --ff-only 'upstream-pr/434'
git switch 'upstream-pr/434'
git rebase 'v26123'
git switch 'v26123'
git merge --no-ff 'upstream-pr/434'
git switch 'v26123'
git merge --squash 'upstream-pr/434'
git switch 'v26123'
git merge --ff-only 'upstream-pr/434'
git switch 'v26123'
git merge 'upstream-pr/434'
git push origin 'v26123'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
PastiiJay/klbf-lab!434
No description provided.