Skip to content

Do not hang job-level instrumentation in only_job mode (#4858) - #4862

Open
plengauer wants to merge 1 commit into
release/v5.68from
backport/40a713d9b1c9fbd6b15d3cde628b4c77bef5d5ad
Open

plengauer wants to merge 1 commit into
release/v5.68from
backport/40a713d9b1c9fbd6b15d3cde628b4c77bef5d5ad

Conversation

@plengauer

Copy link
Copy Markdown
Owner

Automated backport of commit 40a713d

Co-authored-by: Philipp Lengauer <100447901+plengauer@users.noreply.github.com>
@plengauer
plengauer requested a review from moflwi as a code owner December 4, 2026 12:37
@plengauer
plengauer enabled auto-merge (squash) December 4, 2026 12:38
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ BASH shellcheck 1 0 0 3.84s
⚠️ BASH shfmt 1 1 0 0.03s
✅ COPYPASTE jscpd yes no no 1.84s
✅ REPOSITORY betterleaks yes no no 10.92s
✅ REPOSITORY checkov yes no no 24.05s
✅ REPOSITORY dustilock yes no no 9.89s
✅ REPOSITORY git_diff yes no no 0.3s
⚠️ REPOSITORY grype yes no 1 96.71s
✅ REPOSITORY kingfisher yes no no 9.07s
✅ REPOSITORY osv-scanner yes no no 21.15s
✅ REPOSITORY secretlint yes no no 3.48s
✅ REPOSITORY syft yes no no 5.46s
✅ REPOSITORY trivy yes no no 13.39s
✅ REPOSITORY trivy-sbom yes no no 0.47s
✅ REPOSITORY trufflehog yes no no 4.22s

Detailed Issues

⚠️ REPOSITORY / grype - 1 warning
warning: A medium vulnerability in github-action package: anthropics/claude-code-action, version v1 was found at: /.github/workflows/claude.yml

warning: 1 warnings emitted
⚠️ BASH / shfmt - 1 error
diff actions/instrument/job/inject_and_init.sh.orig actions/instrument/job/inject_and_init.sh
--- actions/instrument/job/inject_and_init.sh.orig
+++ actions/instrument/job/inject_and_init.sh
@@ -18,7 +18,7 @@
   }
   export -f only_job_run
   # shellcheck disable=SC2016 # the expressions are expanded by the inner shell
-  ( nohup setsid bash -c 'echo "only_job_pid=$$" >>"$GITHUB_STATE"; trap "only_job_run &>/tmp/opentelemetry_shell.github.only_job.log; echo \$? >/tmp/opentelemetry_shell.github.only_job.exit_code; exit 0" SIGUSR1; while true; do sleep 1; done' &>/dev/null & )
+  (nohup setsid bash -c 'echo "only_job_pid=$$" >>"$GITHUB_STATE"; trap "only_job_run &>/tmp/opentelemetry_shell.github.only_job.log; echo \$? >/tmp/opentelemetry_shell.github.only_job.exit_code; exit 0" SIGUSR1; while true; do sleep 1; done' &>/dev/null &)
 fi
 
 if [ "${ASYNC_INIT:-FALSE}" = TRUE ]; then

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

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.

1 participant