Skip to content

Sync two test files that never reached the publishing repo - #32

Merged
n1ckyb merged 1 commit into
release/v0.0.2-rcfrom
sync/missing-test-files
Aug 10, 2026
Merged

Sync two test files that never reached the publishing repo#32
n1ckyb merged 1 commit into
release/v0.0.2-rcfrom
sync/missing-test-files

Conversation

@n1ckyb

@n1ckyb n1ckyb commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Two test files exist in the monorepo and have never run in this repo's CI.

test_rename_does_not_hide_behaviour.py — 3 tests

The acceptance tests for intentumdiff-core#18: a rename that also changed the body was collapsed into a single REFACTORING, discarding the behavioural change and telling the reviewer nothing had changed.

That is the worst output this engine can produce — and the guard against it has never executed in the repo that publishes the wheel.

test_live_server_asset_diff.py — 13 tests

Covers the live-server asset_diff op.

Gates checked before syncing

A test that lands before its production code arrives red and gets blamed on the test. Both were verified first:

Gate Result
carries_entity_name in core's draft_suppressors.rs present
asset_diff in this branch's live_server.py 5 references
early_exit_count on NodeFacts absent

Deliberately held back

test_uast_structural_facts.py is not in this PR. Its 4 tests need the early_exit_count / negated_condition_count / has_guard_clause fields, which are still only on the unmerged fix/uast-facts-cross-boundary branch (#26). Landing them now would put 4 red tests on the release branch. They follow once that merges.

Verification note

These cannot be validated from a bare clone — running them locally raises PluginNotFoundError('unknown') because parser components are not staged outside CI, the condition tracked as #22. CI is the verification here, which is the standing model: the monorepo has no CI at all.

How this was found

By auditing why this repo's CI collects 84 fewer tests than the monorepo. 89 tests never run here: 65 hidden by a conditional collect_ignore, 24 never synced. This PR closes 16 of the 24.

🤖 Generated with Claude Code

Both exist in the monorepo and have NEVER run in this repo's CI.

## test_rename_does_not_hide_behaviour.py (3 tests)

The acceptance tests for intentumdiff-core#18: a rename that also changed the
body was collapsed into a single REFACTORING, discarding the behavioural change
and telling the reviewer nothing had changed. That is the worst output this
engine can produce, and the guard against it has never executed here.

Gated on the engine fix, which is verified present on core's RC
(`carries_entity_name` in draft_suppressors.rs) before syncing - landing the test
first would have arrived red.

## test_live_server_asset_diff.py (13 tests)

Covers the live-server asset_diff op. Verified the op exists on this branch
(5 references in live_server.py) before syncing, same reason.

## Held back deliberately

test_uast_structural_facts.py is NOT in this commit. Its 4 tests need the
early_exit_count / negated_condition_count / has_guard_clause fields on NodeFacts,
which are still only on the unmerged fix/uast-facts-cross-boundary branch. Landing
them now would put 4 red tests on the release branch. They follow once #26 merges.

## Verification note

These cannot be validated from a bare clone: running them here raises
PluginNotFoundError('unknown') because parser components are not staged outside
CI - the condition tracked as #22. CI is the verification, which is the standing
model for this repo (the monorepo has no CI at all).

Found by auditing why the CI suite collects 84 fewer tests than the monorepo.

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53915c9d26

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".



def _kinds(old: str, new: str) -> list[str]:
diff = SemanticDiffer().diff_strings(old, new, "billing.py")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Exclude this parser test from tokenless CI

When SPLIT_REPO_TOKEN is unavailable on Dependabot or fork PRs, .github/workflows/ci.yml lines 66-75 deliberately skip parser-component provisioning, but lines 92-104 still collect this module; the unconditional billing.py diff then raises PluginNotFoundError('unknown') instead of running the assertions, making the newly introduced test fail the reduced CI lane. Deselect this module there or skip it with an already-classified staging reason when the Python parser is unavailable.

AGENTS.md reference: AGENTS.md:L7-L8

Useful? React with 👍 / 👎.

@n1ckyb
n1ckyb merged commit 55074c2 into release/v0.0.2-rc Aug 10, 2026
1 check passed
@n1ckyb
n1ckyb deleted the sync/missing-test-files branch August 10, 2026 07:27
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