-
-
Notifications
You must be signed in to change notification settings - Fork 3
feat: run containerdebug in the background #557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- tests/templates/kuttl/smoke/40-assert.yaml.j2: Language not supported
| command.extend(Self::authentication_start_commands(auth_config)); | ||
| command.extend(vec![ | ||
| "prepare_signal_handlers".to_string(), | ||
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), |
Copilot
AI
Apr 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format! macro is used with placeholders like {STACKABLE_LOG_DIR} but no arguments are provided. If you intend for these to be literal curly braces, consider escaping them by using double braces (e.g. "{{STACKABLE_LOG_DIR}}") or supply the required variables.
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), | |
| format!("CONTAINERDEBUG_LOG_DIRECTORY={{STACKABLE_LOG_DIR}}/containerdebug containerdebug --output={{STACKABLE_LOG_DIR}}/containerdebug-state.json --loop &"), |
| --role \"Admin\"" | ||
| .to_string(), | ||
| "prepare_signal_handlers".to_string(), | ||
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), |
Copilot
AI
Apr 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format! macro is used with placeholders like {STACKABLE_LOG_DIR} but no arguments are provided. If these braces are intended to be literal, escape them by using double braces (e.g. "{{STACKABLE_LOG_DIR}}") or provide the proper values.
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), | |
| format!("CONTAINERDEBUG_LOG_DIRECTORY={{STACKABLE_LOG_DIR}}/containerdebug containerdebug --output={{STACKABLE_LOG_DIR}}/containerdebug-state.json --loop &"), |
| ]), | ||
| AirflowRole::Worker => command.extend(vec![ | ||
| "prepare_signal_handlers".to_string(), | ||
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), |
Copilot
AI
Apr 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format! macro is used with placeholders like {STACKABLE_LOG_DIR} but no corresponding arguments are provided. Either escape the curly braces if literal output is intended, or pass the needed variable values.
| format!("CONTAINERDEBUG_LOG_DIRECTORY={STACKABLE_LOG_DIR}/containerdebug containerdebug --output={STACKABLE_LOG_DIR}/containerdebug-state.json --loop &"), | |
| format!("CONTAINERDEBUG_LOG_DIRECTORY={}/containerdebug containerdebug --output={}/containerdebug-state.json --loop &", STACKABLE_LOG_DIR, STACKABLE_LOG_DIR), |
|
Apologies for the noise. Wanted to see what copilot would do (see slack thread) |
Description
Part of: stackabletech/issues#527
Definition of Done Checklist