Skip to content

test: delete empty KNOWN_KA4_VIOLATIONS scaffold (Fixes #154) - #180

Open
christian-byrne wants to merge 1 commit into
mainfrom
rush/cmp-154-delete-empty-ka4-scaffold
Open

christian-byrne wants to merge 1 commit into
mainfrom
rush/cmp-154-delete-empty-ka4-scaffold

Conversation

@christian-byrne

@christian-byrne christian-byrne commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #154.

Test-file-only change in test/ka4-rejection-byte-identity.test.ts:

  • Remove the empty KNOWN_KA4_VIOLATIONS placeholder constant, its future-facing rationale comment, and the sole assertion that checked .length === 0 (tautological — it only ever re-stated the constant's initializer).
  • Reword the two historical comments that referenced the placeholder so the identifier is fully gone from test/.
  • Leave the CASES table and its kinds-completeness checks untouched, per the issue.

Verification (fresh clone at 4165c4f + this commit):

  • npx vitest run test/ka4-rejection-byte-identity.test.ts → 40/40 pass.
  • rg -n "KNOWN_KA4_VIOLATIONS" test/ → no matches.

Assignee per quiet-week rules: christian-byrne only.

Summary by CodeRabbit

  • Tests
    • Updated KA-4 rejection test documentation to reflect that issue #10 violations are handled as ordinary cases.
    • Removed obsolete assertions related to an empty known-violations list.

The placeholder has been empty since #34 landed; the only assertion it
supported checked zero length (tautological). Keep the CASES table and
its kinds-completeness checks untouched.
@christian-byrne christian-byrne self-assigned this Sep 4, 2026
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Team

Run ID: cc176d92-c288-41dd-8451-6ede983f0f87

📥 Commits

Reviewing files that changed from the base of the PR and between 4165c4f and 1d5504c.

📒 Files selected for processing (1)
  • test/ka4-rejection-byte-identity.test.ts

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.


📝 Walkthrough

Walkthrough

The KA-4 rejection test now documents issue #10 rows as part of CASES. It removes the empty KNOWN_KA4_VIOLATIONS declaration, its explanatory comment, and its empty-state assertion.

Changes

KA-4 test cleanup

Layer / File(s) Summary
Update CASES documentation and remove obsolete scaffold
test/ka4-rejection-byte-identity.test.ts
The test documents migrated issue #10 rows in CASES and removes the unused known-violations placeholder and assertion.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 1d550

This cleanup removes obsolete KA-4 test scaffolding without changing rejection coverage or runtime behavior. No merge-blocking risk remains.

Suggested reviewers: skishore23

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the deletion of the empty KNOWN_KA4_VIOLATIONS scaffold and references issue #154.
Linked Issues check ✅ Passed The changes satisfy issue #154. They remove the empty KNOWN_KA4_VIOLATIONS constant, its future-facing comment, and its tautological assertion while preserving the CASES table and completeness checks.
Out of Scope Changes check ✅ Passed The changes remain within scope. They only remove the obsolete scaffold and update related comments in the specified test file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rush/cmp-154-delete-empty-ka4-scaffold

Comment @coderabbitai help to get the list of available commands.

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.

Delete the empty KNOWN_KA4_VIOLATIONS test scaffold

1 participant