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#5104
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/4599
Author: @ctr-137
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:bench-redact-none-credentials📝 Commits (1)
e438244[Benchmark] redact results.json and treat credential "none" as no key (#4483, #4484)📊 Changes
3 files changed (+10 additions, -4 deletions)
View changed files
📝
strata_cli/bench_facts.py(+7 -4)📝
strata_cli/bench_standard.py(+1 -0)📝
strata_cli/cli.py(+2 -0)📄 Description
Fixes #4483 and #4484.
Problem
strata bench runwritesresults.jsonwithout the redaction applied tooutputs.jsonl,config.json,engine.logand README. Free text such as track notes, model custom pack or request error messages can therefore leak unredacted paths/names intoresults.json.none(the valueserve/server.pyuses for "no key") was taken at face value when supplied via--credential-env, so the runner sentBearer none(api_key_sent: true) and redacted the common word "none" wherever it occurred.Result
results.jsonis now redacted withfacts.redact_object(doc, redact)before validation and writing.none(case-insensitive) is treated as no key, so no bearer token is sent and the word is not redacted.Tests
The existing
tests/terminal/test_bench_standard.pystill passes; the change uses the established redaction helpers and adds no new network/hardware dependencies.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.