Skip to content

Keep node test definitions alive#399

Merged
marcosbento merged 1 commit into
developfrom
fix/correct_defs_lifetime
Jul 24, 2026
Merged

Keep node test definitions alive#399
marcosbento merged 1 commit into
developfrom
fix/correct_defs_lifetime

Conversation

@marcosbento

@marcosbento marcosbento commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Description

See commit message.

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

🌦️ >> Documentation << 🌦️
https://sites.ecmwf.int/docs/dev-section/ecflow/pull-requests/PR-399

Retain the Defs object for the fixture lifetime to prevent dangling parent
references and segmentation faults during generated-variable lookup.

Re ECFLOW-2110
@marcosbento
marcosbento force-pushed the fix/correct_defs_lifetime branch from 268faaf to 1045714 Compare July 24, 2026 09:05
@marcosbento
marcosbento merged commit 1045714 into develop Jul 24, 2026
138 checks passed
@marcosbento
marcosbento deleted the fix/correct_defs_lifetime branch July 24, 2026 09:28
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.10%. Comparing base (2420c7a) to head (1045714).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #399      +/-   ##
===========================================
+ Coverage    52.08%   52.10%   +0.01%     
===========================================
  Files         1248     1248              
  Lines       101827   101827              
  Branches     15156    15155       -1     
===========================================
+ Hits         53040    53053      +13     
+ Misses       48787    48774      -13     

☔ View full report in Codecov by Harness.
📢 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.

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.

2 participants