Skip to content

Conversation

@carlos-gn
Copy link
Contributor

Summary

When running a workload in detached mode with debug enabled, the debug flag was not being passed to the spawned restart command. This meant debug logging was lost after the handoff to the detached process.

Fixes: #2938 (comment)

  When running a workload in detached mode with debug enabled, the debug
  flag was not being passed to the spawned restart command. This meant
  debug logging was lost after the handoff to the detached process.

Signed-off-by: carlos <21148423+carlos-gn@users.noreply.github.com>
@github-actions github-actions bot added the size/XS Extra small PR: < 100 lines changed label Dec 10, 2025
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.17%. Comparing base (9248f70) to head (fc3b43e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/workloads/manager.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2992      +/-   ##
==========================================
- Coverage   56.18%   56.17%   -0.01%     
==========================================
  Files         330      330              
  Lines       32455    32457       +2     
==========================================
  Hits        18234    18234              
- Misses      12673    12674       +1     
- Partials     1548     1549       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Dec 11, 2025
@github-actions github-actions bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Dec 11, 2025
@eleftherias eleftherias merged commit 2d952ec into stacklok:main Dec 11, 2025
31 checks passed
@eleftherias
Copy link
Member

Thanks @carlos-gn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug logs are not shown when running server in background

2 participants