mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#5127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4647
Author: @ctr-137
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:ab-engine-truncate-engine-logs📝 Commits (3)
14f9391[SYCL] preserve STRATA_* environment values of 0 in strata-sycl.sh (#4546)f08ba0d[Other] setup --update: read engine version from engine-sycl/BUILD.json for SYCL installs (#4544)92a0563[Other] ab_engine.py: start engine logs empty instead of appending (#4545)📊 Changes
3 files changed (+10 additions, -3 deletions)
View changed files
📝
setup.py(+6 -1)📝
sycl/serve/strata-sycl.sh(+3 -2)📝
tools/ab_engine.py(+1 -0)📄 Description
Fixes #4545.
Problem
tools/ab_engine.pygave every arm a fixed engine log name in the temporary directory (ab_<arm>_r<n>.log) and the server opens engine logs in append mode, so repeated A/B sessions with the same arm letters appended their engine output to the files of an earlier run. A grep for a feature or status line could then match an old engine.Result
Before each arm starts, the fixed log file is truncated to empty, so a run of the tool begins with fresh engine logs. The log path and
ab_<arm>.jsonlocation are unchanged.Validation
Environment: Windows Git Bash / local Python; syntax only.
Passed:
py -m py_compile tools/ab_engine.pygit diff --checkNot run:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.