Skip to content

Conversation

@p-datadog
Copy link
Member

What does this PR do?

Fixes quoting in the rake command

Motivation:
[ and ] are special characters in the shell, zsh by default does not interpret them verbatim and uses them to glob. The result is that printed command cannot be pasted directly into zsh.

Change log entry
None

Additional Notes:

There is existing quoting for the space between arguments which is doubly annoying - those quotes have to be deleted when pasting the command into zsh since they interfere with the quoting around [ and ] (or the brackets have to be individually quoted, which requires adding 4 quotes total).

How to test the change?

Existing CI

@p-datadog p-datadog requested a review from a team as a code owner December 19, 2025 22:39
@pr-commenter
Copy link

pr-commenter bot commented Dec 19, 2025

Benchmarks

Benchmark execution time: 2025-12-19 22:53:56

Comparing candidate commit 80b4e07 in PR branch fix-quoting with baseline commit 2cb8be7 in branch master.

Found 1 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 2 unstable metrics.

scenario:profiling - intern mixed existing and new

  • 🟩 throughput [+1.482op/s; +2.608op/s] or [+5.045%; +8.880%]

@datadog-official
Copy link

datadog-official bot commented Dec 19, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 100.00%
Overall Coverage: 95.27% (-0.00%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 80b4e07 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@p-datadog p-datadog merged commit 1e2e08b into master Dec 22, 2025
610 checks passed
@p-datadog p-datadog deleted the fix-quoting branch December 22, 2025 17:04
@github-actions github-actions bot added this to the 2.24.0 milestone Dec 22, 2025
p-datadog pushed a commit that referenced this pull request Dec 22, 2025
* worker-shutdown-race:
  standard
  standard
  exclude JRuby 10 JIT threads from thread leaker reporting
  Exclude JRuby file descriptors from leak reporting
  DEBUG-4548 Fix global state dependency in crashtracking and process discovery tests (#5175)
  fix quoting in rake command (#5177)
  Update system tests (incl. `bin/rails` fix for 2.6)
  Update system tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants