Skip to content
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

Fix tool exit order #2662

Merged
merged 4 commits into from
Dec 4, 2024
Merged

Fix tool exit order #2662

merged 4 commits into from
Dec 4, 2024

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Nov 28, 2024

We now finish_activity only after the _exit_stack has finished to ensure the finalization of the Components of a Tool happens during the activity.

@maxnoe maxnoe requested review from mexanick and kosack November 28, 2024 14:16
@maxnoe maxnoe force-pushed the fix_tool_exit_order branch from 5be6b0e to 37a24c3 Compare November 28, 2024 14:19
@maxnoe maxnoe linked an issue Nov 28, 2024 that may be closed by this pull request

This comment has been minimized.

@maxnoe maxnoe added this to the v0.23.1 milestone Nov 28, 2024
mexanick
mexanick previously approved these changes Dec 2, 2024
@maxnoe maxnoe marked this pull request as draft December 2, 2024 16:57
@maxnoe maxnoe requested a review from mexanick December 2, 2024 17:39
@maxnoe maxnoe marked this pull request as ready for review December 2, 2024 17:39
@maxnoe maxnoe force-pushed the fix_tool_exit_order branch 2 times, most recently from d4af92b to 8e1d89c Compare December 3, 2024 14:59
@maxnoe maxnoe force-pushed the fix_tool_exit_order branch from 8e1d89c to a287f07 Compare December 3, 2024 18:00
@maxnoe maxnoe requested a review from Tobychev December 3, 2024 18:02

This comment has been minimized.

1 similar comment

This comment has been minimized.

@maxnoe
Copy link
Member Author

maxnoe commented Dec 4, 2024

@mexanick could you re-approve?

This comment has been minimized.

1 similar comment
Copy link

Passed

Analysis Details

1 Issue

  • Bug 0 Bugs
  • Vulnerability 1 Vulnerability
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 95.70% Coverage (94.00% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.70% Estimated after merge)

Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs

View in SonarQube

@maxnoe maxnoe merged commit ee0a356 into main Dec 4, 2024
13 checks passed
@maxnoe maxnoe deleted the fix_tool_exit_order branch December 4, 2024 11:04
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.

Wrong order of provenance and finishing activitities in Tool
4 participants