Skip to content

Fix test suite: remove goflow, fix bench fixtures, enable full CI - #18

Merged
Zeerg merged 3 commits into
mainfrom
fix/test-cleanup
Feb 23, 2026
Merged

Fix test suite: remove goflow, fix bench fixtures, enable full CI#18
Zeerg merged 3 commits into
mainfrom
fix/test-cleanup

Conversation

@Zeerg

@Zeerg Zeerg commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove redundant goflow package — astflow handles all Go taint analysis; goflow re-parsed files unnecessarily and produced duplicate findings ignored by Layer 4
  • Fix 31 bench fixture headers — stale GTSS- prefixes from the rename left Expected: headers mismatched; updated all to BATOU- with verified actual detections
  • Remove CI -skip flag — all previously-skipped tests now pass, CI runs the full suite

Root Causes

  1. goflow: Redundant engine registered alongside astflow. Both ran on every Go file, but goflow's results were deduped away and never used by the call graph. Removing it eliminates unnecessary re-parsing.

  2. Bench fixtures: The GTSS→Batou rename (ae8dfd8) updated 427 source files but skipped fixture file headers. The test engine's filename-inference fallback masked some failures, but 12 fixtures failed outright.

  3. CI skip list: Added as a workaround for the above. No longer needed.

Test plan

  • make test — 2440/2440 tests pass, zero failures
  • go build ./... — compiles clean
  • TestDetectionBench — 43/43 fixtures pass (was 31/43)
  • goflow tests removed (engine deleted)
  • CI runs full suite on this PR

🤖 Generated with Claude Code

Zeerg and others added 3 commits February 23, 2026 10:23
…ull CI

- Remove goflow package (redundant with astflow, re-parsed files unnecessarily)
- Fix 31 bench fixture headers: rename stale GTSS- prefixes to BATOU-
  and update expected rule IDs to match actual detections
- Remove -skip flag from CI workflow so all 2440 tests run
- Full test suite passes with zero failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Zeerg
Zeerg merged commit 56cd08f into main Feb 23, 2026
3 checks passed
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