Skip to content

test(order): drop the ITL-1363 expected-failure mark now that the fix is on main - #499

Merged
eywalker merged 1 commit into
mainfrom
eywalker/itl-1365-drop-the-itl-1363-xfail-marks
Nov 23, 2026
Merged

eywalker merged 1 commit into
mainfrom
eywalker/itl-1365-drop-the-itl-1363-xfail-marks

Conversation

@eywalker

@eywalker eywalker commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Mentions ITL-1363, ITL-1365. Test-only change.

tests/test_core/test_tag_schema_order.py (added by #486, ITL-1365) marked MapTags(drop_unmapped=True) as a strict expected failure for ITL-1363, to be removed once #484 was on main. Both PRs are now merged. The 8 marked cases pass, and strict XPASS fails main's test job (8 failed, 107 passed). This PR removes the mark, its use and its comment.

Every other mention of ITL-1363 or ITL-1365 under tests/ describes a resolved fix. None is a mark, a KNOWN_VIOLATIONS entry or a comment that treats either issue as open:

  • test_zero_row_column_order.py: the drop_unmapped steps comment
  • test_mapper_schema_prediction.py: the module docstring
  • the two test_several_items.py files: their comments

Checks:

  • uv run pytest tests/test_core/test_tag_schema_order.py tests/test_core/operators/test_mapper_schema_prediction.py tests/test_core/test_order_invariance.py gives 351 passed, 14 skipped and 6 xfailed. The 6 are other issues' marks in test_order_invariance.py.
  • ruff check and ruff format are clean.
  • scripts/assemble_changelog.py --check passes, so there is no changelog fragment.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Tests
    • Updated operator prediction coverage to include tag-dropping cases in the standard prediction and result-order checks.

… is on main

PR 484 (ITL-1363) and PR 486 (ITL-1365) are both merged, so the strict
xfail on MapTags(drop_unmapped=True) in test_tag_schema_order.py XPASSes
and fails main's test job. Remove the mark, its uses and its comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The operator prediction test no longer marks map_tags_drop as an expected failure. It now runs with the other operators under the existing assertions.

Changes: Tag schema prediction tests

Layer / File(s) Summary
Run all operator prediction cases
tests/test_core/test_tag_schema_order.py
The test parameterizes operator names directly from OPERATORS. The map_tags_drop case now uses the existing prediction and result-order assertions.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Possibly related PRs

  • metamorphic-labs/orcapod-python#484: Changes MapTags(drop_unmapped=True) schema prediction to preserve system-tag columns; this PR removes the expected-failure marker for the related test case.
Merge Risk: Minimal · up to 2a315

This change removes an obsolete expected-failure marker from a test now that the underlying fixes have merged. It does not affect production behavior and is ready to merge.

Security architecture risk: Minimal · up to 2a315

This change makes an existing regression test mandatory rather than an expected failure. No production behavior or security-control change is described.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: removing the ITL-1363 expected-failure mark from the order test. The raw summary confirms the test file no longer marks map_tags_drop cases as expected failures, so the tit…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: removing the ITL-1363 expected-failure mark from the order test. The raw summary confirms the test file no longer marks map_tags_drop cases as expected failures, so the title matches the main change. It is specific and concise. The 'test(order):' prefix is a conventional-commit style scope, which is acceptable.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fc1df42 and 2a315df.

Files selected for processing: 1

  • tests/test_core/test_tag_schema_order.py

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Recent review details

Context from checks skipped due to timeout: 7

  • GitHub Check: Tests (3.13)
  • GitHub Check: CodeRabbit
  • GitHub Check: Ruff and basedpyright
  • GitHub Check: Specification tests (3.13)
  • GitHub Check: PostgreSQL tests (3.11)
  • GitHub Check: PostgreSQL tests (3.13)
  • GitHub Check: PostgreSQL tests (3.12)
Additional context used

Code guidelines: 1

CLAUDE.md — auto-discovered
Path-based instructions: 1

Source excerpt: Documents written during development are kept in the repository, under `docs/dev/` (developer, November 16, 2026; ITL-1169): Never put them in the published documentation (`docs/` outside `docs/dev/`) or at the top level of...

CodeRabbit inference engine (CLAUDE.md)

Files:

  • tests/test_core/test_tag_schema_order.py
Additional comments: 1

tests/test_core/test_tag_schema_order.py: 1

145-145: LGTM!

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 203 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eywalker
eywalker merged commit 4d192bf into main Nov 23, 2026
16 checks passed
eywalker added a commit that referenced this pull request Nov 23, 2026
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.

1 participant