Repository navigation
Disable the SC2329 false positive in test/localtest.sh - #491
Conversation
The newer shellcheck on the CI runner reports SC2329 for the curl() override, so all PRs to main fail. The function is exported with export -f and the install script calls it as a child process, so the warning is a false positive. SC2317 is already disabled for the same reason. Environment: Datadog workspace
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What does this PR do?
Adds
SC2329to the existing# shellcheck disable=SC2317comment on thecurl()override intest/localtest.sh.Motivation
The newer shellcheck on the CI runner reports SC2329 ("This function is never invoked") for this function, so the shellcheck job fails on all PRs to
main. The warning is a false positive. Line 80 runsexport -f curl, and the install script (/tmp/script.sh, line 89) calls the override as a child process. SC2317 is already disabled for the same reason.PR #488 has the same line. The two changes are identical, so they do not conflict.