Skip to content

Focus contamination warn on PLC potential#62

Merged
dacharyc merged 1 commit intomainfrom
reduce-contamination-warnings
Apr 10, 2026
Merged

Focus contamination warn on PLC potential#62
dacharyc merged 1 commit intomainfrom
reduce-contamination-warnings

Conversation

@dacharyc
Copy link
Copy Markdown
Member

@dacharyc dacharyc commented Apr 10, 2026

What this PR does

As reported in #60 , we're currently warning on contamination even for cases where there are only auxiliary languages. This is unnecessarily noisy; the contamination check is intended to flag application programming languages for PLC risk. There is no research to support similar concerns exist for config languages or shell.

With these changes, the contamination check should now only fire when multiple application languages are detected.

How to test

New tests in:

  • contamination/contamination_test.go
  • orchestrate/orchestrate_test.go

And a new test fixture that contains only auxiliary languages to confirm correct behavior.

Checklist

  • Tests pass locally (go test -race ./... -count=1)
  • Lint passes locally (golangci-lint run)
  • New functionality includes tests
  • Breaking changes are noted above (if any)

@dacharyc dacharyc merged commit 935f2bf into main Apr 10, 2026
2 checks passed
@dacharyc dacharyc deleted the reduce-contamination-warnings branch April 10, 2026 22:45
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