Skip to content

fix(operator): Let capture_shell_output and the Vector shutdown trap share one EXIT trap - #1345

Open
lfrancke wants to merge 1 commit into
mainfrom
fix/shared-exit-hook
Open

lfrancke wants to merge 1 commit into
mainfrom
fix/shared-exit-hook

Conversation

@lfrancke

@lfrancke lfrancke commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Description

This is a followup for #1265 and #1336 - because both introduced an EXIT trap but if someone actually registered both things would not work as intended. So this PR is a followup that introduces one shared hook that both traps hook into so everything is run on EXIT in the correct order.

I ran the logging tests for zookeeper, airflow, spark, trino, hdfs, nifi and OPA.

I flagged everyone involved in the original PRs. It probably makes sense for one of you to review this.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added

@lfrancke
lfrancke marked this pull request as ready for review December 2, 2026 06:35
@lfrancke lfrancke self-assigned this Dec 2, 2026
@lfrancke lfrancke moved this to Development: Waiting for Review in Stackable Engineering Dec 2, 2026

This branch has not been deployed

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

Labels

None yet

Projects

Status: Development: Waiting for Review

Development

Successfully merging this pull request may close these issues.

1 participant