mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3561] [Other] Release artifacts carry no commit, so every standard benchmark from a release is marked nonconforming #1463
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#1463
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?
Originally created by @atorresg on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3561
Summary
A standard benchmark run from a release install cannot reach
Status: complete: the runner cannot record the Strata commit, because no release artifact carries it. The measurements themselves are fine — only the provenance is missing — butbench_standard.pytreats a missing commit asnonconforming, which blocks the community-benchmark submission path for everyone who does not build from source.The code already expects a release to ship this file.
bench_facts.py:349says so itself:So this looks like an omission in the release packaging.
What the runner does
strata_cli/bench_facts.py:318:ROOTis the installed terminal package (~/.local/share/strata/terminal/<version>), and it looks for a.gitdirectory or aCOMMITfile containing a 40-hex string. With neither,software()recordsstrata_commit: nullandrunner_commit: null(bench_facts.py:340-350), andbench_standard.py:792reports:Verified against the v0.2.1 release
No release artifact carries the commit:
strata-control-0.1.46.3-macos-arm64.tar.gzCOMMITentry in the archive (it does shipVERSION, containing0.1.46.3)BUILD.json{"version": "0.1.46"}strata-feed.jsonapp,channel,control,engine,expires_at,feed,generated_at,schema_version,sequence; no commit field anywhereSo there is no in-band source for the runner to fall back to.
Steps to reproduce
curl -fsSL https://github.com/Niko1221/Strata/releases/latest/download/install.sh | shObserved on macOS 27.0.1, Apple M4 Max, Strata 0.2.1 / terminal 0.1.46.3 / engine 0.1.46-metal. Nothing machine-specific is involved: any release install on any platform gets the same result.
Workaround
Write the commit into the install directory. For v0.2.1 that is
90767252f420e25223c739d604145ad15911d48b:The run then reports
Status: completewith no other configuration change.Note for whoever writes the fix: the
v0.2.1tag is an annotated tag (refs/tags/v0.2.1→ tag object49ac15cbb32a8662602aaa7b8fc61bf6acef4cf0), so the commit has to be obtained by dereferencing it, not by reading the tag ref directly.Impact
Anyone benchmarking from a release cannot produce a
completestandard result, which is whatCOMMUNITY_BENCHMARKS.mdasks contributors to submit. It also forces people to hand-edit their own install, and it makes two otherwise identical runs differ in status for a reason unrelated to the hardware.#3481 shows the same effect from another machine: one run "had no COMMIT file in the image (nonconforming)", and the accepted report carries a hand-placed commit that "the runner records". So this is already costing contributors a manual step.
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you. Fixed in 0.2.7: the Terminal archive carries a
COMMITfile with the full commit (checked in the macOS archives of Control 0.1.52 and 0.1.53), sostrata bench runcan record it and a standard run from a release install is no longer marked nonconforming for that reason.Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.7