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#5073
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/4513
Author: @ctr-137
Created: 10/28/2026
Status: ❌ Closed
Base:
main← Head:bench-redaction-4494📝 Commits (1)
9040c7bbench: run.command is shell-quoted, so a reader can paste it back (#4494)📊 Changes
2 files changed (+12 additions, -1 deletions)
View changed files
📝
strata_cli/cli.py(+3 -1)📝
tests/terminal/test_bench_standard.py(+9 -0)📄 Description
Fixes #4494.
Problem
run.commandinresults.jsonwas built as"strata " + " ".join(...). An argument like--track-notes Tuned: both cards, productiontherefore lost its boundary, and a reader could not tell where one argument ended nor paste the command back into a shell.Result
strata_cli/cli.pynow joins the argv list withshlex.joinon POSIX andsubprocess.list2cmdlineon Windows, so the resultingrun.commandis shell-quoting faithful. A regression test (test_run_command_can_be_pasted_back_into_a_shell) checks that a--track-notesvalue containing spaces stays quoted and the command still starts withstrata bench run.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.