Skip to content

Test downloader canonical feed handling#31

Merged
ktsaou merged 1 commit into
mainfrom
quality-downloader-canonical-coverage
Jun 4, 2026
Merged

Test downloader canonical feed handling#31
ktsaou merged 1 commit into
mainfrom
quality-downloader-canonical-coverage

Conversation

@ktsaou

@ktsaou ktsaou commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

  • add behavior tests for downloader canonical parse, render, and prepare paths
  • cover sanitizer handling for BOM, CRLF, blank lines, 0.0.0.0, and /0 inputs
  • raise pkg/downloader coverage by covering canonical.go without production changes

Validation

  • go test ./pkg/downloader
  • go test -coverprofile=/tmp/update-ipsets-downloader-slice27.cover -covermode=atomic ./pkg/downloader
  • go run ./tools/archposture -root . > /tmp/update-ipsets-archposture-slice27.json
  • make lint
  • make staticcheck
  • make golangci-lint
  • CI=true make coverage
  • make test-strict
  • git diff --check

@ktsaou ktsaou enabled auto-merge June 4, 2026 03:28
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 40 complexity · 2 duplication

Metric Results
Complexity 40
Duplication 2

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@ktsaou ktsaou merged commit dec6b93 into main Jun 4, 2026
13 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