Skip to content

removed old code - #1850

Merged
SFJohnson24 merged 2 commits into
mainfrom
old_actions_code
Sep 8, 2026
Merged

removed old code#1850
SFJohnson24 merged 2 commits into
mainfrom
old_actions_code

Conversation

@SFJohnson24

Copy link
Copy Markdown
Collaborator

This PR removes 2 pieces of dead code in actions so as to prevent confusion with end users that these are maintained, valid actions.

@OGarcia11 OGarcia11 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagging a couple of things before this merges — see inline comment.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing generate_record_message and generate_single_error still leaves references to them in the test suite, which is why the test check is currently failing:

  • tests/unit/test_rules_engine.py still asserts on generate_record_message_metadata and generate_single_error_metadata in the actions schema.
  • tests/unit/test_utilities/test_rule_processor.py still has a test case built around generate_record_message.

If these are truly dead/unmaintained actions, we'll need to update or remove those tests as part of this PR. But it's also worth double-checking there's no rule content elsewhere (e.g. in cdisc-open-rules) still invoking these actions by name — deleting an action that's still referenced by a published rule would break that rule at runtime, not just in tests.

@SFJohnson24
SFJohnson24 merged commit f26422c into main Sep 8, 2026
12 of 13 checks passed
@SFJohnson24
SFJohnson24 deleted the old_actions_code branch September 8, 2026 18:28
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.

execute_rule: triggered rules crash with stock PyPI deps (business_rules_enhanced passes results=; COREActions expects record-wise iteration)

3 participants