Repository navigation
Conversation
|
Workflow [PR], commit [5b2bfaa] Summary: ✅
AI ReviewSummaryThis PR adds a single-expression Tests
Final VerdictStatus: Minimum required action: add the two focused regression cases above. |
arsenmuk
left a comment
There was a problem hiding this comment.
All good, let's fix the indentation, the test and it's good to go.
One tiny-super-nit comment, please ignore it if you don't share my feelings. I often find AI-generated multi-line comments to be too heavy, slop-ish and not really adding value. As a last touch before merging, I either manually revise and rephrase them to concise brief one-liners, or ask claude to do that for me. I'd do that here as well before pushing tbh.
|
I totally agree with you on the comments -- I edited them to be shorter. |
|
|
||
| # A bad expression must fail and leave the original file untouched (fail-close). | ||
| echo "--- bad expression error ---" | ||
| run "sed 's/[/x/' $file" 2>&1 | grep -o "unterminated \`s' command" | head -n 1 |
There was a problem hiding this comment.
sed now has two non-obvious safety contracts that this test would not catch if they regressed: option-looking scripts must stay scripts (sed -- --help ... should fail and leave the file unchanged), and scripts that exit before consuming stdin (1q) must not fail on files larger than a pipe buffer. Removing -- "$0" or the EPIPE handling would still pass this test today. Please add focused regressions for those cases so we do not reintroduce replacing the file with sed --help output or failing valid early-exit scripts based on file size.
|
📊 Cloud Performance Report ✅ AI verdict: This PR only adds a new sed command to the clickhouse-disks command-line utility (plus docs and tests); it touches nothing in the server's query-execution path. The single flagged item, a -7.95% improvement on tpch_adapted_1_official Q4, cannot plausibly come from this change, so it is downgraded to not-sure as run-to-run variance. No real performance impact expected from this PR. clickbench🟢 No significant changes tpch_adapted_1_officialFlagged queries (1 of 22)
q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on. Debug info
|
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 59/72 (81.94%) | Lost baseline coverage: none · Uncovered code |
Add sed command to clickhouse-disks
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add sed command to clickhouse-disks. It applies a sed expression to a given path, in-place.
Version info
26.6.1.1146