Skip to content

Quick Bugfix#101

Merged
fritz-astronomer merged 3 commits intomainfrom
bugfix
Oct 31, 2025
Merged

Quick Bugfix#101
fritz-astronomer merged 3 commits intomainfrom
bugfix

Conversation

@fritz-astronomer
Copy link
Contributor

  • fix: add back *args for rules
  • test/fix: path is now relative

@fritz-astronomer fritz-astronomer self-assigned this Oct 31, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes two issues: restores support for positional arguments in rules and updates a test assertion to use a relative path instead of an absolute path.

  • Adds *args support to the Rule.__call__ method and properly tracks visited keys for positional arguments
  • Updates integration test to expect relative path format (workflow/demo.xml) instead of absolute path (/data/workflow/demo.xml)

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
orbiter/rules/init.py Adds *args parameter to Rule.__call__, implements tracking for positional arguments, and includes them in visited keys collection
tests/integration_test.py Updates assertion to check for relative path format in translation output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.32%. Comparing base (b3ee237) to head (f5ba468).
⚠️ Report is 60 commits behind head on main.

Files with missing lines Patch % Lines
tests/integration_test.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   78.92%   82.32%   +3.39%     
==========================================
  Files          35       51      +16     
  Lines        1362     1890     +528     
==========================================
+ Hits         1075     1556     +481     
- Misses        287      334      +47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fritz-astronomer fritz-astronomer merged commit ece263c into main Oct 31, 2025
8 checks passed
@fritz-astronomer fritz-astronomer deleted the bugfix branch October 31, 2025 20:58
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.

3 participants