[GH-ISSUE #4494] [Benchmark] run.command is not shell-quoted #2018

Closed
opened 2026-11-04 01:56:00 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @coryjett on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4494

Area

Benchmark

Desktop app, Terminal or source?

Terminal (Linux release 0.2.7, Control 0.1.52); the same code is on main at 46c152a1.

What happened

run.command in results.json is the arguments joined with spaces, not shell-quoted (strata_cli/cli.py ~1273, " ".join). Ours reads ... --track-notes Strata 0.2.7 official Linux release, engine 0.1.52. Tuned: both cards, ... --background headless server; production ..., so a reader cannot tell where one argument ends and cannot re-run it.

Suggested: shlex.join (subprocess.list2cmdline on Windows).

Smallest steps or command that reproduce it

Any strata bench run with a --track-notes containing spaces; read run.command.

Reproduction status

Reproduced locally (#4468's standard run).

Strata version

0.2.7 (engine 0.1.52, Control 0.1.52); code checked on main 46c152a1.

Graphics card, memory and system

Not hardware-specific.

Model, size and settings

Not model-specific.

Logs

None needed.

Originally created by @coryjett on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4494 ### Area Benchmark ### Desktop app, Terminal or source? Terminal (Linux release 0.2.7, Control 0.1.52); the same code is on `main` at 46c152a1. ### What happened `run.command` in results.json is the arguments joined with spaces, not shell-quoted (`strata_cli/cli.py` ~1273, `" ".join`). Ours reads `... --track-notes Strata 0.2.7 official Linux release, engine 0.1.52. Tuned: both cards, ... --background headless server; production ...`, so a reader cannot tell where one argument ends and cannot re-run it. Suggested: `shlex.join` (`subprocess.list2cmdline` on Windows). ### Smallest steps or command that reproduce it Any `strata bench run` with a `--track-notes` containing spaces; read `run.command`. ### Reproduction status Reproduced locally (#4468's standard run). ### Strata version 0.2.7 (engine 0.1.52, Control 0.1.52); code checked on `main` 46c152a1. ### Graphics card, memory and system Not hardware-specific. ### Model, size and settings Not model-specific. ### Logs None needed.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6660547921 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2018
No description provided.